joyce8/EMBER2024-capa huggingface dataset:
Function at 0x773f70
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x18]
and ebp, 0x1f
push edi
mov edi, dword [esp + 0x20]
cmp ebp, 8
jb 0x77408d
mov eax, ebp
shr eax, 3
cmp dword [esp + 0x28], 1
jne 0x774010
mov dword [esp + 0x10], eax
push 0xc2b2ae3d
push 0x27d4eb4f
push dword [edi + 4]
push dword [edi]
call fcn.007bcf30
mov ecx, eax
add edi, 8
push 0x9e3779b1
shld ecx, edx, 0x1f
shld edx, eax, 0x1f
push 0x85ebca87
push edx
push ecx
call fcn.007bcf30
mov ecx, eax
xor edx, esi
xor ecx, ebx
mov eax, ecx
push 0x9e3779b1
shld eax, edx, 0x1b
shld edx, ecx, 0x1b
push 0x85ebca87
push edx
push eax
call fcn.007bcf30
mov ebx, eax
mov esi, edx
add ebx, 0xc2b2ae63
adc esi, 0x85ebca77
sub ebp, 8
sub dword [esp + 0x10], 1
jne 0x773fa1
jmp 0x77408d
mov dword [esp + 0x10], eax
nop dword [eax]
nop dword [eax + eax]
push 0xc2b2ae3d
push 0x27d4eb4f
push dword [edi + 4]
push dword [edi]
call fcn.007bcf30
mov ecx, eax
add edi, 8
push 0x9e3779b1
shld ecx, edx, 0x1f
shld edx, eax, 0x1f
push 0x85ebca87
push edx
push ecx
call fcn.007bcf30
mov ecx, eax
xor edx, esi
xor ecx, ebx
mov eax, ecx
push 0x9e3779b1
shld eax, edx, 0x1b
shld edx, ecx, 0x1b
push 0x85ebca87
push edx
push eax
call fcn.007bcf30
mov ebx, eax
mov esi, edx
add ebx, 0xc2b2ae63
adc esi, 0x85ebca77
sub ebp, 8
sub dword [esp + 0x10], 1
jne 0x774020
mov eax, ebp
mov edx, edi
mov dword [esp + 0x20], eax
cmp ebp, 4
jb 0x7740f4
cmp dword [esp + 0x28], 1
mov eax, edx
mov ecx, dword [eax]
jne 0x7740a5
add eax, 4
mov dword [esp + 0x20], eax
mov eax, 0x9e3779b1
mul ecx
push 0xc2b2ae3d
mov edi, eax
mov eax, 0x85ebca87
mul ecx
push 0x27d4eb4f
add edi, edx
xor eax, ebx
xor edi, esi
mov ecx, eax
shld ecx, edi, 0x17
shld edi, eax, 0x17
push edi
push ecx
call fcn.007bcf30
mov edi, dword [esp + 0x20]
mov ebx, eax
add ebx, 0x9e3779f9
mov esi, edx
adc esi, 0x165667b1
sub ebp, 4
test ebp, ebp
je 0x774140
nop dword [eax + eax]
movzx eax, byte [edi]
push 0x27d4eb2f
cdq
push 0x165667c5
push edx
push eax
call fcn.007bcf30
xor ebx, eax
lea edi, [edi + 1]
xor esi, edx
mov eax, ebx
push 0x9e3779b1
shld eax, esi, 0xb
push 0x85ebca87
shld esi, ebx, 0xb
push esi
push eax
call fcn.007bcf30
mov ebx, eax
mov esi, edx
sub ebp, 1
jne 0x774100
push 0xc2b2ae3d
xor ecx, ecx
mov edx, esi
push 0x27d4eb4f
shr edx, 1
xor ecx, esi
xor edx, ebx
push ecx
push edx
call fcn.007bcf30
mov esi, eax
mov ecx, edx
shrd esi, ecx, 0x1d
push 0x165667b1
shr ecx, 0x1d
xor esi, eax
push 0x9e3779f9
xor ecx, edx
push ecx
push esi
call fcn.007bcf30
mov ecx, edx
xor esi, esi
pop edi
xor eax, ecx
xor edx, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x7bd80f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x7bd84e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x7bd84e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x7bd84e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x7bd84e
cmp dword [ecx + 0x74], 0xe
jbe 0x7bd84e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x7c6960
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
push str.api_ms_win_core_synch_l1_2_0.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
je 0x7c69a0
mov edi, eax
push str.WaitOnAddress
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x7c69a0
mov esi, eax
push str.WakeByAddressSingle
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x7c69a0
mov ebx, eax
xor edi, edi
jmp 0x7c6a08
push 0x84d5c0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
je 0x7c6a61
mov esi, eax
push str.NtCreateKeyedEvent
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x7c6a61
mov ebx, eax
push str.NtReleaseKeyedEvent
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x7c6a61
mov edi, eax
push str.NtWaitForKeyedEvent
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x7c6a61
mov esi, eax
mov eax, esp
push 0
push 0
push 0xc0000000
push eax
call ebx
test eax, eax
jne 0x7c6a61
mov ebx, dword [esp]
movzx eax, byte [0x94bfc5]
xor ecx, ecx
mov edx, 0xc
call fcn.0071ee80
test eax, eax
je 0x7c6a94
mov dword [eax], edi
mov dword [eax + 4], esi
mov ebp, eax
mov dword [eax + 8], ebx
xor eax, eax
lock cmpxchg dword [0x94be4c], ebp
je 0x7c6a57
cmp dword [ebp], 0
mov esi, eax
je 0x7c6a46
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CloseHandle]
push ebp
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ebp, esi
mov eax, ebp
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esp
mov edx, 0x84d6d4
mov dword [esp], str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_
mov dword [esp + 4], 1
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x93d1f8
mov dword [esp + 0xc], 0
call fcn.007c1b50
mov ecx, 4
mov edx, 0xc
call fcn.007c1490
int3
Function at 0x7ca6b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov ebp, dword [edx]
mov esi, dword [esp + 0x80]
mov eax, dword [esp + 0x78]
lea edi, [ebp - 1]
cmp edi, 2
jae 0x7ca6dd
cmp dword [edx + 0xc], esi
jbe 0x7ca74c
mov edx, dword [edx + 8]
cmp byte [edx + esi], 0xc0
setge dl
jmp 0x7ca74f
mov dword [esp], ecx
mov ecx, dword [edx + 4]
mov edi, dword [edx + 8]
mov ebx, dword [edx + 0x10]
mov dword [esp + 4], ecx
mov ecx, dword [edx + 0xc]
mov dword [esp + 8], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + 0x14]
movzx edx, byte [edx + 0x18]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x48], ebp
mov ebp, ecx
mov ecx, dword [esp + 4]
cmp ebp, edi
mov dword [esp + 0x4c], ecx
mov byte [esp + 0x60], dl
jae 0x7ca763
mov edx, dword [esp + 0x7c]
cmp ebp, esi
jbe 0x7ca7f9
mov ecx, dword [esp + 8]
cmp byte [ecx + esi], 0xbf
jg 0x7ca7fb
jmp 0x7ca81b
sete dl
movzx edx, dl
mov dword [ecx], edx
mov edx, dword [esp + 0x7c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
jmp 0x7ca813
mov edx, dword [esp + 0x7c]
lea ecx, [edi + 1]
mov dword [esp + 4], ecx
cmp esi, ebp
jae 0x7ca790
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, dword [esp + 8]
cmp byte [ecx + esi], 0xc0
jl 0x7ca792
jmp 0x7ca7fb
je 0x7ca7fb
inc ebx
je 0x7ca81e
cmp dword [esp + 4], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
jb 0x7ca830
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0x20]
lea eax, [esp + 0x48]
mov dword [esp + 0x58], ebx
push eax
push dword [esp + 0x8c]
call fcn.004d69a0
add esp, 8
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp ecx, 1
jne 0x7ca7e7
mov edx, dword [esp + 0x28]
mov esi, edx
cmp esi, ebp
jae 0x7ca790
jmp 0x7ca780
cmp ecx, 2
jne 0x7ca80c
mov ecx, dword [esp]
mov dword [ecx + 4], eax
mov eax, 2
jmp 0x7ca811
jne 0x7ca81b
mov ecx, dword [esp]
mov dword [ecx], 1
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
jmp 0x7ca813
mov ecx, dword [esp]
xor eax, eax
mov dword [ecx], eax
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
inc ebx
jne 0x7ca828
mov ecx, 0x85196c
call fcn.007c1fe0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
lea eax, [esp + 0xc]
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], 0x8a81e4
mov dword [esp + 0x24], 2
mov dword [esp + 0x30], 0
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x418b90
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x20]
mov edx, 0x8519f0
mov dword [esp + 0x44], 0x4631b0
mov dword [esp + 0x2c], 2
call fcn.007c1b50
int3
Function at 0x7ca890
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov esi, dword [edx]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
lea edi, [esi - 1]
cmp edi, 2
jae 0x7ca8c8
cmp dword [edx + 0xc], ebx
jbe 0x7ca9b3
mov edx, dword [edx + 8]
cmp byte [edx + ebx], 0xc0
setge dl
jmp 0x7ca9b6
mov dword [esp + 0xc], ebp
mov ebp, dword [edx + 0x10]
mov edi, dword [edx + 8]
mov dword [esp], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x18], ebp
mov dword [esp + 4], ecx
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x50], edi
mov dword [esp + 8], edi
mov ebp, dword [edx + 0x14]
movzx edx, byte [edx + 0x18]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x48], esi
mov esi, dword [esp + 4]
mov dword [esp + 4], ecx
mov dword [esp + 0x4c], esi
mov byte [esp + 0x60], dl
lea edx, [ebp - 1]
cmp edx, ecx
jbe 0x7ca940
cmp ecx, ebx
jbe 0x7ca9c6
mov ecx, dword [esp + 8]
cmp byte [ecx + ebx], 0xbf
jg 0x7ca9c8
jmp 0x7ca9e0
cmp ebx, ecx
jae 0x7ca950
mov ecx, dword [esp + 8]
cmp byte [ecx + ebx], 0xc0
jl 0x7ca952
jmp 0x7ca9c8
je 0x7ca9c8
xor ebx, ebx
test ebp, ebp
je 0x7caa61
lea esi, [ebp - 1]
cmp ebp, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
jb 0x7ca9f1
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0x20]
lea eax, [esp + 0x48]
mov dword [esp + 0x5c], esi
push eax
push dword [esp + 0x8c]
call fcn.004d9cf0
add esp, 8
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp ecx, 1
jne 0x7caa4f
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 4]
mov ebp, esi
mov dword [esp + 0xc], ebx
jmp 0x7ca940
sete dl
movzx edx, dl
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebp
jmp 0x7caa66
jne 0x7ca9e0
mov ecx, dword [esp]
mov edx, dword [esp + 0xc]
mov dword [ecx], 1
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
jmp 0x7caa66
mov ecx, dword [esp]
xor ebx, ebx
test ebp, ebp
je 0x7caa64
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov eax, dword [esp + 4]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], 0x8a81e4
mov dword [esp + 0x24], 2
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], 0x418b90
mov dword [esp + 0x40], edx
mov edx, 0x8519f0
mov dword [esp + 0x44], 0x4631b0
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 2
mov dword [esp + 0x1c], eax
call fcn.007c1b50
cmp ecx, 2
mov ecx, dword [esp]
jne 0x7caa64
mov dword [ecx + 4], eax
mov ebx, 2
jmp 0x7caa64
mov ecx, dword [esp]
mov dword [ecx], ebx
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x7d1810
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
cmp dword [ecx + 4], 0
mov esi, ecx
je 0x7d1891
lea ebx, [esi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x7d18cc
cmp dword [esp + 4], 0
je 0x7d18b3
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x7d18ea
mov edi, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x94bf28]
nop word cs:[eax + eax]
nop
mov dword [esi + 8], eax
lock cmpxchg dword [0x94bf28], esi
jne 0x7d1870
mov byte [0x94bf24], 1
push 0
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
jmp 0x7d18c3
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x7d192b
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x7d18b7
mov edi, dword [esp]
jmp 0x7d18c3
mov edi, dword [esi]
jmp 0x7d18c2
mov edi, eax
push dword [esp]
call dword [sym.imp.kernel32.dll_TlsFree]
dec edi
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov dword [esp + 8], 0
lea eax, [esp + 8]
mov ecx, esp
mov edx, 0x93503c
push 0x935340
push eax
call fcn.007d1960
push 0
push 4
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
lea ecx, [esp + 8]
mov edx, 0x935330
mov dword [esp + 8], 0x9352f4
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0x93d1f8
mov dword [esp + 0x14], 0
call fcn.007c1b50
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x9352f4
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x93d1f8
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.007d1990
int3
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80d004]
jne 0x401010
repz ret
jmp fcn.004014f3

Function at 0x407a15
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404c04
and dword [ebp - 4], 0
cmp dword [0x80fc9c], 0
mov ebx, eax
jne 0x407ac6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407b77
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407b77
push eax
call fcn.00404b92
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x80fc9c], eax
call esi
push eax
call fcn.00404b92
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x80fca0], eax
call esi
push eax
call fcn.00404b92
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x80fca4], eax
call esi
push eax
call fcn.00404b92
pop ecx
mov dword [0x80fcac], eax
test eax, eax
je 0x407ac6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404b92
pop ecx
mov dword [0x80fca8], eax
mov eax, dword [0x80fca8]
cmp eax, ebx
je 0x407b1e
cmp dword [0x80fcac], ebx
je 0x407b1e
push eax
call fcn.00404c0d
push dword [0x80fcac]
mov esi, eax
call fcn.00404c0d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407b1e
test edi, edi
je 0x407b1e
call esi
test eax, eax
je 0x407b15
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407b15
test byte [ebp - 0xc], 1
jne 0x407b1e
or dword [ebp + 0x10], 0x200000
jmp 0x407b57
mov eax, dword [0x80fca0]
cmp eax, ebx
je 0x407b57
push eax
call fcn.00404c0d
pop ecx
test eax, eax
je 0x407b57
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407b57
mov eax, dword [0x80fca4]
cmp eax, ebx
je 0x407b57
push eax
call fcn.00404c0d
pop ecx
test eax, eax
je 0x407b57
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x80fc9c]
call fcn.00404c0d
pop ecx
test eax, eax
je 0x407b77
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407b79
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x409ba0
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x80d004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x27273b4], 0x930
jne 0x409bca
push str.Gahaw_tugez_kirapiface_fuya
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
cmp dword [0x27273b4], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x27271f8], eax
jne 0x409bfd
push 0
lea ecx, [ebp - 0x404]
push ecx
push 0
call sub.KERNEL32.dll_VerLanguageNameA
lea edx, [ebp - 0x420]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401006
mov esp, ebp
pop ebp
ret
Function at 0x100010c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x100010de
push 0
push 0
push 0
push section..text
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x4030f8
Capabilities:
Query or enumerate registry value

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

Function at 0x403e44
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49004c], 0
je 0x403ea5
cmp word [0x490220], 0xd7b2
jne 0x403e6d
cmp dword [0x490228], 0
jbe 0x403e6d
mov eax, 0x49021c
call dword [0x490238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48d06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403ecc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48d030], 0
jne 0x403ec1
push 0
push 0x48d064
push 0x48d06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403ff8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402788
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x49004d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403fc0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405878
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405aa8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4058fb
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405aa8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4058fb
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405ac4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405984
xor eax, eax
push ebp
push 0x40597d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004056c0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405962
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405ae4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405962
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405984
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405a9e
cmp byte [ebp - 0xd], 0
jne 0x4059cb
cmp byte [ebp - 0x12], 0
je 0x405a9e
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4059e4
dec ebx
cmp byte [ebx], 0x2e
je 0x4059f3
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4059e3
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405a9e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405a30
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405a9e
cmp byte [ebp - 0xd], 0
je 0x405a9e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405a9e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406170
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4061d6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004042b4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402cbc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4061c0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4061dd
lea eax, [ebp - 0x10]
call fcn.00404044
ret

Function at 0x40bb54
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bb8d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404134
jmp 0x40bb96
mov eax, ebx
mov edx, esi
call fcn.00404098
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bba0
Capabilities:
Get geographical location

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

Function at 0x40c248
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c0c0
mov eax, dword [0x48f9b8]
cmp byte [eax], 0
je 0x40c2c4
mov eax, dword [0x48f5c4]
call fcn.00402a80
call fcn.004028f0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408cc8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c30c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c2fa
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48f544]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x490668]
call fcn.00405684
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret