joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412220
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd000]
push edi
or ebp, 0xffffffff
jmp 0x412242
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x412249
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x412238
mov eax, 1
add ebx, ebx
jne 0x41225b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x412250
jne 0x41226c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412250
xor ecx, ecx
sub eax, 3
jb 0x412280
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4122f2
mov ebp, eax
add ebx, ebx
jne 0x41228b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412298
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4122bc
inc ecx
add ebx, ebx
jne 0x4122a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41229d
jne 0x4122b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41229d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4122dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4122cd
jmp 0x41223e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4122dc
add edi, ecx
jmp 0x41223e
pop esi
mov edi, esi
mov ecx, 0x36b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4122fa
cmp byte [edi], 5
jne 0x4122fa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x4122ff
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x41236e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14258]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x142bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41232c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x142c0]
or eax, eax
je 0x412368
mov dword [ebx], eax
add ebx, 4
jmp 0x412349
call dword [esi + 0x142c4]
popal
jmp 0x407970
Function at 0x402550
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x402562
call fcn.006ff15c
mov eax, dword [0x70a0a3]
shl eax, 2
mov dword [0x70a0a7], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
mov edx, eax
mov dword [0x70a0ab], edx
call fcn.006ef644
pop edx
call fcn.006ef4e0
call fcn.006ef78c
push 0x70a04c
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
mov dword [0x70a0ab], eax
push 0
jmp 0x700ca8
push ebx
push edi
push esi
sub esp, 0x50
mov esi, dword [esp + 0x60]
mov eax, dword [esi + 0x10]
and eax, 1
mov dword [0x726760], eax
call fcn.006ef758
sub esp, 8
push dword [esi + 0x20]
push dword [esi + 0x1c]
call fcn.006fc51c
add esp, 4
push dword [esi + 0x28]
call fcn.006f1c1c
add esp, 4
push dword [esi + 0x44]
call fcn.006f1c2c
add esp, 0x10
mov dword [0x738e98], 1
mov dword [0x738e9c], esi
lea eax, [esp + 4]
mov dword [0x738e60], eax
call fcn.00702024
call sub.KERNEL32.DLL_GetEnvironmentStringsW
mov dword [0x738e68], eax
call sub.KERNEL32.DLL_GetCommandLineW
mov dword [0x738e70], eax
sub esp, 8
push dword [esi + 0x30]
push dword [esi + 0x2c]
call fcn.006ff70c
add esp, 0x10
push dword [esi + 0x40]
push dword [esi + 0x3c]
push dword [esi + 0x38]
push dword [esi + 0x34]
call fcn.006ff74c
add esp, 8
push 0
push 0x738e98
call fcn.00700a80
add esp, 0x10
test byte [esi + 0x10], 1
jne 0x700d7c
sub esp, 4
push dword [0x738e8c]
push dword [0x738e88]
push dword [0x738e7c]
call dword [esi + 0x18]
add esp, 0x10
push 0xffffffffffffffff
push eax
push 0
push 0
jmp 0x700e4e
mov eax, dword [0x738e70]
nop dword [eax]
add eax, 2
movzx ecx, word [eax - 2]
cmp ecx, 9
je 0x700d88
movzx edx, cx
cmp edx, 0x20
je 0x700d88
cmp edx, 0x22
jne 0x700dab
mov cx, word [eax]
mov edx, 0x22
jmp 0x700db3
add eax, 0xfffffffe
mov edx, 0x20
movzx edi, cx
cmp edx, edi
je 0x700de0
nop word cs:[eax + eax]
test cx, cx
je 0x700de0
movzx edi, cx
cmp edi, 9
je 0x700de0
movzx ecx, word [eax + 2]
add eax, 2
cmp edx, ecx
jne 0x700dc8
movzx ecx, cx
lea edi, [eax + 2]
cmp ecx, 0x22
cmovne edi, eax
jmp 0x700dfb
add edi, 2
movzx eax, word [edi]
cmp eax, 0x20
je 0x700df8
movzx eax, ax
cmp eax, 9
je 0x700df8
mov ebx, dword [esi + 0x18]
sub esp, 0xc
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
add esp, 0xc
mov esi, eax
sub esp, 0xc
lea eax, [esp + 0x18]
push eax
call sub.KERNEL32.DLL_GetStartupInfoW
add esp, 0xc
mov eax, dword [esp + 0x38]
test al, 1
movzx eax, word [esp + 0x3c]
mov ecx, 0xa
cmovne ecx, eax
push ecx
push edi
push 0
push esi
call ebx
push 0xffffffffffffffff
push eax
push 0
push 0
call fcn.006ff510
add esp, 0x10
add esp, 0x50
pop esi
pop edi
pop ebx
ret
Function at 0x40f2a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push edi
push esi
sub esp, 0x210
mov ebx, dword [esp + 0x224]
sub esp, 4
lea edi, [esp + 0x14]
push pe_nt_image_headers32
push 0
push edi
call fcn.006f003b
add esp, 0x10
mov dword [esp + 8], 1
test ebx, ebx
je 0x40f36e
sub esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push 0x713238
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExW
add esp, 0xc
mov esi, 0xfffffffe
test eax, eax
jne 0x40f3a4
mov dword [esp + 0xc], pe_nt_image_headers32
sub esp, 8
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push edi
push ecx
push 0
push str.MachineGuid
push dword [esp + 0x20]
call sub.ADVAPI32.DLL_RegQueryValueExW
add esp, 8
mov esi, 0xfffffffd
test eax, eax
jne 0x40f386
sub esp, 0xc
push edi
call fcn.0041e398
add esp, 0x10
mov edi, eax
sub esp, 8
push 0x712898
push edi
call fcn.004209b0
add esp, 0x10
test eax, eax
je 0x40f375
sub esp, 8
push edi
push ebx
call fcn.006f0154
add esp, 0x10
mov esi, 1
jmp 0x40f37a
mov esi, 0xffffffff
jmp 0x40f3a4
mov esi, 0xfffffffc
sub esp, 0xc
push edi
call fcn.0041fbdc
add esp, 0x10
sub esp, 0xc
push dword [esp + 0x10]
call sub.ADVAPI32.DLL_RegFlushKey
add esp, 0xc
sub esp, 0xc
push dword [esp + 0x10]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0xc
mov eax, esi
add esp, 0x210
pop esi
pop edi
pop ebx
ret

Function at 0x40f768
Capabilities:
Reference google public dns server

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1fc
lea eax, [ebp - 0x1f4]
mov dword [esp], eax
mov dword [esp + 8], 0x1a0
mov dword [esp + 4], str.8.8.8.8
call fcn.006efe70
mov edi, 0x1734
add edi, dword [ebp + 8]
mov dword [ebp - 0x38], 0x704438
mov dword [ebp - 0x34], 0x714d0c
mov dword [ebp - 0x30], ebp
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x30], 0x40f8ad
lea eax, [ebp - 0x54]
call fcn.007050a1
xor esi, esi
mov eax, 0xffffffff
nop dword [eax]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
shl esi, 5
lea esi, [ebp + esi - 0x1f4]
mov dword [esp], esi
call fcn.006f01a0
cmp eax, 7
mov dword [ebp - 0x1c], edi
jb 0x40f838
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x4c], 0xffffffff
mov dword [esp + 4], esi
lea esi, [ebp - 0x10]
mov dword [esp], esi
mov dword [esp + 8], 0
call fcn.00706e98
mov dword [ebp - 0x4c], 1
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.00706f90
lea eax, [ebp - 0x10]
mov dword [esp], eax
call fcn.00406480
mov esi, dword [ebp - 0x14]
inc esi
jmp 0x40f882
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x4c], 0xffffffff
lea esi, [ebp - 0x10]
mov dword [esp], esi
mov dword [esp + 8], 0
mov dword [esp + 4], str.8.8.4.4
call fcn.00706e98
mov dword [ebp - 0x4c], 2
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.00706f90
lea eax, [ebp - 0x10]
mov dword [esp], eax
call fcn.00406480
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
inc eax
mov edi, dword [ebp - 0x1c]
add edi, 4
cmp eax, 6
jb 0x40f7c8
lea eax, [ebp - 0x54]
mov dword [esp], eax
call fcn.007050c2
mov eax, esi
add esp, 0x1fc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4141cc
Capabilities:
Query or enumerate registry value

Disassembly:
push edi
push esi
sub esp, 0x214
sub esp, 4
lea esi, [esp + 0x18]
push pe_nt_image_headers32
push 0
push esi
call fcn.006f003b
add esp, 0x10
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
sub esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push 0x7131dc
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExW
add esp, 0xc
mov edi, 0xffffffff
test eax, eax
jne 0x4142e1
mov dword [esp + 0x10], pe_nt_image_headers32
sub esp, 8
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push esi
push ecx
push 0
push str.Nation
push dword [esp + 0x20]
call sub.ADVAPI32.DLL_RegQueryValueExW
add esp, 8
mov edi, 0xfffffffd
test eax, eax
jne 0x4142c3
sub esp, 0xc
push esi
call fcn.0041e398
add esp, 0x10
mov esi, eax
sub esp, 8
push str.0123456789
push esi
call fcn.00420a18
add esp, 0x10
test eax, eax
je 0x4142a5
cmp byte [esi], 0
je 0x4142ac
sub esp, 4
lea eax, [esp + 0xc]
push eax
push 0x713235
push esi
call fcn.006f49ac
add esp, 0x10
cmp eax, 1
je 0x4142b3
mov edi, 0xfffffffa
jmp 0x4142b7
mov edi, 0xfffffffc
jmp 0x4142b7
mov edi, 0xfffffffb
jmp 0x4142b7
mov edi, dword [esp + 8]
sub esp, 0xc
push esi
call fcn.0041fbdc
add esp, 0x10
sub esp, 0xc
push dword [esp + 0x10]
call sub.ADVAPI32.DLL_RegFlushKey
add esp, 0xc
sub esp, 0xc
push dword [esp + 0x10]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0xc
mov eax, edi
add esp, 0x214
pop esi
pop edi
ret
Function at 0x420f68
Capabilities:
Delete file

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0042015c
mov esi, eax
test esi, esi
je 0x421024
mov dword [esp + 4], str..1251
mov dword [esp], 0xff
call fcn.006fb8f0
mov dword [esp], esi
call fcn.006f01a0
mov ebx, eax
lea eax, [ebx + 1]
lea ebp, [ebx + ebx + 2]
add eax, eax
mov ecx, 0xffffffff
jb 0x420fbd
mov ecx, eax
mov dword [esp], ecx
call fcn.006e864c
mov edi, eax
mov dword [esp + 8], ebp
mov dword [esp], edi
mov dword [esp + 4], 0
call fcn.006f003b
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.006fb3f0
cmp eax, ebx
je 0x420fff
mov dword [esp], edi
mov dword [esp + 4], 0x717a44
call fcn.006efbc0
test edi, edi
je 0x421026
mov dword [esp], edi
call sub.KERNEL32.DLL_DeleteFileW
sub esp, 4
test eax, eax
setne bl
jne 0x42101a
call sub.KERNEL32.DLL_GetLastError
mov dword [esp], edi
call fcn.006e2f5c
jmp 0x421026
jmp 0x42102e
mov dword [esp], esi
call fcn.006e2f5c
and bl, 1
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x423d30
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebx
push edi
push esi
sub esp, 0x60
mov bl, byte [esp + 0x78]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x44
sub esp, 0xc
push eax
call fcn.0042103c
add esp, 0x10
mov esi, eax
mov dword [esp + 0x38], 0x101
sub esp, 0xc
push 0xfffffffffffffff6
call sub.KERNEL32.DLL_GetStdHandle
add esp, 0xc
mov dword [esp + 0x44], eax
sub esp, 0xc
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
add esp, 0xc
mov dword [esp + 0x48], eax
sub esp, 0xc
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
add esp, 0xc
mov dword [esp + 0x4c], eax
xor eax, eax
test bl, bl
jne 0x423e01
mov ax, 5
mov word [esp + 0x3c], ax
mov eax, 0x8000020
jne 0x423e12
mov eax, 0x20
sub esp, 8
lea ecx, [esp + 0x58]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push eax
push 0
push 0
push 0
push esi
push 0
call sub.KERNEL32.DLL_CreateProcessW
add esp, 8
mov edi, eax
sub esp, 0xc
push dword [esp + 0x54]
call sub.KERNEL32.DLL_CloseHandle
add esp, 0xc
test edi, edi
je 0x423e7c
mov eax, dword [esp + 0x74]
test eax, eax
je 0x423e75
sub esp, 8
mov edi, 0xffffffff
push eax
push dword [esp + 0x5c]
call sub.KERNEL32.DLL_WaitForSingleObject
add esp, 8
cmp eax, 0x7f
jg 0x423e87
cmp eax, 0xffffffff
je 0x423e9c
test eax, eax
jne 0x423ea8
mov edi, 1
jmp 0x423ea8
mov edi, 0xffffffff
test esi, esi
jne 0x423eca
jmp 0x423ed6
cmp eax, 0x102
je 0x423ea3
cmp eax, 0x80
jne 0x423ea8
mov edi, 3
jmp 0x423ea8
mov edi, 0xfffffffe
jmp 0x423ea8
mov edi, 2
sub esp, 0xc
push dword [esp + 0x5c]
call sub.KERNEL32.DLL_CloseHandle
add esp, 0xc
sub esp, 0xc
push dword [esp + 0x60]
call sub.KERNEL32.DLL_CloseHandle
add esp, 0xc
test esi, esi
je 0x423ed6
sub esp, 0xc
push esi
call fcn.006e2f5c
add esp, 0x10
mov eax, edi
add esp, 0x60
pop esi
pop edi
pop ebx
ret
Function at 0x42c0f8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0042eeb0
test esi, esi
jne 0x42c12e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0042f048
jmp 0x42c14c
call sub.KERNEL32.DLL_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0042bfd8
mov edi, eax
test esi, esi
je 0x42c14c
cmp dword [ebx], 0
je 0x42c14c
dec esi
jmp 0x42c135
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x42dbcc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.0042e08c
mov byte [esp], al
cmp byte [esp], 0
jne 0x42dd55
test edi, edi
je 0x42dd55
mov byte [esp + 1], 0
test ebp, ebp
jle 0x42dc95
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x42dc70
cmp edi, 0xffffffff
je 0x42dc31
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x42dc31
mov byte [esp], 0
jmp 0x42dd55
cmp dword [esi], 1
jg 0x42dc70
cmp dword [esi], 0
jne 0x42dc62
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x42dc62
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x42dd55
lea eax, [esp + 0xc]
call fcn.0042d880
dec ebp
test ebp, ebp
jg 0x42dc16
cmp edi, 0xffffffff
je 0x42dc95
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x42dc93
mov byte [esp], 0
jmp 0x42dd55
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x42dbda
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x42dc95
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.0042ddd0
mov edx, eax
mov ebx, dword [0x729450]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x42dcf9
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x42dcf7
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x42dcf9
xor edi, edi
cmp byte [esp], 0
je 0x42dd1f
mov ebx, dword [esi]
test bl, 1
jne 0x42dd35
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x42dcff
mov byte [esp + 1], 1
jmp 0x42dd35
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x42dd1f
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x42dcac
cmp byte [esp], 0
je 0x42dd55
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42eb48
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x728bb0], 0
je 0x42ebaf
cmp word [0x728e9c], 0xd7b2
jne 0x42eb71
cmp dword [0x728ea4], 0
jbe 0x42eb71
mov eax, 0x728e98
call dword [0x728eb4]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x42ebdc
call fcn.0042f828
push eax
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x718704], 0
jne 0x42ebcb
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret

Function at 0x42ed70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x7186c4], 0
je 0x42ed9b
mov edx, edi
mov eax, esi
call dword [0x7186c4]
mov ebx, eax
jmp 0x42edac
mov eax, 8
call fcn.0042b90c
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x728bb1], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x42ed38
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_CreateThread
mov esi, eax
test esi, esi
jne 0x42eddc
mov eax, ebx
call fcn.0042b928
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x432878
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4329df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042eeb0
cmp si, word [0x7190d8]
jb 0x432910
cmp si, word [0x7192d8]
ja 0x432910
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x432910
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x7190d8]
jae 0x4328ea
mov edi, ebx
dec edi
jmp 0x43290b
cmp si, word [ebx*8 + 0x7190d8]
jbe 0x4328fa
inc ebx
mov dword [ebp - 8], ebx
jmp 0x43290b
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x7190dc]
call fcn.00432794
jmp 0x432910
cmp edi, dword [ebp - 8]
jae 0x4328d4
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4329bf
push 2
movzx eax, si
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x4329bf
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0042fbe4
push dword [ebp - 0x160]
push 0x4329fc
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0042fbe4
push dword [ebp - 0x164]
push 0x432a0c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0042fbe4
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0042fe1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4329e6
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0042ef10
pop eax
jmp eax
Function at 0x432b94
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x432c9a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x72b774
call sub.KERNEL32.DLL_EnterCriticalSection
cmp bx, word [0x72b78c]
jne 0x432be0
mov eax, esi
mov edx, 0x72b78e
mov ecx, 0x55
call fcn.0042fbe4
push 0x72b774
call sub.KERNEL32.DLL_LeaveCriticalSection
jmp 0x432c82
push 0x72b774
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, esi
call fcn.0042eeb0
push 2
movzx eax, bx
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x432c4f
cmp byte [0x72b770], 0
je 0x432c14
mov edx, esi
mov eax, ebx
call fcn.00432a78
jmp 0x432c4f
mov edx, esi
mov eax, ebx
call fcn.00432878
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
cmp bx, ax
je 0x432c4f
cmp dword [esi], 0
je 0x432c38
mov eax, esi
mov edx, 0x432cb4
call fcn.0042fd3c
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00432878
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0042fd3c
push 0x72b774
call sub.KERNEL32.DLL_EnterCriticalSection
mov word [0x72b78c], bx
mov eax, dword [esi]
call fcn.0042fb30
mov ecx, eax
mov eax, 0x72b78e
mov edx, 0xaa
call fcn.004326f4
push 0x72b774
call sub.KERNEL32.DLL_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432ca1
lea eax, [ebp - 4]
call fcn.0042eeb0
pop eax
jmp eax
Function at 0x432edc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042efa4
xor eax, eax
push ebp
push 0x433104
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x432f22
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
jmp 0x432f3c
mov eax, dword [ebp - 4]
call fcn.0042fb30
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.004326f4
cmp word [ebp - 0x21e], 0
je 0x4330e7
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x433114
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x43300b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x433114
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x43300b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x433150
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x43300b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x433150
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x43300b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x433184
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x43300b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x4331b8
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x4330e7
xor eax, eax
push ebp
push 0x4330e0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.00432cdc
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x43306e
mov eax, dword [ebp - 0x14]
call fcn.0042b90c
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0042fb90
jmp 0x4330b9
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x4331f8
mov eax, dword [ebp - 0x10]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x4330b9
mov eax, dword [ebp - 0x14]
call fcn.0042b90c
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x4331f8
mov eax, dword [ebp - 0x10]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0042fb90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4330e7
cmp dword [ebp - 0xc], 0
je 0x4330d4
mov eax, dword [ebp - 0xc]
call fcn.0042b928
mov eax, dword [ebp - 0x10]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43310b
lea eax, [ebp - 8]
mov edx, 2
call fcn.0042ef10
pop eax
jmp eax