joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420600
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
lea edi, [ebp - 0x68]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push str.sy_server
call sub.WSOCK32.dll_gethostbyname
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x420632
xor al, al
jmp 0x420701
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x420663
push 4
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.0044e770
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call sub.WSOCK32.dll_inet_ntoa
mov dword [ebp - 8], eax
jmp 0x42066a
xor al, al
jmp 0x420701
push 6
push 1
push 2
call sub.WSOCK32.dll_socket
mov dword [0x736f78], eax
cmp dword [0x736f78], 0xffffffff
jne 0x420687
xor al, al
jmp 0x420701
mov eax, dword [ebp - 8]
push eax
call sub.WSOCK32.dll_inet_addr
mov dword [ebp - 0x18], eax
push 2
push 4
lea ecx, [ebp - 0x18]
push ecx
call sub.WSOCK32.dll_gethostbyaddr
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4206b9
mov edx, dword [0x736f78]
push edx
call sub.WSOCK32.dll_closesocket
xor al, al
jmp 0x420701
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x24], eax
mov word [ebp - 0x28], 2
push 0x7d8
call sub.WSOCK32.dll_htons
mov word [ebp - 0x26], ax
push 0x10
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [0x736f78]
push edx
call sub.WSOCK32.dll_connect
test eax, eax
je 0x4206ff
mov eax, dword [0x736f78]
push eax
call sub.WSOCK32.dll_closesocket
xor al, al
jmp 0x420701
mov al, 1
pop edi
pop esi
pop ebx
add esp, 0x68
cmp ebp, esp
call fcn.0044a950
mov esp, ebp
pop ebp
ret
Function at 0x420720
Capabilities:
Get hostname
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
push ebx
push esi
push edi
lea edi, [ebp - 0x85c]
mov ecx, 0x217
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x404], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x403]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov word [ebp - 0x414], 0
xor eax, eax
mov dword [ebp - 0x412], eax
mov dword [ebp - 0x40e], eax
mov dword [ebp - 0x40a], eax
mov word [ebp - 0x406], ax
push 0
push 0x400
lea ecx, [ebp - 0x818]
push ecx
mov edx, dword [0x736f78]
push edx
call sub.WSOCK32.dll_recv
mov dword [ebp - 0x81c], eax
mov eax, dword [ebp - 0x81c]
mov byte [ebp + eax - 0x818], 0
push str.auth_ncut_r_n
lea ecx, [ebp - 0x818]
push ecx
call fcn.0044b370
add esp, 8
push 0
lea edx, [ebp - 0x818]
push edx
call fcn.0044b760
add esp, 4
push eax
lea eax, [ebp - 0x818]
push eax
mov ecx, dword [0x736f78]
push ecx
call sub.WSOCK32.dll_send
push 0
push 0x400
lea edx, [ebp - 0x818]
push edx
mov eax, dword [0x736f78]
push eax
call sub.WSOCK32.dll_recv
mov dword [ebp - 0x81c], eax
mov ecx, dword [ebp - 0x81c]
mov byte [ebp + ecx - 0x818], 0
push 0x400
push 0
lea edx, [ebp - 0x818]
push edx
call fcn.0044a990
add esp, 0xc
push 0x80
push 0
push 0x737398
call fcn.0044a990
add esp, 0xc
push 0x80
push 0x737398
call sub.WSOCK32.dll_gethostname
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x42086e
push str.lost
push 0x506250
push 0x737398
call fcn.0044b240
add esp, 0xc
push 0x60
push 0
push 0x7373b8
call fcn.0044a990
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp esi, esp
call fcn.0044a950
push 0x737438
mov ecx, dword [ebp - 0x40a]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x40c]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x40e]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x412]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x414]
and edx, 0xffff
push edx
mov eax, dword [0x511d54]
push eax
mov ecx, dword [0x511d50]
push ecx
push 0x737418
push 0x737398
push str.win32info__s_s_d__d_d_02d_02d_02d_02d_s_r_n
lea edx, [ebp - 0x404]
push edx
call fcn.0044b240
add esp, 0x30
lea eax, [ebp - 0x404]
push eax
push 0x506250
lea ecx, [ebp - 0x818]
push ecx
call fcn.0044b240
add esp, 0xc
push 0
lea edx, [ebp - 0x818]
push edx
call fcn.0044b760
add esp, 4
push eax
lea eax, [ebp - 0x818]
push eax
mov ecx, dword [0x736f78]
push ecx
call sub.WSOCK32.dll_send
push 0
push 0x400
lea edx, [ebp - 0x818]
push edx
mov eax, dword [0x736f78]
push eax
call sub.WSOCK32.dll_recv
mov dword [ebp - 0x81c], eax
pop edi
pop esi
pop ebx
add esp, 0x85c
cmp ebp, esp
call fcn.0044a950
mov esp, ebp
pop ebp
ret
Function at 0x420980
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
push ebx
push esi
push edi
lea edi, [ebp - 0x450]
mov ecx, 0x114
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push 0x5061c4
mov eax, dword [ebp + 0xc]
push eax
call fcn.0044b220
add esp, 8
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x404], 0
jne 0x4209c5
xor eax, eax
jmp 0x420b1a
push 0x400
push 0
lea ecx, [ebp - 0x400]
push ecx
call fcn.0044a990
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
push str.modissend__s_r_n
lea eax, [ebp - 0x400]
push eax
call fcn.0044b240
add esp, 0xc
push 0
lea ecx, [ebp - 0x400]
push ecx
call fcn.0044b760
add esp, 4
push eax
lea edx, [ebp - 0x400]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.WSOCK32.dll_send
push 0
push 0x400
lea ecx, [ebp - 0x400]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.WSOCK32.dll_recv
mov dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x410]
mov byte [ebp + eax - 0x400], 0
mov ecx, 1
test ecx, ecx
je 0x420aaa
mov edx, dword [ebp - 0x404]
push edx
push 0x400
push 1
lea eax, [ebp - 0x400]
push eax
call fcn.0044aba0
add esp, 0x10
mov dword [ebp - 0x408], eax
push 0
mov ecx, dword [ebp - 0x408]
push ecx
lea edx, [ebp - 0x400]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.WSOCK32.dll_send
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x408], 0x400
jge 0x420aa8
mov ecx, dword [ebp - 0x404]
push ecx
call fcn.0044b7e0
add esp, 4
jmp 0x420aaa
jmp 0x420a40
push 0x506794
push str.SEND_OK
push str._s__s
lea edx, [ebp - 0x400]
push edx
call fcn.0044b240
add esp, 0x10
push 0
lea eax, [ebp - 0x400]
push eax
call fcn.0044b760
add esp, 4
push eax
lea ecx, [ebp - 0x400]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.WSOCK32.dll_send
push 0
push 0x400
lea eax, [ebp - 0x400]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.WSOCK32.dll_recv
mov dword [ebp - 0x410], eax
mov edx, dword [ebp - 0x410]
mov byte [ebp + edx - 0x400], 0
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x450
cmp ebp, esp
call fcn.0044a950
mov esp, ebp
pop ebp
ret
Function at 0x420b30
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x984
push ebx
push esi
push edi
lea edi, [ebp - 0x984]
mov ecx, 0x261
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x544], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x543]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x944], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x943]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [0x737390], 0
push 0x20000
push 0
push 0x716f78
call fcn.0044a990
add esp, 0xc
push str._src.h
push 0x737438
push str._s_s
lea eax, [ebp - 0x544]
push eax
call fcn.0044b240
add esp, 0x10
mov esi, esp
lea ecx, [ebp - 0x140]
push ecx
lea edx, [ebp - 0x544]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp esi, esp
call fcn.0044a950
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x420c37
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [0x737390]
shl ecx, 0xa
add ecx, 0x716f78
push ecx
call fcn.0044b370
add esp, 8
mov edx, dword [0x737390]
add edx, 1
mov dword [0x737390], edx
mov esi, esp
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x144]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp esi, esp
call fcn.0044a950
test eax, eax
jne 0x420be8
push str._src.c
push 0x737438
push str._s_s
lea edx, [ebp - 0x944]
push edx
call fcn.0044b240
add esp, 0x10
mov esi, esp
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x944]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp esi, esp
call fcn.0044a950
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x420cce
lea edx, [ebp - 0x114]
push edx
mov eax, dword [0x737390]
shl eax, 0xa
add eax, 0x716f78
push eax
call fcn.0044b370
add esp, 8
mov ecx, dword [0x737390]
add ecx, 1
mov dword [0x737390], ecx
mov esi, esp
lea edx, [ebp - 0x140]
push edx
mov eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp esi, esp
call fcn.0044a950
test eax, eax
jne 0x420c81
mov eax, dword [0x737390]
pop edi
pop esi
pop ebx
add esp, 0x984
cmp ebp, esp
call fcn.0044a950
mov esp, ebp
pop ebp
ret
Function at 0x420cf0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
push ebx
push esi
push edi
lea edi, [ebp - 0x844]
mov ecx, 0x211
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x400], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x3ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x800], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x7ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x804], 0
jmp 0x420d5b
mov eax, dword [ebp - 0x804]
add eax, 1
mov dword [ebp - 0x804], eax
mov ecx, dword [ebp - 0x804]
cmp ecx, dword [0x737390]
jge 0x420dd7
push 0x400
push 0
lea edx, [ebp - 0x400]
push edx
call fcn.0044a990
add esp, 0xc
mov eax, dword [ebp - 0x804]
shl eax, 0xa
add eax, 0x716f78
push eax
push str._src_
push 0x737438
push str._s_s_s
lea ecx, [ebp - 0x400]
push ecx
call fcn.0044b240
add esp, 0x14
mov edx, dword [ebp - 0x804]
shl edx, 0xa
add edx, 0x716f78
push edx
lea eax, [ebp - 0x400]
push eax
mov ecx, dword [0x736f78]
push ecx
call fcn.00420980
add esp, 0xc
jmp 0x420d4c
push 0x737398
push str.win32name__s_r_n
lea edx, [ebp - 0x800]
push edx
call fcn.0044b240
add esp, 0xc
push 0
lea eax, [ebp - 0x800]
push eax
call fcn.0044b760
add esp, 4
push eax
lea ecx, [ebp - 0x800]
push ecx
mov edx, dword [0x736f78]
push edx
call sub.WSOCK32.dll_send
push 0
push 0x400
lea eax, [ebp - 0x800]
push eax
mov ecx, dword [0x736f78]
push ecx
call sub.WSOCK32.dll_recv
pop edi
pop esi
pop ebx
add esp, 0x844
cmp ebp, esp
call fcn.0044a950
mov esp, ebp
pop ebp
ret
Function at 0x420f70
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3d90
call fcn.0044b340
push ebx
push esi
push edi
lea edi, [ebp - 0x3d90]
mov ecx, 0xf64
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x3544], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x3543]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x3944], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x3943]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x3d44], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x3d43]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1000
push 0
lea eax, [ebp - 0x1144]
push eax
call fcn.0044a990
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0x1144]
push ecx
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp esi, esp
call fcn.0044a950
lea edx, [ebp - 0x1144]
push edx
push 0x506250
lea eax, [ebp - 0x3544]
push eax
call fcn.0044b240
add esp, 0xc
lea ecx, [ebp - 0x3544]
push ecx
call fcn.0044b760
add esp, 4
cmp eax, 0x400
jbe 0x421044
jmp 0x4211e5
push str..dsw
lea edx, [ebp - 0x3544]
push edx
push str._s_s
lea eax, [ebp - 0x3d44]
push eax
call fcn.0044b240
add esp, 0x10
mov esi, esp
lea ecx, [ebp - 0x140]
push ecx
lea edx, [ebp - 0x3d44]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp esi, esp
call fcn.0044a950
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x4210be
push 0x400
push 0
lea eax, [ebp - 0x3944]
push eax
call fcn.0044a990
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x3944]
push edx
call fcn.0044b370
add esp, 8
jmp 0x4210c3
jmp 0x4211e5
lea eax, [ebp - 0x3944]
push eax
call fcn.0044b760
add esp, 4
cmp eax, 4
ja 0x4210dc
jmp 0x4211e5
push 0x2e
lea ecx, [ebp - 0x3944]
push ecx
call fcn.0044b6b0
add esp, 8
mov dword [ebp - 0x3d48], eax
cmp dword [ebp - 0x3d48], 0
je 0x42111b
push 0x5067d8
mov edx, dword [ebp - 0x3d48]
push edx
call fcn.0044bb20
add esp, 8
test eax, eax
je 0x421119
jmp 0x4211e5
jmp 0x421120
jmp 0x4211e5
lea eax, [ebp - 0x3944]
push eax
call fcn.0044b760
add esp, 4
sub eax, 4
push eax
lea ecx, [ebp - 0x3944]
push ecx
push 0x737418
call fcn.0044a420
add esp, 0xc
push 0x5c
lea edx, [ebp - 0x3544]
push edx
call fcn.0044b6b0
add esp, 8
mov dword [ebp - 0x3d4c], eax
cmp dword [ebp - 0x3d4c], 0
je 0x4211a0
lea eax, [ebp - 0x3544]
push eax
call fcn.0044b760
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x3d4c]
push ecx
call fcn.0044b760
add esp, 4
sub esi, eax
push esi
lea edx, [ebp - 0x3544]
push edx
push 0x737438
call fcn.0044a420
add esp, 0xc
jmp 0x4211a2
jmp 0x4211e5
call fcn.00420b30
test eax, eax
jle 0x4211e5
mov esi, esp
push 0
push 0
push 0
push 0x420e50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.0044a950
mov dword [ebp - 0x3d50], eax
mov esi, esp
mov eax, dword [ebp - 0x3d50]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.0044a950
pop edi
pop esi
pop ebx
add esp, 0x3d90
cmp ebp, esp
call fcn.0044a950
mov esp, ebp
pop ebp
ret
Function at 0x4413c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0x100
mov eax, dword [ebp + 0x10]
or ah, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x14]
shl ecx, 1
mov dword [ebp + 0x14], ecx
mov edx, dword [ebp + 0x10]
shr edx, 7
and edx, 1
push edx
mov eax, dword [ebp + 0x14]
and eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
add ecx, eax
mov edx, dword [ebp + 0x10]
shr edx, 8
add ecx, edx
mov eax, dword [ebp + 0xc]
lea ecx, [eax + ecx*2]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00441280
add esp, 0xc
mov eax, dword [ebp + 0x10]
shl eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x14]
xor ecx, dword [ebp + 0x10]
not ecx
mov edx, dword [ebp - 4]
and edx, ecx
mov dword [ebp - 4], edx
cmp dword [ebp + 0x10], 0x10000
jb 0x4413e8
pop edi
pop esi
pop ebx
add esp, 0x44
cmp ebp, esp
call fcn.0044a950
mov esp, ebp
pop ebp
ret

Function at 0x443630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
or ah, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
shr ecx, 8
mov edx, dword [ebp + 8]
xor eax, eax
mov ax, word [edx + ecx*2]
mov ecx, dword [ebp + 0xc]
shr ecx, 7
and ecx, 1
neg ecx
and ecx, 0x7ff
xor eax, ecx
sar eax, 4
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
add ecx, dword [edx + eax*4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
shl edx, 1
mov dword [ebp + 0xc], edx
cmp dword [ebp + 0xc], 0x10000
jb 0x443658
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4436b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
lea edi, [ebp - 0x48]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0x100
mov eax, dword [ebp + 0xc]
or ah, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
shl ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
and edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
add eax, edx
mov ecx, dword [ebp + 0xc]
shr ecx, 8
add eax, ecx
mov edx, dword [ebp + 8]
xor ecx, ecx
mov cx, word [edx + eax*2]
mov edx, dword [ebp + 0xc]
shr edx, 7
and edx, 1
neg edx
and edx, 0x7ff
xor ecx, edx
sar ecx, 4
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
add edx, dword [eax + ecx*4]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
shl eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
xor ecx, dword [ebp + 0xc]
not ecx
mov edx, dword [ebp - 8]
and edx, ecx
mov dword [ebp - 8], edx
cmp dword [ebp + 0xc], 0x10000
jb 0x4436df
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447f70
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
lea edi, [ebp - 0x4c]
mov ecx, 0x13
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x4c], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00448030
add esp, 4
mov dword [ebp - 4], 0
jmp 0x447fc4
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x100
jae 0x448017
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0
jmp 0x447fe5
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 8
jge 0x448008
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp - 8]
and edx, 1
sub edx, 1
not edx
and edx, 0xedb88320
xor ecx, edx
mov dword [ebp - 8], ecx
jmp 0x447fdc
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + eax*4 + 0x6c], edx
jmp 0x447fbb
pop edi
pop esi
pop ebx
add esp, 0x4c
cmp ebp, esp
call fcn.0044a950
mov esp, ebp
pop ebp
ret

Function at 0x461a30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x461a4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x461a56
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x461a6d
mov ecx, dword [ebp - 4]
push ecx
call fcn.0045cbb0
add esp, 4
or eax, 0xffffffff
jmp 0x461a6f
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x461a80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x461aab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045cbb0
add esp, 4
or eax, 0xffffffff
jmp 0x461ada
mov ecx, dword [ebp - 4]
and ecx, 1
test ecx, ecx
je 0x461ad8
mov edx, dword [ebp + 0xc]
and edx, 2
test edx, edx
je 0x461ad8
mov dword [0x73dba0], 0xd
mov dword [0x73dba4], 5
or eax, 0xffffffff
jmp 0x461ada
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x405df8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422adc], 0
push esi
jne 0x405e2f
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405e09
mov dword [ecx*4 + 0x422ad8], eax
inc ecx
cmp ecx, 0x100
jl 0x405e04
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e60
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422ad8]
xor eax, esi
inc ecx
dec edx
jne 0x405e42
pop edi
not eax
pop esi
ret 0xc
Function at 0x407fa0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47afcb
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.0046fc07
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x408022
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046d97d
mov eax, dword [eax]
push 0x4911c0
push eax
call fcn.0045fb84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046fe92
test bl, bl
je 0x408022
push 0x4911c0
lea ecx, [esp + 0xc]
call fcn.00470222
push 0x494d44
lea ecx, [esp + 0xc]
call fcn.00470222
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 0x40805e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046fe92
jmp 0x408129
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 0x4080e2
lea edx, [esp + 0x7c]
push 0x494d40
push edx
call fcn.0045fb84
add esp, 8
test eax, eax
je 0x4080e2
lea eax, [esp + 0x7c]
push 0x494d3c
push eax
call fcn.0045fb84
add esp, 8
test eax, eax
je 0x4080e2
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 0x408072
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.0046fe92
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 0x408920
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 0x408982
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