joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d990
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.004280f0
test eax, eax
je 0x42da7f
mov ecx, edi
call fcn.004280f0
mov ecx, eax
call fcn.004256f0
test eax, eax
jne 0x42da7f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42da7f
mov eax, dword [0x53c250]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x42d9f2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.004280f0
mov ecx, eax
call fcn.00425920
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x42da7f
cmp ebx, eax
jne 0x42da7f
cmp dword [esp + 0x10], eax
jne 0x42da65
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x4306f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47cd88
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x430729
inc eax
mov dword [esi + 0x10], eax
jmp 0x43083c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43073d
mov eax, 0xffffffc7
jmp 0x43083e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43074e
cmp dword [esi + 8], eax
jne 0x43073d
cmp dword [esi + 8], eax
jne 0x430767
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x430767
mov eax, 0xffffffc7
jmp 0x43083e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43077b
push eax
mov ecx, ebx
call fcn.0042ff20
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00405e70
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4307ac
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00405e90
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042f690
test eax, eax
mov dword [esp + 0x38], eax
je 0x4307df
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x50e268
call fcn.00406070
mov eax, dword [esp + 0x38]
jmp 0x43083e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00430550
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x430823
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00430570
mov esi, eax
test esi, esi
jne 0x430853
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00430550
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4307f5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x50e268
call fcn.00406070
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x50e268
call fcn.00406070
mov eax, esi
jmp 0x43083e

Function at 0x4351e0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x435240
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x435240
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x435240
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x435240
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x435280
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x440d70
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47d3d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00476c66
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004406d0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00476b94
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00473489
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00473489
push 1
push 0
push 0
mov ecx, esi
call fcn.00473431
push 1
push 0
push 1
mov ecx, esi
call fcn.00473431
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00476cd8
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x440ef0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47d3d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00476c66
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004406d0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00476b94
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x440fb4
cmp dword [esp + 0x40], 1
jne 0x440fb2
cmp ecx, eax
jge 0x440fb4
mov eax, ecx
cmp eax, 0xc8
jge 0x440fc0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00440d70
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00476cd8
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x441780
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47d463
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004718c3
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00476f0e
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047842a
test eax, eax
je 0x44189c
mov ecx, dword [esp + 0x3c]
call fcn.00476f3b
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x441860
push edi
mov ecx, esi
call fcn.0047459f
mov ecx, esi
call fcn.00441a40
cmp dword [esp + 0x38], 1
jne 0x441895
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004746da
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4439c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4439f3
push esi
call fcn.00451d60
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4439ec
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x443a79
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x443a62
mov eax, dword [esi + 8]
test eax, eax
je 0x443a17
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x443a5e
cmp eax, 2
je 0x443a62
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x443a0a
cmp eax, 3
je 0x443a3d
cmp eax, 1
jne 0x443a0a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x443a0a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x443a0a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00443aa0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x443a88
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00443aa0
add esp, 4
pop esi
ret

Function at 0x444310
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x444331
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x444331
mov eax, dword [eax + 0x44]
test eax, eax
je 0x444331
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x47269f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4726d7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047076d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00470745
jmp 0x4726e3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x473d8d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x473dcf
call fcn.0047970f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x473dcf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x473dc6
xor eax, eax
jmp 0x473dd7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00473ddd
pop edi
pop esi
pop ebx
ret 4
Function at 0x479c3f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x479c6d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x479c8b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00479ba5
jmp 0x479c8b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x479c8b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00479ba5
test edi, edi
mov eax, edi
jne 0x479c75
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x408040
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a9db
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x5a7774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x20c
lea ecx, [ebp - 0x21c]
call fcn.00407980
lea ecx, [ebp - 0x21d]
call fcn.004076c0
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040dcc0
mov dword [ebp - 4], 0
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov edx, dword [ebp + 0x14]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x18]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x1c]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040dde0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0040dd50
push eax
push 1
lea ecx, [ebp - 0x21c]
call fcn.0040dd70
push eax
call fcn.0050ea08
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00407920
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050bf8a
mov esp, ebp
pop ebp
ret

Function at 0x40be90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54af6b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5a7774]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, 0x14
call fcn.0040dd50
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x14
call fcn.0040dd70
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.0040d800
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x42c]
mov dword [edx + 0x30], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.0040d7d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40d2d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b330
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5a7774]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
add ecx, 0x220
call fcn.0040dd50
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, 0x220
call fcn.0040dd70
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 1
mov eax, dword [ebp - 0x18]
push eax
call fcn.0050ea08
add esp, 0x10
cmp eax, dword [ebp - 0x10]
je 0x40d3be
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.004089f0
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
push ecx
push str.Failed_writing_to_file
lea edx, [ebp - 0x40]
push edx
call fcn.00414290
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
call fcn.0050e648
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x7c]
call fcn.004081c0
push 0x5a31ac
lea eax, [ebp - 0x7c]
push eax
call fcn.0051934d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040d980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040d980
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x42e550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x5a7774]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x62c], 0
lea eax, [ebp - 0x628]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x630], eax
cmp dword [ebp - 0x630], 0
jne 0x42e61f
xor ecx, ecx
mov word [ebp - 0x61c], cx
push 0x616
push 0
lea edx, [ebp - 0x61a]
push edx
call fcn.0050fef0
add esp, 0xc
mov dword [ebp - 0x620], 0x30c
lea eax, [ebp - 0x620]
push eax
lea ecx, [ebp - 0x61c]
push ecx
lea edx, [ebp - 0x624]
push edx
push 0
push str.DisplayName
mov eax, dword [ebp - 0x628]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x630], eax
cmp dword [ebp - 0x630], 0
jne 0x42e61f
lea ecx, [ebp - 0x61c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004251b0
mov edx, dword [ebp - 0x62c]
or edx, 1
mov dword [ebp - 0x62c], edx
mov eax, dword [ebp + 8]
jmp 0x42e639
mov ecx, dword [ebp + 8]
call fcn.0040db90
mov eax, dword [ebp - 0x62c]
or eax, 1
mov dword [ebp - 0x62c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050bf8a
mov esp, ebp
pop ebp
ret
Function at 0x42e930
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54cf28
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5a7774]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add ecx, 0x80
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.00444b90
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004448d0
add esp, 4
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0040dc10
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x42e9e2
push 0
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add ecx, 0x60
call fcn.00421790
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
add ecx, 0x80
call fcn.00421790
push eax
push 0x581720
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x24], eax
jmp 0x42e9ed
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42f360
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54d121
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x5a7774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x21c], 0
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x42f3a9
mov ecx, dword [ebp + 0xc]
or ecx, 0x8000
mov dword [ebp + 0xc], ecx
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.0050fef0
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x42f4f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x234], eax
push 0x1c8
lea eax, [ebp - 0x25c]
push eax
call fcn.0042d230
add esp, 8
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 4], 0
push 0x581b40
lea ecx, [ebp - 0x274]
call fcn.0040d840
mov dword [ebp - 0x230], eax
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x224], edx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x244]
push eax
call fcn.0040d610
add esp, 4
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x228], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
push str.file:_0__line:_1__LastError_2_n
mov ecx, dword [ebp - 0x228]
call fcn.0040e460
mov ecx, eax
call fcn.0043b3c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x244]
call fcn.0040e5d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x274]
call fcn.0040d980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.0040d980
mov ecx, dword [ebp + 8]
call fcn.0040db90
mov edx, dword [ebp - 0x21c]
or edx, 1
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp + 8]
jmp 0x42f511
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
call fcn.004251b0
mov ecx, dword [ebp - 0x21c]
or ecx, 1
mov dword [ebp - 0x21c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050bf8a
mov esp, ebp
pop ebp
ret