joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465024
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
add esp, 0xfffffef0
mov esi, eax
mov eax, esi
call fcn.00403c18
xor ebx, ebx
push esp
push 0x20019
push 0
push 0x46509c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x465091
mov dword [esp + 4], 0x105
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x4650bc
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea edx, [esp + 8]
mov eax, esi
mov ecx, dword [esp + 4]
call fcn.00403d00
mov bl, 1
mov eax, ebx
add esp, 0x110
pop esi
pop ebx
ret

Function at 0x465be0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x465be9
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x465d6b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.00403c18
lea eax, [ebp - 0x18]
call fcn.00403c18
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x4c]
test ebx, ebx
jle 0x465c9f
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, ebx
call fcn.00408354
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x465d80
call fcn.00403ee4
mov edx, dword [ebp - 0x1c]
mov cl, 1
mov eax, dword [0x46cde0]
call fcn.00461eb4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x465c98
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
jne 0x465c82
cmp dword [eax + 8], 1
jne 0x465c82
lea ecx, [ebp - 0x14]
mov edx, 0x465da8
mov eax, dword [ebp - 0x10]
call fcn.00462320
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465c9f
mov eax, dword [ebp - 0x10]
call fcn.00402eb4
ret
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x50]
test ebx, ebx
jle 0x465d22
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, ebx
call fcn.00408354
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x465d80
call fcn.00403ee4
mov edx, dword [ebp - 0x24]
mov cl, 1
mov eax, dword [0x46cde0]
call fcn.00461eb4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x465d1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
jne 0x465d05
cmp dword [eax + 8], 1
jne 0x465d05
lea ecx, [ebp - 0x18]
mov edx, 0x465da8
mov eax, dword [ebp - 0x10]
call fcn.00462320
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465d22
mov eax, dword [ebp - 0x10]
call fcn.00402eb4
ret
cmp dword [ebp - 0x14], 0
je 0x465d39
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
add edx, 0x54
mov eax, dword [ebp - 0x14]
call fcn.004687f4
cmp dword [ebp - 0x18], 0
je 0x465d50
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add edx, 0x58
mov eax, dword [ebp - 0x18]
call fcn.004687f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465d72
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.00403c3c
ret
Function at 0x465c9f
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x465be9
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x465d6b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.00403c18
lea eax, [ebp - 0x18]
call fcn.00403c18
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x4c]
test ebx, ebx
jle 0x465c9f
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, ebx
call fcn.00408354
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x465d80
call fcn.00403ee4
mov edx, dword [ebp - 0x1c]
mov cl, 1
mov eax, dword [0x46cde0]
call fcn.00461eb4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x465c98
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
jne 0x465c82
cmp dword [eax + 8], 1
jne 0x465c82
lea ecx, [ebp - 0x14]
mov edx, 0x465da8
mov eax, dword [ebp - 0x10]
call fcn.00462320
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465c9f
mov eax, dword [ebp - 0x10]
call fcn.00402eb4
ret
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x50]
test ebx, ebx
jle 0x465d22
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, ebx
call fcn.00408354
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x465d80
call fcn.00403ee4
mov edx, dword [ebp - 0x24]
mov cl, 1
mov eax, dword [0x46cde0]
call fcn.00461eb4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x465d1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
jne 0x465d05
cmp dword [eax + 8], 1
jne 0x465d05
lea ecx, [ebp - 0x18]
mov edx, 0x465da8
mov eax, dword [ebp - 0x10]
call fcn.00462320
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465d22
mov eax, dword [ebp - 0x10]
call fcn.00402eb4
ret
cmp dword [ebp - 0x14], 0
je 0x465d39
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
add edx, 0x54
mov eax, dword [ebp - 0x14]
call fcn.004687f4
cmp dword [ebp - 0x18], 0
je 0x465d50
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add edx, 0x58
mov eax, dword [ebp - 0x18]
call fcn.004687f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465d72
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.00403c3c
ret
Function at 0x465db0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040404c
xor eax, eax
push ebp
push 0x465f75
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00408238
cmp dword [ebp - 0x10], 0
je 0x465df8
lea eax, [ebp - 4]
mov edx, 0x465f8c
call fcn.00403ea0
push 0x465f9c
push dword [ebp - 4]
push 0x465ffc
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403f58
mov edx, dword [ebp - 0x14]
mov cl, 1
mov eax, dword [0x46cde0]
call fcn.00461eb4
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x465f4b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 8]
push ebx
mov eax, esi
mov ecx, 1
mov edx, dword [0x4658d8]
call fcn.00404f40
add esp, 4
test ebx, ebx
jle 0x465f35
dec ebx
test ebx, ebx
jl 0x465f35
inc ebx
mov dword [ebp - 0xc], ebx
xor ebx, ebx
mov edx, 0x466028
mov eax, dword [ebp - 8]
call fcn.004623b4
mov edi, ebx
shl edi, 2
mov edx, dword [esi]
mov dword [edx + edi*8], eax
mov edx, 0x466034
mov eax, dword [ebp - 8]
call fcn.004623b4
mov edx, dword [esi]
mov dword [edx + edi*8 + 4], eax
lea ecx, [ebp - 0x18]
mov edx, 0x466044
mov eax, dword [ebp - 8]
call fcn.00462208
mov edx, dword [ebp - 0x18]
mov eax, dword [esi]
lea eax, [eax + edi*8 + 8]
call fcn.00403c6c
mov edx, 0x466058
mov eax, dword [ebp - 8]
call fcn.00462288
mov edx, dword [esi]
mov byte [edx + edi*8 + 0xc], al
mov edx, 0x466068
mov eax, dword [ebp - 8]
call fcn.00462288
cmp al, 0x53
sete al
mov edx, dword [esi]
mov byte [edx + edi*8 + 0xd], al
lea ecx, [ebp - 0x1c]
mov edx, 0x46607c
mov eax, dword [ebp - 8]
call fcn.00462208
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi]
lea eax, [eax + edi*8 + 0x10]
call fcn.00403c6c
mov edx, 0x466094
mov eax, dword [ebp - 8]
call fcn.00462288
mov edx, dword [esi]
mov byte [edx + edi*8 + 0x14], al
mov edx, 0x4660a4
mov eax, dword [ebp - 8]
call fcn.004623b4
mov edx, dword [esi]
mov dword [edx + edi*8 + 0x18], eax
mov eax, dword [esi]
mov byte [eax + edi*8 + 0x1c], 0
mov eax, dword [ebp - 8]
call fcn.00461c38
inc ebx
dec dword [ebp - 0xc]
jne 0x465e65
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465f52
mov eax, dword [ebp - 8]
call fcn.00402eb4
ret
Function at 0x433005
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x9670655
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..rsrc
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x40ae2335
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
enter 0x84, 0
sub ebp, 0x82
mov dword [ebp - 2], 0
call fcn.00401554
mov ebx, eax
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, ebx
or al, 0x40
push eax
mov eax, 0x401e00
sub eax, fcn.004015cb
push eax
push fcn.004015cb
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x40107d
mov eax, ebx
lea edx, [ebp - 2]
call fcn.00401478
mov eax, ebx
call fcn.004014c9
lea eax, [ebx + 0x1b600]
lea edx, [ebx - 1]
lea ecx, [ebp - 2]
and edx, eax
test ebx, ebx
je 0x401071
mov eax, 0x402054
add eax, eax
jmp 0x401076
mov eax, 0x402054
mov ebx, ecx
call fcn.004015cb
xor eax, eax
lea esp, [ebp + 0x82]
pop ebp
pop edx
pop ecx
pop ebx
ret

Function at 0x401554
Capabilities:
Delete file
Encode data using base64 via winapi

Disassembly:
push ebx
push ecx
push edx
enter 0x11c, 0
lea ebx, [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push ebx
call dword [sym.imp.USER32.DLL_GetCursorPos]
push 0
push 0
lea ebx, [ebp - 4]
call dword [sym.imp.USER32.DLL_GetWindow]
push ebx
lea ebx, [ebp - 0x18]
push ebx
push 1
push 1
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x11c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
lea eax, [ebp - 0x18]
movzx ebx, byte [ebp - 0x18]
push eax
sub ebx, 0x41
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov eax, ebx
leave
pop edx
pop ecx
pop ebx
ret

Function at 0x4015cb
Capabilities:
Delete file

Disassembly:
hlt
push edi
mov edi, 0x72647246
jb 0x401617
ror byte [ecx + 0x6ed8c765], 0
inc edi
add al, 0xe8
push edi
jbe 0x4015a9
popal
mov dword [ebx + edx*2 + 0x6c], ebp
mov dword [ecx + 0x45], esp
jae 0x401612
and byte [ebp + eax*2], 0x8d
mov dword [edx - 0x39], edx
invalid
inc ebp
call 0x6e75775d
outsb dx, byte [esi]
inc ebp
inc ebp
add al, 0xa2
invalid
Function at 0x1000655b
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi - 0x6c]
mov ecx, esi
call fcn.100092c3
test eax, eax
jne 0x1000657b
mov eax, 0x80070005
jmp 0x100065ec
push esi
mov ecx, esi
call fcn.100092c3
test eax, eax
js 0x100065ea
cmp dword [edi + 0x44], 0
je 0x100065ea
and dword [ebp + 8], 0
lea eax, [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
push eax
call esi
lea eax, [ebp - 8]
push eax
call esi
push 0x14
pop ecx
call fcn.100099b8
test eax, eax
je 0x100065c7
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
and dword [eax + 8], 0
mov dword [eax], vtable.CNameShowContactCardJob.0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
jmp 0x100065c9
xor eax, eax
push eax
lea ecx, [ebp + 8]
call fcn.100092c3
mov esi, dword [ebp + 8]
test esi, esi
je 0x100065ea
mov ecx, dword [edi + 0x44]
push esi
call fcn.100092c3
test eax, eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor eax, eax
pop edi
pop esi
leave
ret 4

Function at 0x100092c3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x100092d2
pop dword [ebp - 0x28]
mov eax, 0x100092d2
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x3a387
push 0
mov eax, 0x2684d9f8
add eax, 0xe97bf6e4
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0xe2f74cd7
sub ecx, 0xe2f6fcc5
xor edi, edi
add edi, eax
mov ebx, 0x10015200
add ebx, dword [ebp - 0x28]
mov edx, 0xfc770c50
sub edx, 0x38fedba0
xor dword [ebp - 0x10], eax
mov esi, dword [ebx]
sub dword [ebp - 4], ecx
sub esi, edx
mov dword [edi], esi
sub dword [ebp - 0x18], ecx
add edi, 0x9f258589
sub edi, 0x9f258585
add ebx, 4
loop 0x10009328
add eax, 0x18c5519e
sub eax, 0x18c41e83
mov ebx, eax
add eax, 5
mov ecx, 0xb21eecf8
add ecx, 0x5de11308
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x406dec
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.0040ab80
test esi, esi
jne 0x406e22
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.0040ad08
jmp 0x406e40
call sub.KERNEL32.DLL_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00406d30
mov edi, eax
test esi, esi
je 0x406e40
cmp dword [ebx], 0
je 0x406e40
dec esi
jmp 0x406e29
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x409780
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.00409be0
mov byte [esp], al
cmp byte [esp], 0
jne 0x40990a
test edi, edi
je 0x40990a
mov byte [esp + 1], 0
test ebp, ebp
jle 0x40984a
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x409825
cmp edi, 0xffffffff
je 0x4097e5
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4097e5
mov byte [esp], 0
jmp 0x40990a
mov ebx, dword [esi]
cmp ebx, 1
jg 0x409825
test ebx, ebx
jne 0x409817
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x409817
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x40990a
lea eax, [esp + 0xc]
call fcn.00409460
dec ebp
test ebp, ebp
jg 0x4097ca
cmp edi, 0xffffffff
je 0x40984a
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x409848
mov byte [esp], 0
jmp 0x40990a
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x40978e
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40984a
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00409978
mov edx, eax
mov ebx, dword [0x6298fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x4098ae
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x4098ac
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x4098ae
xor edi, edi
cmp byte [esp], 0
je 0x4098d4
mov ebx, dword [esi]
test bl, 1
jne 0x4098ea
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4098b4
mov byte [esp + 1], 1
jmp 0x4098ea
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4098d4
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x409861
cmp byte [esp], 0
je 0x40990a
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 0x40a810
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x62905c], 0
je 0x40a877
cmp word [0x629348], 0xd7b2
jne 0x40a839
cmp dword [0x629350], 0
jbe 0x40a839
mov eax, 0x629344
call dword [0x629360]
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, 0x40a8a4
call fcn.0040b47c
push eax
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x61f032], 0
jne 0x40a893
push 0
push 0x61f9ca
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40aa40
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 [0x61f034], 0
je 0x40aa6b
mov edx, edi
mov eax, esi
call dword [0x61f034]
mov ebx, eax
jmp 0x40aa7c
mov eax, 8
call fcn.00406a6c
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x62905d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40aa08
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 0x40aaac
mov eax, ebx
call fcn.00406a88
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40d50c
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 0x40d671
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040ab80
cmp si, word [0x61fa08]
jb 0x40d5a4
cmp si, word [0x61fc08]
ja 0x40d5a4
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40d5a4
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x61fa08]
jae 0x40d57e
mov edi, ebx
dec edi
jmp 0x40d59f
cmp si, word [ebx*8 + 0x61fa08]
jbe 0x40d58e
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40d59f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x61fa0c]
call fcn.0040d42c
jmp 0x40d5a4
cmp edi, dword [ebp - 8]
jae 0x40d568
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40d653
push 2
movzx eax, si
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x40d653
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.0040b834
push dword [ebp - 0x160]
push 0x40d68c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040b834
push dword [ebp - 0x164]
push 0x40d69c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040b834
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040ba6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d678
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040abe0
ret
Function at 0x40d824
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 0x40d928
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x62bb8c
call sub.KERNEL32.DLL_EnterCriticalSection
cmp bx, word [0x62bba4]
jne 0x40d870
mov eax, esi
mov edx, 0x62bba6
mov ecx, 0x55
call fcn.0040b834
push 0x62bb8c
call sub.KERNEL32.DLL_LeaveCriticalSection
jmp 0x40d912
push 0x62bb8c
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, esi
call fcn.0040ab80
push 2
movzx eax, bx
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x40d8df
cmp byte [0x62bb88], 0
je 0x40d8a4
mov edx, esi
mov eax, ebx
call fcn.0040d708
jmp 0x40d8df
mov edx, esi
mov eax, ebx
call fcn.0040d50c
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40d8df
cmp dword [esi], 0
je 0x40d8c8
mov eax, esi
mov edx, 0x40d940
call fcn.0040b98c
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040d50c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040b98c
push 0x62bb8c
call sub.KERNEL32.DLL_EnterCriticalSection
mov word [0x62bba4], bx
mov eax, dword [esi]
call fcn.0040b778
mov ecx, eax
mov eax, 0x62bba6
mov edx, 0xaa
call fcn.0040d38c
push 0x62bb8c
call sub.KERNEL32.DLL_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d92f
lea eax, [ebp - 4]
call fcn.0040ab80
ret
Function at 0x40db58
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040ac64
xor eax, eax
push ebp
push 0x40dd7d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40db98
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
jmp 0x40dbb2
mov eax, dword [ebp - 4]
call fcn.0040b778
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040d38c
cmp word [ebp - 0x21a], 0
je 0x40dd67
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40dd8c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
je 0x40dc81
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40dd8c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
je 0x40dc81
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40ddc8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
je 0x40dc81
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40ddc8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
je 0x40dc81
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40ddfc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
je 0x40dc81
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40de30
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x40dd67
xor eax, eax
push ebp
push 0x40dd60
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040d968
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x40dcf0
mov eax, dword [ebp - 0x10]
call fcn.00406a6c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040b7e0
jmp 0x40dd3b
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40de70
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x40dd3b
mov eax, dword [ebp - 0x10]
call fcn.00406a6c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40de70
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040b7e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dd67
cmp dword [ebp - 8], 0
je 0x40dd56
mov eax, dword [ebp - 8]
call fcn.00406a88
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 0x40dd84
lea eax, [ebp - 4]
call fcn.0040ab80
ret