joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e4b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
mov bl, dl
push ebp
xor ebp, ebp
mov dword [esp + 0x10], ebp
call fcn.00446c60
cmp eax, 0xffffffff
mov esi, eax
je 0x42e596
lea eax, [esp + 0x18]
push ebp
lea ecx, [esp + 0x18]
push eax
push 4
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42e58f
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edi
push eax
mov edx, ebx
add ecx, 0x1c
call fcn.004113b0
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x42e58f
lea ebx, [eax + 0x1c]
mov dword [eax + 0xc], ebp
mov eax, dword [esp + 0x10]
mov word [eax + 4], bp
mov eax, dword [esp + 0x10]
mov word [eax + 6], bp
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
dec ax
mov word [ecx + 8], ax
mov ecx, dword [esp + 0x10]
push ebp
mov eax, dword [ecx + 0x24]
dec ax
mov word [ecx + 0xa], ax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
mov dword [ecx], 0xbc614e
mov edx, dword [esp + 0x1c]
push edx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42e580
mov eax, dword [ebx + 0xc]
cmp eax, ebp
jle 0x42e58f
lea eax, [ebx + 0x1c]
mov ecx, dword [eax]
add eax, 0xc
add ecx, ebx
inc ebp
mov dword [eax - 0xc], ecx
cmp dword [ebx + 0xc], ebp
jg 0x42e56e
jmp 0x42e58f
mov ecx, edi
call fcn.00411420
mov dword [esp + 0x10], 0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x42e620
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x10]
push ebp
mov ecx, dword [esi + 0x138]
push eax
lea edx, [esp + 0x14]
mov eax, dword [esp + 0x30]
push edx
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
movsx ebx, word [esp + 0x38]
mov word [esi + 0x12c], 0
push ebx
push eax
push ecx
call ebp
mov di, ax
test di, di
jge 0x42e676
push edi
mov ecx, esi
neg di
call fcn.0042e5c0
mov ax, di
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x18
ret 8
mov ax, di
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x18
ret 8

Function at 0x42e730
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esi + 0x148], edi
lea ecx, [esi + 0x148]
lea eax, [esi + 0x168]
push ecx
push eax
mov dword [ecx + 4], edi
push 0x3e80
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], edi
mov ecx, dword [esi + 0x160]
push ecx
mov edx, dword [esi + 0x138]
push edx
mov dword [esi + 0x164], edi
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov word [esi + 0x15c], ax
cmp ax, di
jne 0x42e7a9
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov word [esi + 0x15c], ax
movsx eax, ax
cmp eax, 0x3e5
je 0x42e7a0
call edi
jmp 0x42e7a9
mov word [esi + 0x15c], 1
mov ecx, esi
call fcn.0042e690
movsx eax, word [esi + 0x15c]
pop edi
pop esi
ret
Function at 0x42e8f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov dword [esp + 4], edx
push esi
mov dword [esp + 0xc], ecx
push edi
mov esi, dword [esp + 0x10]
lea edi, [0x4643a0]
mov ecx, dword [esp + 0xc]
xor edx, edx
dec edx
xor eax, eax
mov al, byte [esi]
inc esi
xor al, dl
mov ax, word [edi + eax*2]
xor al, dh
mov edx, eax
dec ecx
jne 0x42e90e
mov word [esp + 0xa], dx
mov ax, word [esp + 0xa]
pop edi
pop esi
add esp, 0xc
ret

Function at 0x42eeb0
Capabilities:
Get file size

Disassembly:
sub esp, 0xc
mov dword [esp], edx
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
push ebp
xor edi, edi
xor ebp, ebp
mov eax, dword [esp + 0x20]
and eax, 3
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0xffffffff
je 0x42ef4b
cmp eax, 3
je 0x42ef4b
push 0x24
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebp, eax
test ebp, ebp
je 0x42ef44
mov eax, dword [esp + 0x20]
mov dword [ebp], 0x4953444d
mov dword [ebp + 0x14], edi
test al, 2
mov dword [ebp + 0x20], edi
jne 0x42ef50
mov ebx, 1
lea eax, [esp + 0x18]
lea edx, [esp + 0x14]
push eax
mov ecx, dword [esp + 0x14]
call fcn.00412150
mov dword [esp + 0x10], eax
test eax, eax
je 0x42ef3d
mov eax, dword [esp + 0x14]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 0x10]
push eax
mov ecx, ebp
call fcn.0042ef90
mov edi, eax
jmp 0x42ef50
mov edi, 2
jmp 0x42ef50
mov edi, 1
jmp 0x42ef50
mov edi, 4
test edi, edi
je 0x42ef61
test ebp, ebp
je 0x42ef63
push ebp
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x42ef63
mov dword [esi], ebp
test ebx, ebx
je 0x42ef79
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
call fcn.004121d0
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x43c680
Capabilities:
Get geographical location

Disassembly:
push ebx
mov ecx, str.Data_Courses_
movsx eax, byte [0x45f885]
push esi
push edi
push str..CRS
mov edx, dword [eax*4 + 0x464c70]
call fcn.0043e160
mov dl, byte [0x46beb4]
mov ecx, eax
call fcn.00411740
mov dword [0x48d858], eax
test eax, eax
jne 0x43c6c1
mov ecx, dword [0x4b6684]
call fcn.00442a10
mov eax, dword [0x464c88]
test eax, eax
je 0x43c6f9
mov esi, 0x464c94
xor edi, edi
mov eax, dword [esi + 4]
test eax, eax
jne 0x43c6ef
push 8
mov edx, dword [esi - 4]
inc edx
mov ecx, dword [esi - 8]
call fcn.00411b50
mov dword [esi], eax
test eax, eax
je 0x43c6ef
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
add esi, 0x14
test eax, eax
jne 0x43c6d1
xor ebx, ebx
xor edi, edi
cmp dword [0x464c88], ebx
je 0x43c74f
mov esi, 0x464c98
mov ecx, dword [esi]
test ecx, ecx
je 0x43c744
mov eax, dword [esi - 0xc]
cmp eax, 0x43454c20
jne 0x43c731
xor edx, edx
call fcn.0040b860
mov dword [esi], eax
test eax, eax
jne 0x43c73d
lea ecx, [edi + 1]
call fcn.00442a10
jmp 0x43c73d
cmp eax, 0x414e494d
jne 0x43c73d
call fcn.00444a40
mov eax, dword [esi]
mov ecx, dword [esi - 0x10]
mov dword [ecx], eax
mov eax, dword [esi + 4]
add esi, 0x14
inc edi
test eax, eax
jne 0x43c70a
call fcn.004429c0
pop edi
mov dword [0x4b2d00], eax
pop esi
pop ebx
ret
Function at 0x43ca40
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0xc
mov eax, dword [0x464e00]
push esi
push edi
mov edi, edx
mov esi, ecx
xor ecx, ecx
cmp eax, 0xffffffff
mov dword [esp + 8], ecx
jne 0x43cb2e
mov eax, dword [0x463224]
cmp eax, 0x185
jne 0x43caa2
mov dword [0x48d8d8], ecx
mov eax, 0x48d8d8
push 0x1b54
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
call sub.WSOCK32.dll_htons
and eax, 0xffff
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, 0x48d8d8
call fcn.0043c9d0
jmp 0x43cad8
mov ecx, 0x48d8d8
xor eax, eax
push 0x4242
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov word [ecx + 0xc], ax
call sub.WSOCK32.dll_htons
and eax, 0xffff
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, 0x48d8d8
call fcn.0043ca10
mov ecx, dword [esp + 0x10]
mov dword [0x48d900], eax
mov eax, dword [esp + 0xc]
push eax
push 2
push ecx
call sub.WSOCK32.dll_socket
mov dword [0x464e00], eax
cmp eax, 0xffffffff
jne 0x43cb00
xor eax, eax
pop edi
pop esi
add esp, 0xc
ret
mov ecx, dword [0x48d900]
mov dword [0x464e00], eax
push ecx
push 0x48d8d8
push eax
call sub.WSOCK32.dll_bind
mov dword [0x48d8d0], eax
cmp eax, 0xffffffff
mov eax, dword [0x464e00]
jne 0x43cb2e
xor eax, eax
pop edi
pop esi
add esp, 0xc
ret
lea ecx, [esp + 8]
push ecx
push 0x4004667f
push eax
call sub.WSOCK32.dll_ioctlsocket
mov dword [0x48d8d0], eax
cmp eax, 0xffffffff
jne 0x43cb50
xor eax, eax
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x43cb9b
cmp eax, edi
jle 0x43cb60
mov dword [esp + 8], edi
mov eax, dword [esp + 8]
push 0x48d900
push 0x48d8d8
mov ecx, dword [0x464e00]
push 0
push eax
push esi
push ecx
call sub.WSOCK32.dll_recvfrom
mov dword [0x48d8d0], eax
cmp eax, 0xffffffff
jne 0x43cb90
xor eax, eax
pop edi
pop esi
add esp, 0xc
ret
pop edi
mov dword [0x48d8d0], eax
pop esi
add esp, 0xc
ret
xor eax, eax
pop edi
pop esi
add esp, 0xc
ret

Function at 0x43ccf0
Capabilities:
Create thread
Terminate thread

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push ebx
mov dword [esp + 8], ecx
push esi
push edi
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebp
xor edi, edi
mov ebx, 0x102
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edi
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
push 0
push ecx
push 0x43cd90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
push 0x7d0
push ebp
call esi
cmp eax, ebx
jne 0x43cd50
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esp + 0x10], ebx
jmp 0x43cd68
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x43cd68
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x43cd76
inc edi
cmp edi, 3
jl 0x43cd18
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
Function at 0x43cf20
Capabilities:
Get local ipv4 addresses
Get socket information
Resolve dns

Disassembly:
sub esp, 0xc
mov eax, dword [0x464e04]
push ebx
push esi
push edi
mov esi, ecx
cmp dword [0x463224], eax
jne 0x43cf3d
test dl, dl
je 0x43d047
mov eax, dword [0x463224]
cmp eax, 0x185
jne 0x43cf87
push 0x4b2cb0
call sub.WSOCK32.dll_gethostbyname
mov edi, eax
push 0
call sub.WSOCK32.dll_htons
and eax, 0xffff
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, 0x48d908
call fcn.0043c9d0
mov dword [esp + 0xc], eax
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [0x48d90c], eax
jmp 0x43cfbd
mov ecx, 0x48d908
xor eax, eax
push eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov word [ecx + 0xc], ax
call sub.WSOCK32.dll_htons
and eax, 0xffff
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, 0x48d908
call fcn.0043ca10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push 2
push ecx
call sub.WSOCK32.dll_socket
cmp eax, 0xffffffff
mov edi, eax
je 0x43d065
mov eax, dword [esp + 0xc]
push eax
push 0x48d908
push edi
call sub.WSOCK32.dll_bind
mov dword [0x48d8d0], eax
cmp eax, 0xffffffff
je 0x43d065
lea eax, [esp + 0xc]
push eax
push 0x48d908
push edi
call sub.WSOCK32.dll_getsockname
mov dword [0x48d8d0], eax
cmp eax, 0xffffffff
je 0x43d065
mov eax, dword [0x463224]
cmp eax, 0x185
jne 0x43d021
mov ax, word [0x48d90a]
jmp 0x43d027
mov ax, word [0x48d914]
mov word [0x464dfc], ax
push edi
call sub.WSOCK32.dll_closesocket
mov dword [0x48d8d0], eax
cmp eax, 0xffffffff
je 0x43d065
mov eax, dword [0x463224]
mov dword [0x464e04], eax
mov eax, dword [0x48d908]
mov ecx, 0x48d908
mov dword [esi], eax
mov edx, dword [ecx + 4]
mov dword [esi + 4], edx
mov ebx, dword [ecx + 8]
mov dword [esi + 8], ebx
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x43d070
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0xc
mov dword [esp + 8], 1
push esi
push edi
mov edi, edx
mov esi, ecx
mov ecx, dword [0x464e08]
cmp ecx, 0xffffffff
jne 0x43d1d7
mov eax, dword [0x463224]
mov ecx, 0x48d8f0
cmp eax, 0x185
jne 0x43d0d3
xor eax, eax
push 0x1b53
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
call sub.WSOCK32.dll_htons
and eax, 0xffff
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push eax
push ecx
mov ecx, 0x48d8f0
call fcn.0043c9d0
jmp 0x43d104
xor eax, eax
push 0x42ff
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov word [ecx + 0xc], ax
call sub.WSOCK32.dll_htons
and eax, 0xffff
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push eax
push ecx
mov ecx, 0x48d8f0
call fcn.0043ca10
mov ecx, dword [esp + 0xc]
mov dword [0x48d8e8], eax
mov eax, dword [esp + 8]
push eax
push 2
push ecx
call sub.WSOCK32.dll_socket
mov dword [0x464e08], eax
cmp eax, 0xffffffff
jne 0x43d12c
xor al, al
pop edi
pop esi
add esp, 0xc
ret
mov ecx, dword [0x48d8e8]
mov dword [0x464e08], eax
push ecx
push 0x48d8f0
push eax
call sub.WSOCK32.dll_bind
mov dword [0x48d8d0], eax
cmp eax, 0xffffffff
jne 0x43d155
xor al, al
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [0x463224]
cmp eax, 0x185
jne 0x43d179
push 0xffffffffffffffff
call sub.WSOCK32.dll_htonl
mov dword [0x48d878], 0
mov dword [0x48d8f4], eax
jmp 0x43d1a5
push 4
mov edx, str.00000000
mov ecx, 0x48d8f2
call fcn.0043c790
push 6
mov edx, str.FFFFFFFFFFFF
mov ecx, 0x48d8f6
call fcn.0043c790
mov dword [0x48d878], 4
lea eax, [esp + 0x10]
push 4
push eax
mov ecx, dword [0x464e08]
push 0x20
push 0xffff
push ecx
call sub.WSOCK32.dll_setsockopt
mov ecx, dword [0x464e08]
mov dword [0x48d8d0], eax
cmp eax, 0xffffffff
jne 0x43d1d7
xor al, al
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [0x48d8e8]
mov edx, dword [0x48d878]
push eax
push 0x48d8f0
push edx
push edi
push esi
push ecx
call sub.WSOCK32.dll_sendto
pop edi
mov dword [0x48d8d0], eax
pop esi
cmp eax, 0xffffffff
setne cl
mov al, cl
add esp, 0xc
ret

Function at 0x43d400
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
mov dword [0x48d8d0], eax
test eax, eax
je 0x43d476
cmp eax, 0x2726
je 0x43d43a
cmp eax, 0x276b
je 0x43d441
cmp eax, 0x276c
je 0x43d448
mov ecx, 0x1bb
jmp 0x43d44d
mov ecx, 0x1bf
jmp 0x43d44d
mov ecx, 0x1bd
jmp 0x43d44d
mov ecx, 0x1be
mov eax, dword [0x48d8d0]
mov edx, dword [0x46be60]
push eax
nop
mov eax, dword [edx + 0x6f0]
mov ecx, dword [edx + ecx*4]
push ecx
push eax
call fcn.0043df00
add esp, 0xc
xor al, al
add esp, 0x190
ret
mov ecx, 0x48d868
mov eax, 0xffffffff
mov byte [0x464e0c], 1
push 0x50
mov dword [ecx], eax
push 0x4b2cb0
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
call sub.WSOCK32.dll_gethostname
mov al, 1
add esp, 0x190
ret
Function at 0x43d530
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 4
mov dword [esp], 0
push ebx
push esi
push edi
mov esi, edx
push ebp
mov edi, ecx
xor ebx, ebx
mov ebp, dword [esp + 0x18]
mov eax, dword [ebx*4 + 0x48d868]
cmp eax, 0xffffffff
je 0x43d57a
lea ecx, [esp + 0x10]
push ecx
push 0x4004667f
push eax
call sub.WSOCK32.dll_ioctlsocket
mov dword [0x48d8d0], eax
cmp eax, 0xffffffff
je 0x43d58c
mov eax, dword [esp + 0x10]
mov dword [ebp], ebx
test eax, eax
jne 0x43d598
inc ebx
cmp ebx, 4
jb 0x43d549
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 4
mov eax, dword [esp + 0x10]
cmp eax, esi
jle 0x43d5a4
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
push 0
push eax
mov ecx, dword [ebx*4 + 0x48d868]
push edi
push ecx
call sub.WSOCK32.dll_recv
mov dword [0x48d8d0], eax
cmp eax, 0xffffffff
jne 0x43d5cf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 4
mov eax, dword [0x48d8d0]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 4

Function at 0x43d5e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
mov eax, dword [ecx*4 + 0x48d868]
push edi
push ebp
mov edi, edx
mov esi, ecx
cmp eax, 0xffffffff
je 0x43d633
xor ebp, ebp
mov ebx, dword [esp + 0x14]
push 0
mov eax, dword [esi*4 + 0x48d868]
push ebx
push edi
push eax
call sub.WSOCK32.dll_send
mov dword [0x48d8d0], eax
cmp eax, 0xffffffff
jne 0x43d62b
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
mov ebp, eax
jne 0x43d633
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebp, 0x2733
je 0x43d5fa
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x43e480
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 4
push ebx
push esi
push edi
mov esi, edx
push ebp
mov ebx, ecx
xor edi, edi
mov al, byte [0x46be6c]
test al, al
mov eax, 0
je 0x43e4ac
push str..DAT
mov ecx, str.Data_Bikers_Hi
mov edx, ebx
call fcn.0043e160
test eax, eax
jne 0x43e4c9
push str..DAT
mov ecx, str.Data_Bikers_Lo
mov edx, ebx
call fcn.0043e160
test eax, eax
je 0x43e573
push 0
push 0x8000000
push 3
push 0
push 0
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov ebp, eax
je 0x43e573
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov ebx, eax
lea eax, [esi + 4]
mov dl, byte [0x46beb4]
push eax
push esi
call fcn.004113b0
mov esi, dword [esi]
test esi, esi
je 0x43e56c
lea eax, [esp + 0x10]
push 0
push eax
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43e56c
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x43e56c
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x43e567
mov ebx, dword [esp + 0x18]
mov al, byte [esi]
inc esi
inc esi
xor edx, edx
mov byte [ebx + 4], al
xor eax, eax
mov cl, byte [esi - 1]
mov dl, cl
mov byte [ebx + 5], cl
mov al, byte [ebx + 4]
imul eax, edx
test eax, eax
je 0x43e55b
mov dword [ebx], esi
add esi, eax
jmp 0x43e561
mov dword [ebx], 0
add ebx, 8
dec edi
jne 0x43e538
mov edi, 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 8
Function at 0x440f80
Capabilities:
Get geographical location

Disassembly:
sub esp, 4
xor eax, eax
movsx ecx, byte [0x45f885]
push ebx
push esi
push edi
mov esi, dword [ecx*4 + 0x464c70]
cmp byte [0x46be70], al
je 0x440faf
push str..CAR
mov ecx, str.Data_Cars_Hi
mov edx, esi
call fcn.0043e160
test eax, eax
jne 0x440fc4
push str..CAR
mov ecx, str.Data_Cars_
mov edx, esi
call fcn.0043e160
xor ebx, ebx
test eax, eax
je 0x44110f
mov dl, byte [0x46beb4]
mov ecx, eax
call fcn.00411740
mov dword [0x46b874], eax
test eax, eax
je 0x44110f
mov byte [esp + 0xf], bl
movsx esi, bl
push 8
mov ecx, 0x414e494d
lea edx, [esi + 1]
call fcn.00411b50
mov ecx, eax
test ecx, ecx
je 0x441109
mov dword [esi*8 + 0x46b8a4], ecx
mov eax, dword [ecx]
cmp eax, 0x5252414e
jne 0x44101f
call fcn.00444a40
jmp 0x44102b
cmp eax, 0x4f465353
jne 0x44102b
call fcn.00444a10
push 8
mov ecx, 0x43414e53
movsx edx, byte [esp + 0x13]
inc edx
lea edi, [esi*8 + 0x46b8a0]
call fcn.00411b50
test eax, eax
jne 0x441053
mov eax, dword [esi*8 + str.2raC]
mov dword [edi], eax
jmp 0x44105f
mov cl, byte [esp + 0xf]
mov dword [edi], eax
inc cl
mov byte [esp + 0xf], cl
push 1
mov eax, dword [esi*4 + 0x46b9d0]
mov edx, str.sraC
mov ecx, dword [eax]
push ecx
mov ecx, edi
call fcn.0040b700
test al, al
jne 0x44108a
mov eax, dword [esi*4 + 0x46b9d0]
mov ecx, dword [eax]
mov dword [ecx], 0xffffffff
push 1
mov eax, dword [esi*4 + 0x46b9d0]
mov edx, str.1raC
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
call fcn.0040b700
test al, al
jne 0x4410b7
mov eax, dword [esi*4 + 0x46b9d0]
mov ecx, dword [eax + 4]
mov dword [ecx], 0xffffffff
push 1
mov eax, dword [esi*4 + 0x46b9d0]
mov edx, str.2raC
mov ecx, dword [eax + 8]
push ecx
mov ecx, edi
call fcn.0040b700
test al, al
jne 0x4410e4
mov eax, dword [esi*4 + 0x46b9d0]
mov ecx, dword [eax + 8]
mov dword [ecx], 0xffffffff
lea eax, [esi*4 + 0x4aaa70]
xor edx, edx
push eax
mov ecx, edi
push 0
inc bl
call fcn.0040b750
cmp bl, 0xf
jl 0x440fec
pop edi
pop esi
pop ebx
add esp, 4
ret
mov byte [0x46b870], bl
pop edi
pop esi
pop ebx
add esp, 4
ret
Function at 0x442e10
Capabilities:
Set current directory

Disassembly:
sub esp, 8
mov dword [esp + 4], ecx
push ebx
push esi
mov ebx, dword [0x46e7a8]
push edi
push ebp
mov ebp, dword [0x46e7a4]
push 0x5c
mov eax, dword [ebx]
push eax
call fcn.00451db0
add esp, 8
mov esi, eax
mov eax, dword [ebx]
nop
push 0x2f
push eax
call fcn.00451db0
add esp, 8
cmp eax, esi
ja 0x442e4a
mov eax, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x442e55
mov byte [eax], 0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x442e63
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x442e82
inc eax
push 0x2e
mov dword [esp + 0x14], eax
push eax
call fcn.00452240
add esp, 8
test eax, eax
je 0x442e82
mov byte [eax], 0
dec ebp
je 0x442ee1
mov ecx, dword [ebx + 4]
add ebx, 4
cmp byte [ecx], 0x2d
jne 0x442eba
movsx eax, byte [ecx + 1]
cmp eax, 0x73
je 0x442ea4
mov edx, dword [esp + 0x10]
call fcn.00442f10
jmp 0x442ede
dec ebp
je 0x442eaf
mov edi, dword [ebx + 4]
add ebx, 4
jmp 0x442ebc
mov edx, dword [esp + 0x10]
call fcn.00442f10
jmp 0x442ede
mov edi, ecx
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, 0x4aa390
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
dec ebp
jne 0x442e85
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov cx, word [0x46bf98]
mov al, 1
mov word [0x4a99c0], cx
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x443a00
Capabilities:
Get disk information

Disassembly:
sub esp, 0x104
lea eax, [esp]
push ebx
push 0
push eax
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov byte [esp + 7], 0
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
pop ebx
cmp eax, 5
setne cl
mov al, cl
add esp, 0x104
ret

Function at 0x443d60
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x18c
mov al, byte [0x46bf14]
test al, al
nop
push ebx
push esi
push edi
push ebp
je 0x443ed0
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
push str.EnumRootNet
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x443ed0
xor ebp, ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x18]
push 0
lea ecx, [esp + 0x30]
push 0
mov edx, dword [esp + 0x1c]
push 0
mov dword [esp + 0x24], 0x20
push 0
push eax
push ecx
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 1
sbb eax, eax
neg eax
test eax, eax
je 0x443ec9
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
mov edx, dword [esp + 0x14]
push eax
push 0xf003f
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x443ea6
lea eax, [esp + 0x20]
lea ecx, [esp + 0x4c]
mov edx, dword [esp + 0x10]
push eax
mov dword [esp + 0x24], 0x50
push ecx
push 0
push 0
push str.DeviceDesc
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x443e9f
lea esi, [esp + 0x4c]
mov edi, str.Dial_Up_Adapter
mov ecx, 0x10
repe cmpsb byte [esi], byte es:[edi]
jne 0x443e9f
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push eax
push 0xf003f
push 0
push str.Bindings
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x443e9f
lea eax, [esp + 0x24]
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x28]
push eax
lea eax, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x28]
push 0
mov dword [esp + 0x34], 0x100
mov dword [esp + 0x28], 0x20
push eax
push ecx
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
mov eax, dword [esp + 0x1c]
push eax
je 0x443eac
call ebx
mov eax, dword [esp + 0x10]
push eax
call ebx
inc ebp
jmp 0x443da4
call ebx
mov eax, dword [esp + 0x10]
push eax
call ebx
mov eax, dword [esp + 0x14]
push eax
call ebx
mov al, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x18c
ret
mov eax, dword [esp + 0x14]
push eax
call ebx
xor al, al
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x18c
ret