joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414430
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
xor eax, eax
push ebp
push 0x414570
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0040472c
mov eax, dword [ebp - 0x14]
call fcn.004073e4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x414555
mov eax, dword [ebp - 4]
call fcn.0040436c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x41454e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.0040472c
mov eax, dword [ebp - 0x18]
call fcn.004073e4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x414538
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x414580
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x414538
cmp dword [ebp - 4], 0
jbe 0x414538
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
mov esi, dword [ebx + 8]
mov eax, esi
shr eax, 0x10
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
and esi, 0xffff
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x30], 0
mov edi, dword [ebx + 0xc]
mov eax, edi
shr eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
and edi, 0xffff
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x3c]
mov ecx, 3
mov eax, 0x414590
call fcn.00410be4
mov edx, dword [ebp - 0x1c]
mov eax, 0x45ddd4
call fcn.00406f04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414555
mov eax, dword [ebp - 0xc]
call fcn.00404388
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414577
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00406b84
ret

Function at 0x4145a8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x414663
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [0x45ddcc]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x41467c
call fcn.00410be4
lea eax, [ebp - 4]
call fcn.00412944
mov eax, dword [ebp - 4]
test eax, eax
je 0x4145f3
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x41460c
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0040472c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 4]
call fcn.00410dec
push dword [ebp - 4]
push dword [ebp - 8]
push 0x4146b8
lea eax, [ebp - 4]
mov edx, 3
call fcn.004076b0
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00410130
test al, al
je 0x414640
mov eax, dword [ebp - 4]
call fcn.004073e4
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41466a
lea eax, [ebp - 0x14]
call fcn.00406b24
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406b84
ret
Function at 0x414d20
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x414e96
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00406b24
mov eax, esi
call fcn.00406b24
mov dword [ebp - 0xc], 0x824
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
call fcn.00409b28
pop ecx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x414e74
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
add edx, edx
mov eax, dword [ebp - 8]
xor ecx, ecx
call fcn.00404a8c
push 0x2000000
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, edi
call fcn.004073e4
push eax
call sub.wininet.dll_InternetCanonicalizeUrlW
test eax, eax
jne 0x414db2
mov byte [ebp - 1], 0
call fcn.0040634c
jmp 0x414e7b
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404a8c
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x40], 0x20
mov dword [ebp - 0x34], pe_nt_image_headers32
mov dword [ebp - 0x28], 0x80
mov dword [ebp - 0x20], 0x80
mov dword [ebp - 0x18], 0x800
mov dword [ebp - 0x10], 0x800
lea eax, [ebp - 0x48]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCrackUrlW
test eax, eax
jne 0x414e14
mov byte [ebp - 1], 0
call fcn.0040634c
jmp 0x414e7b
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x414e36
push ebx
lea eax, [ebp - 0x4c]
mov edx, edi
call fcn.0040743c
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x34]
mov edx, 1
call fcn.00407798
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x414e58
push esi
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.0040743c
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov edx, 1
call fcn.00407798
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414e7b
mov eax, dword [ebp - 8]
push eax
call fcn.00409b38
pop ecx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414e9d
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00406b84
ret
Function at 0x4160f8
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00406c18
xor eax, eax
push ebp
push 0x4161a4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [esi + 0x1c]
xor ecx, ecx
mov edx, 0x10
call fcn.00404a8c
mov word [esi + 0x1c], 2
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
add al, 0xd0
sub al, 0xa
jae 0x416152
mov eax, dword [ebp - 4]
call fcn.004071ec
push eax
call sub.wsock32.dll_inet_addr
mov dword [esi + 0x20], eax
mov bl, 1
jmp 0x41618e
mov eax, dword [ebp - 4]
call fcn.004071ec
push eax
call sub.wsock32.dll_gethostbyname
mov edi, eax
test edi, edi
je 0x416186
lea edx, [esi + 0x20]
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov ecx, 4
call fcn.00404510
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x20], eax
mov bl, 1
jmp 0x41618e
call sub.wsock32.dll_WSAGetLastError
mov dword [esi + 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4161ab
lea eax, [ebp - 4]
call fcn.00406b48
ret

Function at 0x4161b4
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe6c
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x194], edx
mov esi, eax
xor eax, eax
push ebp
push 0x41625c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [esi + 0x18], 0
je 0x4161e1
mov bl, 1
jmp 0x416243
xor ebx, ebx
lea eax, [ebp - 0x190]
push eax
push 0x202
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x41623b
push 0x11
push 2
push 2
call sub.wsock32.dll_socket
mov dword [esi + 4], eax
mov bl, 1
mov byte [esi + 0x18], 1
lea eax, [ebp - 0x194]
mov edx, dword [esi + 8]
mov ecx, 0
call fcn.0040727c
mov edx, dword [ebp - 0x194]
mov eax, esi
call fcn.004160f8
test al, al
jne 0x416243
xor ebx, ebx
mov eax, esi
call fcn.00415e54
jmp 0x416243
call sub.wsock32.dll_WSAGetLastError
mov dword [esi + 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416263
lea eax, [ebp - 0x194]
call fcn.00406b48
ret
Function at 0x4163fc
Capabilities:
Connect socket
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov word [ebp - 2], dx
mov edi, eax
xor ebx, ebx
push 4
lea eax, [edi + 0x10]
push eax
push 0x1006
push 0xffff
mov eax, dword [edi + 4]
push eax
call sub.wsock32.dll_setsockopt
inc eax
jne 0x416433
call sub.wsock32.dll_WSAGetLastError
mov dword [edi + 0x14], eax
jmp 0x4164ae
movzx eax, word [ebp - 2]
push eax
call sub.wsock32.dll_htons
mov word [edi + 0x1e], ax
push 0x10
lea eax, [edi + 0x1c]
push eax
mov eax, dword [edi + 4]
push eax
call sub.wsock32.dll_connect
inc eax
jne 0x41645d
call sub.wsock32.dll_WSAGetLastError
mov dword [edi + 0x14], eax
jmp 0x4164ae
movzx eax, si
push eax
push 0x30
lea eax, [edi + 0x2d]
push eax
mov eax, dword [edi + 4]
push eax
call sub.wsock32.dll_send
inc eax
jne 0x41647d
call sub.wsock32.dll_WSAGetLastError
mov dword [edi + 0x14], eax
jmp 0x4164ae
lea eax, [edi + 0x2d]
xor ecx, ecx
mov edx, 0x30
call fcn.00404a8c
movzx eax, si
push eax
push 0x30
lea eax, [edi + 0x2d]
push eax
mov eax, dword [edi + 4]
push eax
call sub.wsock32.dll_recv
inc eax
jne 0x4164ac
call sub.wsock32.dll_WSAGetLastError
mov dword [edi + 0x14], eax
jmp 0x4164ae
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x426b74
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x426bad
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406cac
jmp 0x426bb6
mov eax, ebx
mov edx, esi
call fcn.00406f04
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x426bc0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x426be2
movzx eax, word [esp]
jmp 0x426be4
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4278a8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x4279cd
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004276b0
mov esi, eax
mov eax, dword [0x45a184]
cmp byte [eax], 0
je 0x427975
mov eax, dword [0x45a030]
call fcn.00404a28
call fcn.004044c0
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x427878]
call fcn.0040852c
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4279e8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4279b1
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x45a008]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45dc48]
call fcn.004085f0
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4279d4
lea eax, [ebp - 4]
mov edx, dword [0x427878]
call fcn.00408538
ret

Function at 0x429058
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00407478
add esp, 0x800
pop ebx
ret
Function at 0x430b84
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
cmp byte [0x460118], 0
jne 0x430dc8
lea eax, [ebp - 0x11c]
xor ecx, ecx
mov edx, 0x11c
call fcn.00404a8c
mov dword [ebp - 0x11c], 0x11c
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetVersionExW
mov byte [0x460118], 0
mov eax, dword [ebp - 0x10c]
sub eax, 1
jb 0x430bde
je 0x430bea
dec eax
je 0x430c41
jmp 0x430dc8
mov byte [0x460118], 1
jmp 0x430dc8
cmp dword [ebp - 0x118], 4
jne 0x430dc8
mov eax, dword [ebp - 0x114]
cmp eax, 0x5a
jb 0x430c0e
mov byte [0x460118], 6
jmp 0x430dc8
cmp eax, 0xa
jb 0x430c35
cmp word [ebp - 0x106], 0x41
jne 0x430c29
mov byte [0x460118], 5
jmp 0x430dc8
mov byte [0x460118], 4
jmp 0x430dc8
mov byte [0x460118], 2
jmp 0x430dc8
mov eax, dword [ebp - 0x118]
cmp eax, 6
jb 0x430c55
cmp dword [ebp - 0x114], 4
jae 0x430c5a
cmp eax, 0xa
jb 0x430c7c
movzx eax, byte [ebp - 2]
add al, 0xfe
sub al, 2
jae 0x430c70
mov byte [0x460118], 0x15
jmp 0x430dc8
mov byte [0x460118], 0x14
jmp 0x430dc8
cmp dword [ebp - 0x118], 6
jb 0x430cb0
cmp dword [ebp - 0x114], 3
jb 0x430cb0
movzx eax, byte [ebp - 2]
add al, 0xfe
sub al, 2
jae 0x430ca4
mov byte [0x460118], 0x13
jmp 0x430dc8
mov byte [0x460118], 0x12
jmp 0x430dc8
cmp dword [ebp - 0x118], 6
jb 0x430ce4
cmp dword [ebp - 0x114], 2
jb 0x430ce4
movzx eax, byte [ebp - 2]
add al, 0xfe
sub al, 2
jae 0x430cd8
mov byte [0x460118], 0x11
jmp 0x430dc8
mov byte [0x460118], 0x10
jmp 0x430dc8
mov eax, dword [ebp - 0x118]
cmp eax, 6
jb 0x430d1a
cmp dword [ebp - 0x114], 1
jb 0x430d1a
movzx eax, byte [ebp - 2]
add al, 0xfe
sub al, 2
jae 0x430d0e
mov byte [0x460118], 0xe
jmp 0x430dc8
mov byte [0x460118], 0xf
jmp 0x430dc8
cmp eax, 6
jb 0x430d41
movzx eax, byte [ebp - 2]
add al, 0xfe
sub al, 2
jae 0x430d35
mov byte [0x460118], 0xd
jmp 0x430dc8
mov byte [0x460118], 0xc
jmp 0x430dc8
cmp dword [ebp - 0x118], 5
jb 0x430d96
cmp dword [ebp - 0x114], 2
jb 0x430d96
movzx eax, word [ebp - 4]
and ax, 0x8000
cmp ax, 0x8000
jne 0x430d6a
mov byte [0x460118], 0xb
jmp 0x430dc8
cmp byte [ebp - 2], 1
jne 0x430d79
mov byte [0x460118], 8
jmp 0x430dc8
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x430d8d
mov byte [0x460118], 0xa
jmp 0x430dc8
mov byte [0x460118], 9
jmp 0x430dc8
mov eax, dword [ebp - 0x118]
cmp eax, 5
jb 0x430db3
cmp dword [ebp - 0x114], 1
jb 0x430db3
mov byte [0x460118], 8
jmp 0x430dc8
cmp eax, 5
jb 0x430dc1
mov byte [0x460118], 7
jmp 0x430dc8
mov byte [0x460118], 3
mov esp, ebp
pop ebp
ret
Function at 0x430dcc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff820
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov dword [ebp - 8], 0x7d2
lea eax, [ebp - 4]
push eax
mov eax, esi
call fcn.004073e4
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyW
test eax, eax
jne 0x430e67
xor eax, eax
push ebp
push 0x430e60
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x7de]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, edi
call fcn.004073e4
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x430e49
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x7de]
mov ecx, 0x3e9
call fcn.00407478
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430e67
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x433a88
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x433c30
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, ebx
call fcn.00406b24
lea eax, [ebp - 4]
push eax
mov eax, dword [0x45a194]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, dword [0x45a108]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x433c50
call fcn.00410be4
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.004073e4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x433c12
xor eax, eax
push ebp
push 0x433c0b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, esi
call fcn.004073e4
mov edi, eax
push edi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x433b55
cmp dword [ebp - 0x14], 2
jb 0x433b55
cmp dword [ebp - 0x10], 1
je 0x433b5f
call fcn.0040634c
jmp 0x433c12
mov eax, dword [ebp - 0x14]
push eax
call fcn.00409b28
pop ecx
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x433bed
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push edi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x433bd5
mov eax, ebx
call fcn.00406b24
mov edx, dword [ebp - 0x14]
shr edx, 1
mov eax, ebx
call fcn.00407550
mov eax, ebx
call fcn.004070a4
mov edx, eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
call fcn.00404510
lea edx, [ebp - 0x2c]
mov eax, dword [ebx]
call fcn.00410754
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.00406f04
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433bf4
mov eax, dword [ebp - 0x18]
push eax
call fcn.00409b38
pop ecx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433c37
lea eax, [ebp - 0x2c]
call fcn.00406b24
lea eax, [ebp - 4]
call fcn.00406b24
ret
Function at 0x433d4c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x433e49
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
push eax
mov eax, dword [0x45a194]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
mov eax, dword [0x45a108]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x433e68
call fcn.00410be4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20006
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004073e4
push eax
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExW
test eax, eax
jne 0x433e33
xor eax, eax
push ebp
push 0x433e2c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, esi
test ebx, ebx
je 0x433dec
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.004073e4
push eax
push 1
push 0
mov eax, edi
call fcn.004073e4
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433e33
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433e50
lea eax, [ebp - 4]
call fcn.00406b24
ret

Function at 0x435dac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff800
push ebx
mov ebx, ecx
mov word [ebp - 0x800], 0
push 0x400
lea ecx, [ebp - 0x800]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
lea edx, [ebp - 0x800]
mov ecx, 0x400
call fcn.00407478
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x436510
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
push 0
push 0
push edi
movzx eax, si
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov ebx, eax
mov eax, ebx
add eax, eax
call fcn.0040436c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x436575
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [ebp - 4]
push eax
push edi
movzx eax, si
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
call fcn.0040743c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43657c
mov eax, dword [ebp - 4]
call fcn.00404388
ret
Function at 0x437cc4
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], edx
xor eax, eax
push ebp
push 0x437e96
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x437ea4
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExW
test eax, eax
jne 0x437e78
xor edx, edx
push ebp
push 0x437e71
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x437f18
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x437de7
cmp dword [ebp - 0x10], 0
jle 0x437de7
cmp dword [ebp - 8], 1
jne 0x437de7
mov eax, dword [ebp - 0x10]
push eax
call fcn.00409b28
pop ecx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x437de0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
xor ecx, ecx
call fcn.00404a8c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x437f18
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x437dc8
mov ecx, dword [ebp - 0x10]
sar ecx, 1
jns 0x437da1
adc ecx, 0
mov eax, 0x46017c
mov edx, dword [ebp - 0xc]
call fcn.00406cac
lea edx, [ebp - 0x24]
mov eax, dword [0x46017c]
call fcn.004106d8
mov edx, dword [ebp - 0x24]
mov eax, 0x46017c
call fcn.00406f04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437de7
mov eax, dword [ebp - 0xc]
push eax
call fcn.00409b38
pop ecx
ret
mov eax, dword [0x46017c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x437dfb
sub eax, 4
mov eax, dword [eax]
test eax, eax
jg 0x437e5a
lea eax, [ebp - 0x20]
call fcn.00410804
test eax, eax
jne 0x437e5a
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x20]
call fcn.00410810
mov edx, dword [ebp - 0x2c]
mov eax, 0x46017c
call fcn.00406f04
mov eax, dword [0x46017c]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x437e37
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, dword [0x46017c]
call fcn.004073e4
push eax
push 1
push 0
push 0x437f18
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437e78
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437e9d
lea eax, [ebp - 0x2c]
call fcn.00406b24
lea eax, [ebp - 0x24]
call fcn.00406b24
ret