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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45b39a
add esp, 0xfffffff0
call fcn.00403c04
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dbe0
mov eax, dword [0x518e00]
mov dword [eax + 4], ebx
mov dword [eax], 0x45b72c
mov eax, dword [0x518e0c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45b738
mov eax, ebx
call fcn.0045b744
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41581c]
call fcn.004038b0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41581c]
call fcn.004038b0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41581c]
call fcn.004038b0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41581c]
call fcn.004038b0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41581c]
call fcn.004038b0
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4571dc
push eax
push 0
push 0
mov eax, dword [0x518f70]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421764]
call fcn.00422fb8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421764]
call fcn.00422fb8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421764]
call fcn.00422fb8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045bb74
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ba44
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ba44
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ba44
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45b4d7
call fcn.00403c5c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45b828
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45b9d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45b9b4
mov dl, 1
mov eax, dword [0x415c40]
call fcn.004038b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040470c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45b9a3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044e7c0
test al, al
je 0x45b996
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45b9e4
lea eax, [ebp - 0x254]
call fcn.00409900
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45b996
xor eax, eax
push ebp
push 0x45b98f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45ba1c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45b978
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040497c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45b978
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040497c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b996
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45b899
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004199a8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b9da
lea eax, [ebp - 0x260]
call fcn.0040470c
ret

Function at 0x45c34c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x51d5ac]
cmp byte [eax + 0xad], 0
jne 0x45c3bd
cmp dword [0x51d5c4], 0
jne 0x45c37e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45c308
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x51d5c4], eax
cmp dword [0x51d5c0], 0
jne 0x45c399
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x51d5c0], eax
cmp dword [0x51d5c8], 0
jne 0x45c3bd
push esp
push 0
push 0
push 0x45c2ac
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x51d5c8], eax
pop edx
ret
Function at 0x45c590
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45c5a7
add esp, 0xfffffff0
call fcn.00403c04
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dbe0
mov eax, dword [0x518f58]
cmp word [eax + 2], 0
jne 0x45c5cf
mov eax, dword [0x518f58]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e040
mov eax, dword [0x519008]
cmp word [eax + 2], 0
jne 0x45c5e9
mov eax, dword [0x519008]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e24c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41581c]
call fcn.004038b0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41581c]
call fcn.004038b0
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41581c]
call fcn.004038b0
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x422274]
call fcn.00429944
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45c7a0
mov eax, dword [0x518e6c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429d18
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45e90c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x518e6c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d12c
test eax, eax
je 0x45c6f0
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004092b8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d160
test eax, eax
je 0x45c704
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040497c
mov byte [ebx + 0xd4], 0
push ebx
push 0x45dba0
call fcn.0041ed5c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x518d44]
cmp byte [eax], 0
jne 0x45c755
mov eax, ebx
call fcn.0045c8e4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045eae8
mov eax, ebx
call fcn.0045f648
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c795
call fcn.00403c5c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45cb64
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x51d5ac]
cmp dword [eax + 0x30], 0
je 0x45cc0e
cmp dword [ebx + 0x94], 0
jne 0x45cc08
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45caf4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45cc08
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45cbce
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45cc08
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417c50
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45cbdd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45d928
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45d95d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004047fc
jmp 0x45d96a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404760
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45eccc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45ed3a
mov eax, esi
call fcn.00449480
test al, al
je 0x45ed3a
mov eax, dword [ebx + 0x84]
call fcn.004490e0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45ed3a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45ed2e
push 0
mov eax, dword [ebx + 0x84]
call fcn.004490e0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00441500
jmp 0x45ed3a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045eb08
pop esi
pop ebx
ret
Function at 0x4602f8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x407540]
call fcn.004051a8
xor eax, eax
push ebp
push 0x460499
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4697e4], 0
jne 0x460353
mov ecx, dword [0x518d54]
mov dl, 1
mov eax, dword [0x4078c0]
call fcn.0040c3a0
call fcn.00404154
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.0040321c
mov eax, ebx
call fcn.00405078
mov dword [ebp - 0x24], eax
mov esi, 0x4604a8
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.004061b8
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405088
test eax, eax
jle 0x46043c
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x460428
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.0040497c
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x4603ce
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404994
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4603e4
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404994
mov eax, dword [ebp - 0x54]
call fcn.00404bd0
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.0040497c
mov eax, dword [ebp - 0x58]
call fcn.00404bd0
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x46042a
xor eax, eax
test al, al
je 0x460435
mov ebx, 0x15
jmp 0x460441
mov ebx, 0x10
jmp 0x460441
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4697e4]
call fcn.0046017c
mov eax, dword [ebp - 4]
call fcn.0046017c
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004061d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4604a0
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404730
lea eax, [ebp - 0xc]
mov edx, dword [0x407540]
call fcn.00405278
ret
Function at 0xcd26ab
Capabilities:
Encode data using xor

Disassembly:
rcl cl, 0
jno 0xcd272f
jo 0xcd2706
mov cx, 0x99b2
jmp 0xcd2733
mov cx, 0x99b2
add ebp, dword [esi]
mov cx, word [esp]
jmp fcn.00cd26b2

Function at 0xd79865
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dword [esp], eax
pushal
xchg word [esp + 0x19], ax
mov eax, 0xb1bb671c
std
jmp 0xd79898
bswap eax
call fcn.00d79865
lea esp, [esp + 1]
mov dword [esp + 2], ebp
mov ah, 0x8a
mov dl, dh
lea eax, [edi + edi]
jmp 0xd798ad
mov dword [esp + 0xc], edx
bts eax, ecx
bswap edx
mov ax, 0x1ab8
sub esp, 0xc
add esp, 0xb
jmp 0xd79882
lea eax, [esi + edi]
rdtsc
xchg bp, ax
cld
cld
rdtsc
jmp 0xd79928
mov word [esp + 1], sp
push word [esp]
sub esp, 0xd
push si
lea esp, [esp + 1]
mov dword [esp + 1], eax
jmp 0xd7987b
inc bp
lea edx, [ecx + ebp]
call fcn.00d798f2
pop dword [esp + 8]
dec ax
mov al, bl
not dl
rdtsc
pop dx
jmp 0xd79986
xchg dx, ax
rdtsc
neg dx
pop bp
rdtsc
xchg byte [esp + 0xf], ah
call fcn.00d79ae3
adc byte [ebx + 0x5489660a], dl
and al, 1
push word [esp + 5]
lea esp, [esp + 2]
lea esp, [esp + 8]
cld
pushfd
jmp 0xd798c4

Function at 0xd798f2
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg byte [esp], al
xchg word [esp], ax
xchg dx, ax
rdtsc
bsf bp, si
jmp 0xd79900
rdtsc
xchg bp, ax
add esp, 2
mov word [esp], sp
jmp 0xd798dc
mov byte [esp], ch
push ecx
xchg dword [esp], edx
bsr bp, bp
mov dx, 0x845
pop word [esp + 1]
jmp 0xd7996d
and edx, 0x94a5ff1c
mov dl, bl
mov ah, dl
xchg byte [esp + 0x15], al
mov dword [esp + 5], esi
mov al, byte [esp + 4]
jmp 0xd79932
bts ax, bx
sub esp, 0x1d
lea ebp, [ecx*4]
mov dword [esp + 0x16], ebp
xchg al, ah
setge dh
jmp 0xd79948

Function at 0xd7a2ea
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp + 1]
jmp 0xd7a284
neg bp
mov word [esp], bx
mov bp, 0xdabd
rdtsc
not eax
call fcn.00d7a25a
mov word [esp + 1], si
mov bp, 0x796b
call 0xd7a294
lodsb al, byte [esi]
mov edi, 0xb6daf766
and al, 0x83
les eax, [ecx]
mov eax, dword [esp + 5]
jmp 0xd7a2d3
bswap ebp
pop bp
lea eax, [ecx + ebp]
push ebp
rdtsc
add esp, 9
jmp 0xd7a270
mov word [esp + 2], di
call 0xd7a2bd
push esi
imul esi, dword [edx + 0x74], 0x416c6175
insb byte es:[edi], dx
insb byte es:[edi], dx
outsd dx, dword [esi]
arpl word [eax], ax
jmp 0xd7a2ae

Function at 0xd7a52d
Capabilities:
Execute anti-debugging instructions

Disassembly:
neg edx
xchg byte [esp + 8], al
mov edx, 0x56c145c1
lea esp, [esp + 1]
jmp 0xd7a54a

Function at 0xd7a6ee
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov byte [esp], dl
rol edx, 0x1a
jmp 0xd7a6fa
push dword [esp + 4]
pop word [esp + 1]
rdtsc
xchg byte [esp + 4], dh
sub esp, 9
sub esp, 2
jmp 0xd7a7a8
xchg dx, ax
pop dword [esp]
push word [esp + 6]
shr ah, cl
add esp, 8
mov al, 0xad
jmp 0xd7a730
xchg dword [esp + 5], eax
btr eax, eax
cmc
add esp, 4
mov eax, dword [esp + 1]
pop dword [esp + 2]
jmp 0xd7a746
Function at 0x4053a9
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00405559
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x4054a7
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x40544a
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x40548d
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x405461
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x40547c
test al, 0x40
je 0x405473
mov ecx, dword [edi + 0x20]
jmp 0x40547a
test al, 0x80
je 0x40548d
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x40548d
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x405419
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x45ccb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x45cce8
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x45ccd6
mov al, 1
jmp 0x45cd39
cmp dword [ebx + 0x54], ecx
jne 0x45ccdf
mov al, 2
jmp 0x45cd39
cmp dword [ebx + 0x7c], ecx
jne 0x45cd39
mov al, 3
jmp 0x45cd39
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x45ccfd
mov al, 4
jmp 0x45cd39
cmp ecx, 5
jne 0x45cd1d
cmp ebx, 0
jne 0x45cd0b
mov al, 5
jmp 0x45cd39
cmp ebx, 1
jne 0x45cd14
mov al, 6
jmp 0x45cd39
cmp ebx, 2
jne 0x45cd1d
mov al, 7
jmp 0x45cd39
cmp ecx, 6
jne 0x45cd29
cmp ebx, 0
jne 0x45cd2b
mov al, 8
jmp 0x45cd39
cmp ebx, 1
jne 0x45cd32
mov al, 9
cmp ebx, 2
jne 0x45cd39
mov al, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b2760
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x57e34b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0056b680
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4b27e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00568417
mov eax, dword [eax]
push 0x62bee4
push eax
call fcn.0055ae54
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0056b90b
test bl, bl
je 0x4b27e2
push 0x62bee4
lea ecx, [esp + 0xc]
call fcn.0056bce7
push 0x62bef0
lea ecx, [esp + 0xc]
call fcn.0056bce7
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4b281e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0056b90b
jmp 0x4b28e9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4b28a2
lea edx, [esp + 0x7c]
push 0x62beec
push edx
call fcn.0055ae54
add esp, 8
test eax, eax
je 0x4b28a2
lea eax, [esp + 0x7c]
push 0x62bee8
push eax
call fcn.0055ae54
add esp, 8
test eax, eax
je 0x4b28a2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4b2832
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0056b90b
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4b30f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4b3152
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4b3160
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x57e3cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x639678]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4b3298
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4b31c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0056b90b
xor eax, eax
jmp 0x4b330f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0056ba94
push esi
lea ecx, [esp + 0xc]
call fcn.0056bd23
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4b32ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004b30f0
test eax, eax
jne 0x4b32ed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.004b30f0
test eax, eax
jne 0x4b32ed
lea eax, [esp + 0x14]
push 0x62bf00
push eax
call fcn.0055bf20
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b32cc
lea ecx, [esp + 0x14]
push 0x62befc
push ecx
call fcn.0055bea0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b32cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4b32cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0056ba44
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4b31de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0056b90b
xor eax, eax
jmp 0x4b330f
mov byte [esi], 0
push 0x62bef8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0056b90b
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4

Function at 0x4bc4d6
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x4bc4fe
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret