joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467578
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x46758a
add esp, 0xfffffff0
call fcn.0040359c
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00424c48
mov eax, dword [0x4b14ec]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x467ae8
mov eax, dword [0x4b14fc]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x467b08
mov eax, dword [ebp - 4]
call fcn.00467b28
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41aa64]
call fcn.00403248
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41aa64]
call fcn.00403248
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x41aa64]
call fcn.00403248
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x41aa64]
call fcn.00403248
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x41aa64]
call fcn.00403248
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x462f38
push eax
push 0
push 0
mov eax, dword [0x4b1708]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426e58]
call fcn.00428780
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x426e58]
call fcn.00428780
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x426e58]
call fcn.00428780
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.00468074
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x467ec0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x467ec0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x467ec0
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x467712
call fcn.004035f4
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x467c78
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x467e43
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x467e21
mov dl, 1
mov eax, dword [0x41b0c8]
call fcn.00403248
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404050
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x467e0a
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.004521f0
test al, al
je 0x467dfe
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x467e54
lea eax, [ebp - 0x25c]
call fcn.0040999c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x467dfe
xor eax, eax
push ebp
push 0x467df7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x467e8c
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x467de0
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.004042c0
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x467de0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.004042c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467dfe
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x467ced
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.004204e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467e4a
lea eax, [ebp - 0x268]
call fcn.00404050
ret
Function at 0x46897c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4b2bec]
cmp byte [eax + 0xa5], 0
jne 0x4689f3
cmp dword [0x4b2c04], 0
jne 0x4689b1
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x468938
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b2c04], eax
cmp dword [0x4b2c00], 0
jne 0x4689cc
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b2c00], eax
cmp dword [0x4b2c08], 0
jne 0x4689f3
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4688d8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4b2c08], eax
pop ecx
pop ebp
ret

Function at 0x468abc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.00468a54
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x468add
xor eax, eax
call fcn.00468a8c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x468af7
mov al, 1
call fcn.00468a8c
mov esp, ebp
pop ebp
ret

Function at 0x4691bc
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x4b2bec]
cmp dword [eax + 0x30], 0
je 0x469286
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x46927d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x46913c
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x46927d
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x469237
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x46927d
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.0041d4b4
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x46924c
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x469fa0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x469fe5
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00404140
jmp 0x469ff6
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.004040a4
mov esp, ebp
pop ebp
ret
Function at 0x46b208
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x46b25b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0044c6a4
test al, al
je 0x46b25b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0044c1d4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46b25b
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0044c1d4
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x49148b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4b0dfa
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4914e3
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4b0e1b
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4914d9
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4914e7
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4a10dc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, ecx
cmp dx, 1
jne 0x4a1109
call sub.kernel32.dll_GetTickCount
mov ebx, eax
jmp 0x4a10fb
mov eax, dword [0x4b17c8]
mov eax, dword [eax]
call fcn.0046a348
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, esi
jb 0x4a10ef
pop esi
pop ebx
ret
mov al, byte [0x4b2de8]
sub al, 1
jb 0x4a1120
jne 0x4a114c
push esi
movzx eax, dx
push eax
call sub.kernel32.dll_Beep
jmp 0x4a114c
mov eax, edx
call fcn.004a11f8
call sub.kernel32.dll_GetTickCount
mov ebx, eax
jmp 0x4a113c
mov eax, dword [0x4b17c8]
mov eax, dword [eax]
call fcn.0046a348
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, esi
jb 0x4a1130
call fcn.004a1264
pop esi
pop ebx
ret
Function at 0x4a63f4
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x4b1128]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x4a6430
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x4a6448
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4a6441
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00402c20
xor edx, edx
mov eax, 0x4b1328
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4a64b2
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x4a6466
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x4a66f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4a6709
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4a6702
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4a671b
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4a6714
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004a62e4
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4a6735
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.004a63f4
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4a67ba
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4a67d7
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.004a6374
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4a6800
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a6818
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x4a6831
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4a682a
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x4a6845
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004a61dc
test bl, bl
jne 0x4a6918
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x4b2df8
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4a687c
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4a6890
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004a66f0
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4a68c2
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x4a6871
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4a68e5
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4a68f6
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4a690a
jmp 0x4a69d3
cmp bl, 1
jne 0x4a69d3
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x4b2e52
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4a6938
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4a694c
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004a66f0
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x4a697e
sub ebx, 6
inc dword [ebp - 8]
jne 0x4a692d
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x4a69a5
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x4a69b6
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4a69ca
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004a6260
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x10001050
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
push 0
push 0x40
push 0x3000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.KERNEL32.dll_VirtualAllocExNuma
mov esi, eax
test esi, esi
je 0x1000107e
mov dword [0x1001b044], 0
mov eax, dword [esp + 0xc]
push edi
push eax
push esi
call fcn.10006bf0
add esp, 0xc
pop edi
mov eax, esi
pop esi
ret

Function at 0x10002330
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
cmp dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
mov cl, byte [eax]
mov dl, byte [eax + 1]
mov dword [esp + 4], 0
jle 0x10002455
push ebx
push ebp
push esi
push edi
movzx edi, cl
movzx ebp, dl
lea esp, [esp]
lea eax, [edi + 1]
cdq
mov ecx, 0x202
idiv ecx
mov esi, dword [0x1001c450]
mov ebx, 0x202
movzx edi, dl
movzx eax, byte [edi + esi]
lea ecx, [edi + esi]
add eax, ebp
mov byte [esp + 0x12], dl
cdq
idiv ebx
movzx ebp, dl
lea eax, [esi + ebp]
mov byte [esp + 0x13], dl
call fcn.10001040
mov ecx, dword [0x1001c450]
movzx edx, byte [edi + ecx]
movzx eax, byte [ecx + ebp]
add eax, edx
cdq
mov ecx, ebx
idiv ecx
push 0x100162b5
push 0x1001c4d8
mov byte [esp + 0x19], dl
call fcn.10001ff0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.10002200
mov edx, dword [esi]
mov eax, dword [edx + 4]
add eax, esi
xor ebx, ebx
test byte [eax + 8], 6
jne 0x100023f3
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x100023f3
mov ebx, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test ebx, ebx
je 0x10002414
mov eax, dword [ecx + 8]
or eax, ebx
cmp dword [ecx + 0x28], 0
jne 0x1000240c
or eax, 4
push 0
push eax
call fcn.10001c50
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov esi, dword [0x1001c450]
mov edx, ecx
sub edx, dword [0x1001b044]
inc ecx
add eax, edx
movzx edx, byte [esp + 0x11]
mov dl, byte [edx + esi]
xor byte [eax], dl
cmp ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
jl 0x10002360
mov cl, byte [esp + 0x12]
mov eax, dword [esp + 0x24]
mov dl, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
mov byte [eax + 1], dl
mov byte [eax], cl
add esp, 8
ret
Function at 0x10003da0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 8], ecx
movzx ecx, word [eax + 0x14]
push ebp
xor edx, edx
push esi
push edi
lea ecx, [ecx + eax + 0x18]
mov dword [esp + 0x10], 0
cmp dx, word [eax + 6]
jae 0x10003e84
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea esi, [ecx + 0x10]
lea esp, [esp]
mov eax, dword [esi]
test eax, eax
jne 0x10003e1c
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x38]
test edi, edi
jle 0x10003e66
mov ecx, dword [esi - 4]
push 4
push 0x1000
push edi
add ecx, ebx
push ecx
call ebp
test eax, eax
je 0x10003e93
mov eax, dword [esi - 4]
push edi
add eax, ebx
push 0
push eax
mov dword [esi - 8], eax
call fcn.10003c50
jmp 0x10003e63
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x14]
add edx, eax
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.10003d80
test eax, eax
je 0x10003e93
mov ecx, dword [esi]
mov edx, dword [esi - 4]
push 4
push 0x1000
push ecx
add edx, ebx
push edx
call ebp
test eax, eax
je 0x10003e93
mov ecx, dword [esi + 4]
mov eax, dword [esi]
add ecx, dword [esp + 0x1c]
mov edi, dword [esi - 4]
push eax
add edi, ebx
push ecx
push edi
call fcn.10003c80
mov dword [esi - 8], edi
add esp, 0xc
mov edx, dword [esp + 0x28]
mov ecx, dword [edx]
mov eax, dword [esp + 0x10]
movzx edx, word [ecx + 6]
inc eax
add esi, 0x28
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x10003de0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0x10
Function at 0x10003f80
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
mov ebx, dword [ebp + 0x30]
push esi
mov esi, dword [ebp]
movzx eax, word [esi + 0x14]
push edi
lea edi, [eax + esi + 0x18]
mov eax, dword [edi + 8]
dec ebx
not ebx
push edi
and ebx, eax
push ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
call fcn.10003ea0
mov ecx, dword [edi + 0x24]
mov edx, 1
add edi, 0x28
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], 1
cmp dx, word [esi + 6]
jae 0x10004097
mov esi, dword [ebp + 0x30]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x10]
dec esi
push edi
not esi
push ebp
mov dword [esp + 0x3c], eax
and esi, eax
call fcn.10003ea0
mov dword [esp + 0x18], eax
cmp ebx, esi
je 0x10004047
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
add ecx, edx
cmp ecx, esi
ja 0x10004047
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push ebp
call fcn.10003ed0
test eax, eax
je 0x100040be
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x24]
mov ebx, esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
jmp 0x1000407c
mov ecx, dword [edi + 0x24]
test ecx, 0x2000000
je 0x10004062
test dword [esp + 0x28], 0x2000000
je 0x10004062
or dword [esp + 0x28], ecx
jmp 0x10004070
or ecx, dword [esp + 0x28]
and ecx, 0xfdffffff
mov dword [esp + 0x28], ecx
sub eax, dword [esp + 0x1c]
add eax, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov ecx, dword [ebp]
mov eax, dword [esp + 0x14]
movzx edx, word [ecx + 6]
inc eax
add edi, 0x28
cmp eax, edx
mov dword [esp + 0x14], eax
jl 0x10003fe1
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push ebp
mov dword [esp + 0x34], 1
call fcn.10003ed0
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x20
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 4