joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b4c80
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e8da5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
push esi
push edi
mov eax, dword [0x65a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0x2c]
mov eax, dword [esi + 0x40]
push dword [esi + 0x28]
mov ecx, dword [ebx + 0xc]
push dword [esi + 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
push eax
call fcn.005bf180
push dword [esi + 4]
mov ecx, dword [ebx + 0xc]
push dword [esi]
movss xmm0, dword [eax]
push dword [esi + 0x30]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 4]
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x50]
push eax
movss dword [ebp - 0x1c], xmm0
call fcn.005bf180
mov ecx, dword [esi + 0x48]
mov edi, dword [esi + 0x34]
movss xmm7, dword [esi + 0x24]
movss xmm0, dword [eax]
movss xmm4, dword [eax + 4]
mov al, byte [esi + 0x4d]
movups xmm2, xmmword [esi + 0x14]
mov byte [ebp - 0x12], al
mov al, byte [esi + 0x4c]
mov byte [ebp - 0x11], al
mov eax, dword [esi + 0x10]
mov esi, dword [ebx + 8]
cmp byte [ebp - 0x12], 0
movss dword [esi], xmm0
cvtps2pd xmm0, xmm0
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x2c]
addsd xmm0, qword [0x627f88]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x3c]
movsd qword [ebp - 0x48], xmm0
mov edx, dword [ebp - 0x48]
cvtps2pd xmm0, xmm4
mov dword [esi + 8], edx
mov dword [esi + 0x44], eax
mov al, byte [ebp - 0x11]
mov dword [esi + 0x34], edi
movss dword [esi + 4], xmm4
addsd xmm0, qword [0x627f88]
movups xmmword [esi + 0x14], xmm2
movss dword [esi + 0x24], xmm7
movsd qword [ebp - 0x48], xmm0
movss xmm0, dword [ebp - 0x18]
mov edx, dword [ebp - 0x48]
movss dword [esi + 0x28], xmm0
movss xmm0, dword [ebp - 0x1c]
mov dword [esi + 0xc], edx
movss dword [esi + 0x2c], xmm0
mov dword [esi + 0x48], ecx
setne cl
mov byte [esi + 0x4c], al
mov eax, esi
mov byte [esi + 0x4d], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x5c47e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ea29e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x65a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x14
call fcn.00494bd4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
push 0x5c
mov dword [ebp - 0x14], eax
call fcn.00494bd4
mov dword [ebp - 0x10], eax
push 0x14
mov byte [ebp - 4], 1
call fcn.00494bd4
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x1c], esi
push dword [ebp + 0x18]
lea ecx, [esi + 8]
mov dword [esi + 4], 0
mov dword [esi], vtable.juce::RenderingHelpers::ClipRegions_class_juce::RenderingHelpers::SoftwareRendererSavedState_::RectangleListRegion.0
call fcn.00424990
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [edx], esi
inc dword [esi + 4]
mov dword [edx + 4], 0x3f800000
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0x3f800000
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], edi
mov dword [edx + 0x20], eax
mov word [edx + 0x24], 1
mov dword [edx + 0x28], 0xff000000
mov dword [edx + 0x2c], 0
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0x3f800000
mov dword [edx + 0x38], 0
mov dword [edx + 0x3c], 0
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0x3f800000
mov dword [edx + 0x48], 0
mov dword [edx + 0x4c], 1
mov dword [edx + 0x50], 0x3f800000
mov eax, dword [ebp + 0xc]
mov edi, 1
mov ecx, dword [eax]
mov dword [edx + 0x54], ecx
test ecx, ecx
je 0x5c48fe
add ecx, 4
mov eax, edi
lock xadd dword [ecx], eax
lea esi, [edx + 0x58]
mov byte [ebp - 4], 3
push 0x40
mov dword [ebp + 0x18], esi
call fcn.00494bd4
add esp, 4
mov ecx, eax
call fcn.0041cc40
mov dword [esi], eax
test eax, eax
je 0x5c4926
add eax, 4
lock xadd dword [eax], edi
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx], vtable.juce::LowLevelGraphicsSoftwareRenderer.0
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x5cb410
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ea8bf
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x65a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.005895e0
mov dword [ebp - 4], 0
push ecx
push 0xff181f22
push 0xffffffffffffffff
push 0xff42a2c8
push ecx
push 0xff8e989b
push 0xff323e44
push 0xff263238
push 0xff323e44
lea ecx, [esi + 0xa8]
mov dword [esi], vtable.juce::LookAndFeel_V4.24.0
mov dword [esi + 4], vtable.juce::LookAndFeel_V4.9.0
mov dword [esi + 8], vtable.juce::LookAndFeel_V4.1.0
mov dword [esi + 0xc], vtable.juce::LookAndFeel_V4.6.0
mov dword [esi + 0x10], vtable.juce::LookAndFeel_V4.2.0
mov dword [esi + 0x14], vtable.juce::LookAndFeel_V4.10.0
mov dword [esi + 0x18], vtable.juce::LookAndFeel_V4.23.0
mov dword [esi + 0x1c], vtable.juce::LookAndFeel_V4.16.0
mov dword [esi + 0x20], vtable.juce::LookAndFeel_V4.11.0
mov dword [esi + 0x24], vtable.juce::LookAndFeel_V4.15.0
mov dword [esi + 0x28], vtable.juce::LookAndFeel_V4.12.0
mov dword [esi + 0x2c], vtable.juce::LookAndFeel_V4.26.0
mov dword [esi + 0x30], vtable.juce::LookAndFeel_V4.13.0
mov dword [esi + 0x34], vtable.juce::LookAndFeel_V4.14.0
mov dword [esi + 0x38], vtable.juce::LookAndFeel_V4.22.0
mov dword [esi + 0x3c], vtable.juce::LookAndFeel_V4.25.0
mov dword [esi + 0x40], vtable.juce::LookAndFeel_V4.20.0
mov dword [esi + 0x44], vtable.juce::LookAndFeel_V4.18.0
mov dword [esi + 0x48], vtable.juce::LookAndFeel_V4.27.0
mov dword [esi + 0x4c], vtable.juce::LookAndFeel_V4.21.0
mov dword [esi + 0x50], vtable.juce::LookAndFeel_V4.3.0
mov dword [esi + 0x54], vtable.juce::LookAndFeel_V4.8.0
mov dword [esi + 0x58], vtable.juce::LookAndFeel_V4.5.0
mov dword [esi + 0x5c], vtable.juce::LookAndFeel_V4.0
mov dword [esi + 0x60], vtable.juce::LookAndFeel_V4.17.0
mov dword [esi + 0x64], vtable.juce::LookAndFeel_V4.7.0
mov dword [esi + 0x68], vtable.juce::LookAndFeel_V4.4.0
mov dword [esi + 0x6c], vtable.juce::LookAndFeel_V4.28.0
mov dword [esi + 0x70], vtable.juce::LookAndFeel_V4.19.0
call fcn.00487850
mov ecx, esi
call fcn.00585ba0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0xab8725
Capabilities:
Encode data using xor

Disassembly:
dec esp
xchg esi, esp
dec eax
mov eax, dword [esp + ebp*4 - 0x20]
dec eax
mov dword [esp + ebp*4 - 0x28], ebp
dec esp
mov eax, dword [esp + ebp*2 - 4]
inc ecx
movzx ebx, ah
dec edx
lea ebx, [ebp + 0x5f0a0785]
dec esp
lea ebx, [esi + ebp*4 + 0x2aaef0b1]
push dword [esp + 0x18]
popfd
inc ebp
xchg bl, ah
dec eax
mov edx, dword [esp + ebp*4 - 8]
dec esp
mov dword [esp + ebp*4 - 0x18], edx
call fcn.00abf416
push edi
xchg ebp, eax
pop esp
xor eax, 0x1d63e240
test al, 0x92
aas
std
pop esp
mov ch, 0x28
mov edx, 0xca88ed13
inc ebx
adc dword [eax - 0x77], ebp
cmp byte [0x62585523], bl
cli
adc dword [ecx], 0x10af472a
dec ebp
inc ecx
cli
in al, dx
xor al, 0xe7
invalid

Function at 0xe6badf
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
je 0xe668bf
mov eax, 0x5a4d
cmc
test ebx, ebp
cmp si, 0xe0a5
cmp word [edx], ax
jmp 0xe668b9
mov edi, dword [ecx + edx + 0x18]
test si, 0xb30b
test edi, edi
jmp 0xacf278
ret
sub esp, 0x114
push esi
test edx, edx
jmp 0xe67b64
jmp 0xad1804
mov esp, ebp
pop ebp
jmp 0xaa2446
je 0xad1809
mov eax, dword [ecx + edx + 0x20]
jmp 0xefc76a
mov eax, dword [edx + 0x3c]
add eax, edx
cmc
cmp esi, ebp
cmp dword [eax], 0x4550
jmp 0xf0bd8b
je 0xae3786
sub eax, eax
pop esi
jmp 0xac2b2b
je 0xe668bf
mov esi, dword [ebp + 0xc]
cmc
clc
test esi, esi
jmp 0xa92e2c
push ebp
rcl dx, cl
mov ebp, esp
sbb dx, di
mov edx, dword [ebp + 8]
jmp 0xaa908a
dec edi
add eax, edx
cmc
je 0xe668bf
mov eax, dword [eax + 0x7c]
clc
push ebx
clc
push edi
clc
cmp ebp, ebx
test esi, 0xf10ddbb5
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0xffffffff
cmc
stc
clc
cmp esi, 0xffff
ja 0xa9abef
mov eax, esi
cmc
sub eax, dword [ecx + edx + 0x10]
jmp 0xab99f5
jne 0xe668bf
mov ecx, dword [eax + 0x78]
mov dword [ebp - 4], ecx
test ecx, ecx
jmp 0xefc912
Function at 0x4049a8
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.00407c30
test esi, esi
jne 0x4049de
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.00407db8
jmp 0x4049fc
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040488c
mov edi, eax
test esi, esi
je 0x4049fc
cmp dword [ebx], 0
je 0x4049fc
dec esi
jmp 0x4049e5
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x404a30
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x528008], 0x8088405
inc edx
mov dword [ebx + 0x528008], edx
mul edx
mov eax, edx
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00406d68
mov byte [esp], al
cmp byte [esp], 0
jne 0x406afc
test edi, edi
je 0x406afc
mov byte [esp + 1], 0
test ebp, ebp
jle 0x406a33
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x406a0e
cmp edi, 0xffffffff
je 0x4069cf
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4069cf
mov byte [esp], 0
jmp 0x406afc
mov ebx, dword [esi]
cmp ebx, 1
jg 0x406a0e
test ebx, ebx
jne 0x406a04
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.00402824
test eax, eax
jne 0x406a04
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x406afc
call 0x406e8c
dec ebp
test ebp, ebp
jg 0x4069b4
cmp edi, 0xffffffff
je 0x406a33
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x406a31
mov byte [esp], 0
jmp 0x406afc
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x40697e
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.00402824
cmp ebx, eax
jne 0x406a33
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00406b6c
mov edx, eax
mov ebx, dword [0x52e8f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x406a9a
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x406a98
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x406a9a
xor edi, edi
cmp byte [esp], 0
je 0x406ac3
mov ebx, dword [esi]
test bl, 1
jne 0x406adc
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.00402824
cmp ebx, eax
jne 0x406aa0
mov byte [esp + 1], 1
jmp 0x406adc
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.00402824
cmp ebx, eax
jne 0x406ac3
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x406a4d
cmp byte [esp], 0
je 0x406afc
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40788c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x52e058], 0
je 0x4078f3
cmp word [0x52e344], 0xd7b2
jne 0x4078b5
cmp dword [0x52e34c], 0
jbe 0x4078b5
mov eax, 0x52e340
call dword [0x52e35c]
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, 0x407920
call fcn.004084d8
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x528032], 0
jne 0x40790f
push 0
push 0x5289c2
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x407aec
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 [0x528034], 0
je 0x407b17
mov edx, edi
mov eax, esi
call dword [0x528034]
mov ebx, eax
jmp 0x407b28
mov eax, 8
call fcn.004045e8
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x52e059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x407ab4
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 0x407b5d
mov edx, 8
mov eax, ebx
call fcn.00404604
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40a498
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 0x40a5fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00407c30
cmp si, word [0x528a00]
jb 0x40a530
cmp si, word [0x528c00]
ja 0x40a530
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40a530
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x528a00]
jae 0x40a50a
mov edi, ebx
dec edi
jmp 0x40a52b
cmp si, word [ebx*8 + 0x528a00]
jbe 0x40a51a
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40a52b
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x528a04]
call fcn.0040a3a8
jmp 0x40a530
cmp edi, dword [ebp - 8]
jae 0x40a4f4
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40a5df
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40a5df
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.0040895c
push dword [ebp - 0x160]
push 0x40a618
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040895c
push dword [ebp - 0x164]
push 0x40a628
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040895c
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00408b94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a604
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00407c90
ret
Function at 0x40a7b0
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 0x40a8b3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x530b88
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x530ba0]
jne 0x40a7fc
mov eax, esi
mov edx, 0x530ba2
mov ecx, 0x55
call fcn.0040895c
push 0x530b88
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40a89d
push 0x530b88
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00407c30
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40a86b
cmp byte [0x530b84], 0
je 0x40a830
mov edx, esi
mov eax, ebx
call fcn.0040a694
jmp 0x40a86b
mov edx, esi
mov eax, ebx
call fcn.0040a498
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40a86b
cmp dword [esi], 0
je 0x40a854
mov eax, esi
mov edx, 0x40a8cc
call fcn.00408ab4
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040a498
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00408ab4
push 0x530b88
call sub.kernel32.dll_EnterCriticalSection
mov word [0x530ba0], bx
push 0xaa
mov eax, dword [esi]
call fcn.004088b0
push eax
push 0x530ba2
call sub.kernel32.dll_lstrcpynW
push 0x530b88
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a8ba
lea eax, [ebp - 4]
call fcn.00407c30
ret
Function at 0x40aae8
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.00407d14
xor eax, eax
push ebp
push 0x40ad0d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40ab28
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40ab42
push 0x105
mov eax, dword [ebp - 4]
call fcn.004088b0
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x40acf7
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40ad1c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ac11
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40ad1c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ac11
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40ad58
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ac11
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40ad58
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ac11
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40ad8c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ac11
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40adc0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40acf7
xor eax, eax
push ebp
push 0x40acf0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040a8f4
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
test eax, eax
jne 0x40ac80
mov eax, dword [ebp - 0x10]
call fcn.004045e8
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
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00408908
jmp 0x40accb
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40ae00
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40accb
mov eax, dword [ebp - 0x10]
call fcn.004045e8
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40ae00
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00408908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40acf7
cmp dword [ebp - 8], 0
je 0x40ace6
mov eax, dword [ebp - 8]
call fcn.00404604
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ad14
lea eax, [ebp - 4]
call fcn.00407c30
ret
Function at 0x40aff0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407d14
xor eax, eax
push ebp
push 0x40b0b0
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040895c
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408b0c
mov eax, dword [ebx]
call fcn.0040aeb8
test al, al
jne 0x40b08d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040895c
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408b0c
mov eax, dword [ebx]
call fcn.0040aeb8
test al, al
jne 0x40b08d
mov eax, ebx
call fcn.00407c30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b0b7
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407c90
lea eax, [ebp - 4]
call fcn.00407c30
ret

Function at 0x40bb04
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x41dbdc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x41dd05
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x218]
push eax
push 0x104
call sub.kernel32.dll_GetLogicalDriveStringsW
mov esi, eax
test esi, esi
jle 0x41dcdf
lea ebx, [ebp - 0x218]
lea eax, [ebx + 4]
mov word [eax], 0
push 0x104
lea eax, [ebp - 0x424]
push eax
push ebx
call sub.kernel32.dll_QueryDosDeviceW
mov esi, eax
test esi, esi
jle 0x41dcc8
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.0040895c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408e88
test eax, eax
jle 0x41dcc8
mov eax, dword [ebp - 4]
test eax, eax
je 0x41dc7c
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, dword [ebp - 8]
test edi, edi
je 0x41dc8a
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x428]
push eax
mov ecx, edi
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.00408cdc
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.00408908
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.00408b0c
jmp 0x41dcdf
add ebx, 2
cmp word [ebx], 0
jne 0x41dcc5
add ebx, 4
test ebx, ebx
je 0x41dcd9
cmp word [ebx], 0
jne 0x41dc2e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41dd0c
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.00407c90
lea eax, [ebp - 4]
call fcn.00407c30
ret