joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459ac9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x471f04]
jne 0x459ad3
repz ret
jmp fcn.00461437

Function at 0x45e946
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00453c78
xor ebx, ebx
cmp dword [0x47421c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x45ea1c
push 0x469648
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x45eafc
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x46963c
push edi
call esi
cmp eax, ebx
je 0x45eafc
push eax
call fcn.00453c0a
mov dword [esp], 0x46962c
push edi
mov dword [0x47421c], eax
call esi
push eax
call fcn.00453c0a
mov dword [esp], 0x469618
push edi
mov dword [0x474220], eax
call esi
push eax
call fcn.00453c0a
mov dword [0x474224], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0044dbbe
test eax, eax
pop ecx
pop ecx
je 0x45e9ea
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00454201
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x45ea1c
push 0x4695fc
push edi
call esi
push eax
call fcn.00453c0a
cmp eax, ebx
pop ecx
mov dword [0x47422c], eax
je 0x45ea1c
push 0x4695e4
push edi
call esi
push eax
call fcn.00453c0a
pop ecx
mov dword [0x474228], eax
mov eax, dword [0x474228]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x45eaa1
cmp dword [0x47422c], ecx
je 0x45eaa1
push eax
call fcn.00453c81
push dword [0x47422c]
mov esi, eax
call fcn.00453c81
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x45eaa1
cmp edi, ebx
je 0x45eaa1
call esi
cmp eax, ebx
je 0x45ea6e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45ea6e
test byte [ebp - 0x18], 1
jne 0x45eaa1
lea eax, [ebp - 0x10]
push eax
call fcn.0044dbf5
test eax, eax
pop ecx
je 0x45ea89
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00454201
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x45ea98
or dword [ebp + 0x10], 0x200000
jmp 0x45eadc
or dword [ebp + 0x10], 0x40000
jmp 0x45eadc
mov eax, dword [0x474220]
cmp eax, dword [ebp - 8]
je 0x45eadc
push eax
call fcn.00453c81
cmp eax, ebx
pop ecx
je 0x45eadc
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x45eadc
mov eax, dword [0x474224]
cmp eax, dword [ebp - 8]
je 0x45eadc
push eax
call fcn.00453c81
cmp eax, ebx
pop ecx
je 0x45eadc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47421c]
call fcn.00453c81
cmp eax, ebx
pop ecx
je 0x45eafc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45eafe
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.0040eb78
push str._JAVA_LAUNCHER_DEBUG
mov eax, dword [eax]
mov dword [0x433680], eax
call fcn.00421f20
xor ebp, ebp
pop ecx
test eax, eax
je 0x401059
push str.Windows_original_main_args:_n
call fcn.00401112
pop ecx
mov esi, ebp
call fcn.0040e6c7
cmp dword [eax], ebp
jle 0x401059
call fcn.0040e6cd
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.00401112
add esp, 0xc
inc esi
call fcn.0040e6c7
cmp esi, dword [eax]
jl 0x401037
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.0040121d
call fcn.00401285
mov ebx, eax
lea ecx, [ebx*4 + 4]
push ecx
call fcn.00401135
pop ecx
pop ecx
mov esi, eax
call fcn.0040128b
mov edx, ebp
test ebx, ebx
jle 0x401093
mov ecx, dword [eax + edx*8]
mov dword [esi + edx*4], ecx
inc edx
cmp edx, ebx
jl 0x401088
mov edi, dword [str.java]
mov dword [esi + edx*4], ebp
test edi, edi
jne 0x4010a2
mov edi, dword [esi]
mov edx, dword [section..data]
test edx, edx
jne 0x4010ae
mov edx, dword [esi]
mov ecx, dword [0x432990]
push ebp
xor ebp, ebp
inc ebp
test ecx, ecx
push ebp
push ebp
setne al
movzx eax, al
push eax
push edi
push edx
push 0x426274
push 0x426278
push dword [0x432994]
push ebp
push ecx
push ebp
push esi
push ebx
call fcn.00401d65
add esp, 0x38
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x404305
Capabilities:
Read file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push 2
push 0xffffffffffffffff
push 0xffffffffffffffea
push ebp
call fcn.00421f20
mov ebx, edx
add esp, 0x10
mov esi, eax
test ebx, ebx
jl 0x404478
jg 0x404334
test esi, esi
jb 0x404478
mov edi, dword [esp + 0x20]
push 0x16
push edi
push ebp
call fcn.004175dd
add esp, 0xc
test eax, eax
js 0x404478
movzx ecx, byte [edi + 3]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x404396
push edi
call fcn.00404887
pop ecx
test eax, eax
je 0x40438d
push ebx
push esi
push edi
push ebp
call fcn.00421f20
add esp, 0x10
mov esi, eax
mov ebx, edx
mov eax, esi
mov edx, ebx
jmp 0x40447d
push 2
xor ebx, ebx
push ebx
push ebx
push ebp
call fcn.00421f20
mov ebp, eax
add esp, 0x10
mov eax, edx
mov dword [esp + 0x14], eax
cmp eax, ebx
jl 0x404478
jg 0x4043bf
cmp ebp, ebx
jb 0x404478
mov ecx, 0x10015
cmp eax, ebx
jg 0x4043d4
jl 0x4043ce
cmp ebp, ecx
jae 0x4043d4
mov esi, ebp
mov ecx, eax
jmp 0x4043d8
mov esi, ecx
mov ecx, ebx
mov eax, esi
neg eax
push 2
adc ecx, ebx
neg ecx
push ecx
push eax
push dword [esp + 0x28]
call fcn.00421f20
add esp, 0x10
cmp edx, ebx
jl 0x404478
jg 0x4043fe
cmp eax, ebx
jb 0x404478
push 0x10015
call fcn.00421f20
mov ebx, eax
pop ecx
test ebx, ebx
je 0x404478
push esi
push ebx
push dword [esp + 0x24]
call fcn.004175dd
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
js 0x404471
lea edx, [ebx + eax]
lea esi, [edx - 0x16]
jmp 0x40446d
cmp byte [esi], 0x50
jne 0x40446c
movzx ecx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x40446c
movzx ecx, byte [esi + 0x15]
movzx eax, byte [esi + 0x14]
shl ecx, 8
or ecx, eax
lea eax, [esi + 0x16]
add eax, ecx
cmp eax, edx
je 0x404484
dec esi
cmp esi, ebx
jae 0x40442d
push ebx
call fcn.00421f20
pop ecx
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
push 0x16
push esi
push edi
call fcn.0040a170
push ebx
call fcn.00421f20
mov eax, dword [esp + 0x20]
add eax, ebx
sub eax, esi
mov esi, dword [esp + 0x24]
cdq
sub ebp, eax
push edi
sbb esi, edx
call fcn.00404887
add esp, 0x14
test eax, eax
je 0x4044c4
push esi
push ebp
push edi
push dword [esp + 0x28]
call fcn.00421f20
add esp, 0x10
mov ebp, eax
mov esi, edx
mov eax, ebp
mov edx, esi
jmp 0x40447d
Function at 0x421f20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x421f2f
pop dword [ebp - 0xc]
mov eax, 0x421f2f
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xd4b73f0a
sub dword [ebp - 0x1c], 0x8664f9bf
mov dword [ebp - 0x18], 0xbd4c717b
add dword [ebp - 0x18], 0x74e6daca
mov dword [ebp - 0x14], 0x25a1914
sub dword [ebp - 0x14], 0xb60dd4e6
mov dword [ebp - 0x10], 0xa6a70c4a
add dword [ebp - 0x10], 0x5958f3b6
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x86eb5ca6
sub eax, 0x86a8fc52
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xd08e75cb
add dword [ebp - 0x1c], 0xa3e3f38b
mov dword [ebp - 0x18], 0x1e4d14c4
sub dword [ebp - 0x18], 0xdce0b34f
mov dword [ebp - 0x14], 0x96e47eeb
add dword [ebp - 0x14], 0xcc8aed81
mov dword [ebp - 0x10], 0x294602b4
add dword [ebp - 0x10], 0xd6b9fd4c
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x7222bd14
add eax, 0x8e1fa344
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x41bf0
push 0
call eax
mov ecx, 0xedc2f509
sub ecx, 0xedc29d0c
xor ebx, ebx
add ebx, eax
mov edx, 0x10a29a7e
sub edx, 0x105eb07e
add edx, dword [ebp - 0xc]
mov edi, 0xcddbd029
xor dword [ebp - 8], edx
mov esi, dword [edx]
add dword [ebp - 4], ecx
xor esi, edi
add dword [ebp - 4], edx
mov dword [ebx], esi
xor dword [ebp - 8], esi
add ebx, 4
add edx, 0x69face75
sub edx, 0x69face71
loop 0x422048
add eax, 0x152c7
xor ebx, ebx
add ebx, eax
add eax, 0xe427acec
sub eax, 0xe427ace7
mov ecx, 0xa75712d1
sub ecx, 0xa71712d1
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x40e840
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 0x577ac5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x240
push esi
push edi
push 0x27
mov edi, ecx
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.Rml52OBUGgH0wxpCAtdLGjk6TeTYZ7KkwpbGxw
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
call fcn.0042d740
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.QjAxUYhJz8cBIy4Y0UN7MFU
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
call fcn.0042d740
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.0042eb20
lea ecx, [ebp - 0x14]
call fcn.004451c0
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 0x40e92b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x40e95c
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push 0
push 0x5904f4
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 0x40e992
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e988
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9dd
push ecx
push edx
call fcn.0054dc64
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x40e9c8
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e9be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9dd
push ecx
push edx
call fcn.0054dc64
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.00552b3f
int3
Function at 0x411210
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577e35
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 - 0x14], 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 - 0x1c], ebx
call fcn.0042f110
mov ecx, eax
test ecx, ecx
je 0x411391
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 2
call fcn.0042f110
mov ecx, eax
test ecx, ecx
je 0x41139b
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x14]
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 0x411321
push ebx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x411321
cmp byte [0x5c2d3b], 0
je 0x411321
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 - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
call fcn.004669e0
test al, al
je 0x411321
push ecx
mov ecx, dword [ebp - 0x10]
mov ebx, esp
mov dword [ebp - 0x14], ebx
lea ecx, [ecx - 0x10]
call fcn.0042ea10
add eax, 0x10
mov ecx, esi
mov dword [ebx], eax
call fcn.004175b0
mov ebx, dword [ebp - 0x1c]
test al, al
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 0x411349
mov ecx, 0xc8
cmp eax, 1
jne 0x4112a0
mov edi, ecx
jmp 0x4112a0
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 0x411366
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 0x41137e
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.0042f690
push 0x80004005
call fcn.0042f690
int3
Function at 0x4146c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x578445
push eax
mov dword fs:[0], esp
sub esp, 0x10
cmp byte [0x5c8aa8], 0
push esi
push edi
mov edi, ecx
jne 0x41473f
mov esi, dword [ebp + 8]
push 8
mov byte [0x5c8aa8], 1
call fcn.0054dc34
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 0x425150
push 0
push 0
call fcn.005592b8
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x414756
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.0042e590
cmp dword [ebp - 0x14], 0
jne 0x414751
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.00552cf5
push 6
mov dword [ebp - 0x14], 0
call fcn.0053777e
int3
Function at 0x415340
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.0042d980
mov eax, dword [esi]
mov eax, dword [eax]
mov byte [eax + 0x98], 0
mov ecx, dword [esi]
mov ecx, dword [ecx]
call fcn.00524160
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41f040
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 0x579755
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
push esi
push edi
push 0x27
mov dword [ebp - 0x28], ecx
xorps xmm0, xmm0
push str.YjhYENDFX8PkAVTWSpR0PmgbGdRJIbC0AN9Sj0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.0042d740
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.SWcw5czoTWUQc8tFA
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.0042d740
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.0042eb20
lea ecx, [ebp - 0x1c]
call fcn.004451c0
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 0x41f12e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41f18f
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.0042eb20
lea ecx, [ebp - 0x20]
call fcn.004451c0
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 0x41f180
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
test eax, eax
cmove esi, dword [ebp - 0x14]
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 0x41f1ce
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f1c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f219
push ecx
push edx
call fcn.0054dc64
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x41f204
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f1fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f219
push ecx
push edx
call fcn.0054dc64
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.00552b3f
int3
Function at 0x4212c0
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 0x42132f
mov eax, dword [esp + 8]
cmp eax, 3
je 0x4212ff
cmp eax, 4
je 0x4212ff
cmp eax, 0xb
jne 0x42132f
cmp dword [esp + 4], 4
jne 0x42132f
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 0x42132f
mov al, 1
pop esi
add esp, 8
ret 4
xor al, al
pop esi
add esp, 8
ret 4

Function at 0x424970
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579c55
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.0054dc34
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 0x425100
push 0
push 0
call fcn.005592b8
add esp, 0x1c
mov dword [ebp - 0x18], eax
pop esi
test eax, eax
je 0x4249ea
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.0042e590
cmp dword [ebp - 0x14], 0
jne 0x4249e5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00552cf5
push 6
mov dword [ebp - 0x14], 0
call fcn.0053777e
int3
Function at 0x4258a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579d76
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.0042ea10
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 0x4258fd
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.0042ea10
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 0x4259b0
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 0x425983
mov eax, dword [ebp + 0x10]
cmp eax, 3
je 0x42596b
cmp eax, 4
je 0x42596b
cmp eax, 0xb
jne 0x425983
cmp dword [ebp + 0xc], 4
jne 0x425983
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 0x42599b
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.eU1pgVgsoMDj8KeORsvLWToILJVkjhBiJZbIhkzwFygN
lea ecx, [ebp - 0x38]
call fcn.0042eed0
push ebx
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.0042eb20
lea ecx, [ebp + 0xc]
call fcn.004451c0
add esp, 0x18
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00405750
push 0x5bf300
lea eax, [ebp - 0x20]
push eax
call fcn.0054fb6a
int3

Function at 0x429b80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a0af
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.00537f54
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 0x429c0b
push eax
push esi
call fcn.00537d96
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.00537688
int3
Function at 0x42a880
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579e40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov eax, ecx
push esi
push edi
push 8
mov dword [ebp - 0x10], eax
mov dword [eax], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0054dc34
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00537c99
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
pop edi
pop esi
mov dword [edx], 0
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x42f280
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42f2d8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42f2d8
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x42f2c6
cmp esi, edx
jae 0x42f2d8
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x42f2b4
cmp esi, edx
jae 0x42f2d8
xor eax, eax
cmp word [esi], ax
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret