joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4744e0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], esp
cmp eax, ebx
je 0x47451e
push eax
call fcn.00497cde
add esp, 4
mov dword [esi + 0xc], ebx
push 0x400
lea ecx, [ebp - 0x40]
mov dword [esi + 0x10], ebx
call fcn.004b3061
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x43f]
mov byte [ebp - 0x440], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, 1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], al
cmp dword [ebp - 0x14], ebx
je 0x47459d
mov edx, dword [esi + 8]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x440]
push 0x400
push ecx
push edx
call edi
cmp eax, ebx
je 0x47455a
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jbe 0x47455a
push eax
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x40]
call fcn.004b3284
jmp 0x47455a
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.004abf27
mov edi, eax
cmp edi, ebx
jbe 0x4745bc
lea ecx, [ebp - 0x40]
call fcn.004b3114
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
cmp ecx, edi
lea ecx, [ebp - 0x40]
sbb esi, esi
neg esi
call fcn.004b3126
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x474990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bd21a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x34]
mov dword [esp + 0x10], 6
call fcn.004ab4a5
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 5
call fcn.004ab4a5
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 4
call fcn.004ab4a5
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 3
call fcn.004ab4a5
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 2
call fcn.004ab4a5
lea ecx, [esi + 8]
mov byte [esp + 0x10], 1
call fcn.004ab4a5
lea ecx, [esi + 4]
mov byte [esp + 0x10], 0
call fcn.004ab4a5
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.004ab4a5
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4749a6
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bd21a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x34]
mov dword [esp + 0x10], 6
call fcn.004ab4a5
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 5
call fcn.004ab4a5
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 4
call fcn.004ab4a5
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 3
call fcn.004ab4a5
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 2
call fcn.004ab4a5
lea ecx, [esi + 8]
mov byte [esp + 0x10], 1
call fcn.004ab4a5
lea ecx, [esi + 4]
mov byte [esp + 0x10], 0
call fcn.004ab4a5
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.004ab4a5
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x476030
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x47603b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x47613e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0xa4aa28]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xa4aa28]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xa4aa28]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xa4aa28]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xa4aa28]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xa4aa28]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xa4aa28]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0xa4aa28]
xor eax, edx
inc ecx
dec edi
jne 0x476056
pop edi
test esi, esi
je 0x476160
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0xa4aa28]
xor eax, edx
inc ecx
dec esi
jne 0x476142
pop esi
pop ebx
not eax
ret
Function at 0x47ca10
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x47ca76
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x47ca76
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x47ca57
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x47ce00
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x47ce38
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x47da60
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x47daa9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x47df20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bd590
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0047dad0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0047db50
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0047db50
lea ecx, [esi + 0xc]
call fcn.004ab430
lea ecx, [esi + 0x10]
call fcn.004ab430
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0047f0e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0047f0e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0047f0e0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004ab4a5
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004ab4a5
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x486140
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x48618c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x48618c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x486176
push eax
call ebp
test ax, ax
jl 0x486184
inc esi
add edi, 4
cmp esi, 6
jb 0x486168
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00485e40
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x489ef0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x489f50
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x489f50
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x489f50
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x489f50
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x489f60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x49fb4d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa52df0
push 0x499144
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
mov eax, dword [fcn.0049faec]
test eax, eax
je 0x49fb95
mov dword [ebp - 4], 1
call eax
jmp 0x49fb91
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
call 0x49fb9e
jmp fcn.0049faec

Function at 0x4ad8d4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ad90c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004ab94c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004ab924
jmp 0x4ad918
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4aefc6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4af008
call fcn.004b55a7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4af008
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4aefff
xor eax, eax
jmp 0x4af010
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004af016
pop edi
pop esi
pop ebx
ret 4
Function at 0x4c717f
Capabilities:
Encrypt data using speck

Disassembly:
push dword [esp + 4]
lea esp, [esp + 0xc]
call fcn.004d3c4a
jmp 0x4d36fa

Function at 0x4d3709
Capabilities:
Encrypt data using speck

Disassembly:
adc dl, dl
push eax
lea esp, [esp + 8]
jb 0x4f2477
push ecx
pushal
lea esp, [esp + 0x24]
jbe 0x4da6eb
xor dh, dl
clc
test dh, 1
call fcn.004d3d77
pushal
push ecx
pushal
clc
sub ecx, dword [edx + 0x10]
mov byte [esp], bh
mov byte [esp], 0x65
pushfd
bt cx, 0xa
cmp ecx, dword [edx + 0x14]
push dword [esp]
call fcn.0057d970
pushal
cmp cl, ah
xor dh, dl
test bx, sp
cmc
test dh, 1
pushfd
mov dh, 0
jmp 0x4f107e
lea esp, [esp + 0x24]
je 0x57d7b5
pushfd
lea eax, [ebx + edx*4]
mov byte [esp], 0xbf
push dword [esp]
lea esp, [esp + 8]
call fcn.004d3c4a
push 0xb7dd6c39
jmp 0x4f427c
adc dl, dl
mov dword [esp], 0xf4875b3e
pushfd
pushal
call fcn.004da010
pushal
lea esp, [esp + 0x20]
jbe 0x4d9ee0
lea edi, [esi*4 + 0xf8fa088]
test ebp, ecx
clc
mov edi, dword [edx + 0x24]
not ebx
add edi, eax
bsr cx, sp
bswap cx
btr bx, 6
mov ebx, dword [edx + 0x20]
cmp ebx, ebp
pushfd
add ebx, eax
neg ecx
btc ecx, ebp
mov dword [ebp - 8], 0
pop ecx
cmp sp, 0xf902
mov cx, 0x81a
mov ecx, dword [edx + 0x18]

Function at 0x4d84b4
Capabilities:
Check for software breakpoints

Disassembly:
push 0x5a841a71
lea esp, [esp + 8]
jne 0x4f2f99
sar cl, 1
dec cl
mov ecx, edi
ror si, cl
sub ecx, ebx
sbb si, dx
mov esi, esp
lea esp, [esp + 0x10]
jae 0x4f2f9e
sub cx, 0x91d1
bsf ebx, ecx
mov ebx, eax
and ch, dh
movsx cx, bl
sbb ch, 0x83
mov edi, eax
clc
bt dx, ax
cmc
movzx cx, dl
mov ecx, 0x104
pushfd
cmp ch, 0xcc
xor al, al
clc
repne scasb al, byte es:[edi]
jmp 0x4c7132
pushfd
mov byte [esp + 0xc], cl
jmp 0x4d3fd1
Function at 0x404bd3
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x404c01
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x404bf8
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x404bf0
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x404c22
mov esp, ebp
pop ebp
ret

Function at 0x404c26
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x404c92
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x404cbf
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x404cae
xor ecx, eax
xor edx, ebx
dec edi
jne 0x404c9f
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x404ce5
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x404c86
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x404d11
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40b927
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x40b937
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
jle 0x40b98c
push dword [ebp + 8]
call fcn.0040bb38
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x24], 0x5a4d
jne 0x40b98c
xor eax, eax
jmp 0x40b991
mov eax, 1
test eax, eax
je 0x40b9a3
mov eax, 0
jmp 0x40bb32
push 0x3c
push dword [ebp + 8]
call fcn.0040bb7a
push eax
call fcn.0040bb54
push eax
push dword [ebp + 8]
call fcn.0040bb7a
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.0040bb54
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4550
jne 0x40b9fe
push 0x7c
push dword [ebp - 4]
call fcn.0040bb7a
push eax
call fcn.0040bb54
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x40b9fe
xor eax, eax
jmp 0x40ba03
mov eax, 1
test eax, eax
je 0x40ba15
mov eax, 0
jmp 0x40bb32
push 0x78
push dword [ebp - 4]
call fcn.0040bb7a
push eax
call fcn.0040bb54
push eax
push dword [ebp + 8]
call fcn.0040bb7a
mov dword [ebp - 8], eax
push 0x20
push dword [ebp - 8]
call fcn.0040bb7a
push eax
call fcn.0040bb54
push eax
push dword [ebp + 8]
call fcn.0040bb7a
push eax
call fcn.0040bb54
push eax
push dword [ebp + 8]
call fcn.0040bb7a
mov dword [ebp - 0xc], eax
push 0x18
push dword [ebp - 8]
call fcn.0040bb7a
push eax
call fcn.0040bb54
mov dword [ebp - 0x10], eax
push 1
push dword [ebp - 0x10]
call fcn.0040bba1
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40bb25
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.0040bb7a
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.0040bbc8
test eax, eax
je 0x40bb08
push 0x1c
push dword [ebp - 8]
call fcn.0040bb7a
push eax
call fcn.0040bb54
push eax
push dword [ebp + 8]
call fcn.0040bb7a
mov dword [ebp - 0x24], eax
push 4
push dword [ebp - 0x10]
call fcn.0040bbfc
push eax
push dword [ebp - 0x24]
call fcn.0040bb7a
push eax
call fcn.0040bb54
push eax
push dword [ebp + 8]
call fcn.0040bb7a
jmp 0x40bb32
push dword [ebp - 0x14]
call fcn.0040bc24
push eax
push dword [ebp - 0x18]
call fcn.0040bb7a
mov dword [ebp - 0x18], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x40ba91
add esp, 0xc
mov eax, 0
jmp 0x40bb32
mov esp, ebp
pop ebp
ret 8
Function at 0x40bcc3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
jmp 0x40bccb
sub esp, 0x28
push ecx
mov ecx, dword [ebp + 8]
cmp ecx, 0
jle 0x40bd10
mov eax, dword [ecx]
mov dword [ebp - 8], eax
cmp word [ebp - 8], 0x5a4d
jne 0x40bd10
lea eax, [ecx + 0x3c]
mov eax, dword [eax]
add ecx, eax
mov eax, dword [ecx]
cmp eax, 0x4550
jne 0x40bd10
lea eax, [ecx + 0x16]
mov eax, dword [eax]
cwde
and eax, 0x2000
test eax, eax
je 0x40bd10
lea eax, [ecx + 0x28]
mov eax, dword [eax]
add eax, dword [ebp + 8]
jmp 0x40bd14
xor eax, eax
jmp 0x40bd3f
nop
push 0
push 0
push 0
call eax
call fcn.0040bd44
push 0x700ed6df
push eax
push 0
call fcn.0040bd97
push 0
push 0x8000
push 0
push dword [ebp + 8]
push 0xffffffffffffffff
call eax
pop ecx
leave
ret 4

Function at 0x40bd44
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x40bd72
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x40bd69
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x40bd61
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x40bd93
mov esp, ebp
pop ebp
ret

Function at 0x40bd97
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x40be03
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x40be30
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x40be1f
xor ecx, eax
xor edx, ebx
dec edi
jne 0x40be10
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x40be56
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x40bdf7
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x40be82
mov esp, ebp
pop ebp
ret 0xc
Function at 0x417620
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47909b
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.0046da73
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4176a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046b98a
mov eax, dword [eax]
push 0x49c1e0
push eax
call fcn.0045e6f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046dcfe
test bl, bl
je 0x4176a2
push 0x49c1e0
lea ecx, [esp + 0xc]
call fcn.0046e08e
push 0x49fd54
lea ecx, [esp + 0xc]
call fcn.0046e08e
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 0x4176de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046dcfe
jmp 0x4177a9
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 0x417762
lea edx, [esp + 0x7c]
push 0x49fd50
push edx
call fcn.0045e6f4
add esp, 8
test eax, eax
je 0x417762
lea eax, [esp + 0x7c]
push 0x49fd4c
push eax
call fcn.0045e6f4
add esp, 8
test eax, eax
je 0x417762
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 0x4176f2
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.0046dcfe
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 0x417fa0
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 0x418002
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