joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f0a0
Capabilities:
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x4c6e3a
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x500770]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
mov ebp, 0xc0000000
push ebp
push str..pipepeanuthull6_pipe_ctrl
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40f171
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 5
jne 0x40f122
push 0x32
call ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x44]
push 0
push 4
push 0x3408
push ecx
mov ebp, SysReAllocString
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x40f14f
call esi
cmp eax, 0xe7
jne 0x40f13f
push 0x4e20
push str..pipepeanuthull6_pipe_ctrl
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x40f14f
cmp edi, 3
jg 0x40f20a
push 0x3e8
call ebx
push 0
push 0
push 3
push 0
push 0
push ebp
push str..pipepeanuthull6_pipe_ctrl
add edi, 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40f0f3
xor ebx, ebx
push ebx
push ebx
lea edx, [esp + 0x1c]
push edx
push esi
mov dword [esp + 0x24], 2
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
push 0x54
mov dword [esp + 0x1c], eax
call fcn.00488fa5
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
cmp edi, ebx
mov dword [esp + 0x28], ebx
je 0x40f1bc
mov ecx, edi
call fcn.004894a8
mov dword [edi], vtable.CClientThread.0
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], ebx
mov byte [edi + 0x50], 0
jmp 0x40f1be
xor edi, edi
push ebx
push ebx
push 4
mov ecx, edi
mov dword [esp + 0x34], 0xffffffff
call fcn.0048995a
cmp ebp, 0x80000000
mov eax, dword [edi + 0x30]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov dword [edi + 0x44], esi
mov dword [ecx], eax
mov eax, dword [edx + 0x30]
mov dword [edi + 0x4c], eax
jne 0x40f1f3
mov byte [edi + 0x50], 1
mov edx, dword [edi + 0x2c]
mov ecx, dword [esp + 0x34]
push edx
mov dword [edi + 0x48], ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esp + 0x18]
jmp 0x40f20c
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
Function at 0x40f230
Capabilities:
Query service status
Start service

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push 0x15
push str.ServicesActive
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x40f2f2
push 0x35
push str.PeanuthullDDNSCore
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x40f298
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x40f28b
cmp dword [esp + 0x10], 1
jne 0x40f28b
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push esi
call ebp
push ebx
call ebp
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
cmp byte [edi + 0x4c], 0
jne 0x40f2e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7b
je 0x40f2d1
cmp eax, 0x424
je 0x40f2d1
mov ecx, dword [edi + 0x44]
push 0
push 2
push 0x3408
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push ebx
mov byte [edi + 0x4c], 1
call ebp
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [edi + 0x44]
push 0
push 3
push 0x3408
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [edi + 0x4c], 1
push ebx
call ebp
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
cmp byte [edi + 0x4c], 0
jne 0x40f30f
mov eax, dword [edi + 0x44]
push 0
push 1
push 0x3408
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [edi + 0x4c], 1
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x40f4b0
Capabilities:
Check for time delay via gettickcount
Create thread
Read .ini file

Disassembly:
sub esp, 0x41c
mov eax, dword [0x500770]
xor eax, esp
mov dword [esp + 0x418], eax
cmp dword [esi + 0x10], 0
mov eax, dword [esp + 0x420]
push ebx
push edi
mov edi, edx
mov ebx, ecx
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
jbe 0x40f66f
mov eax, ebx
sub eax, 0xb
je 0x40f4fe
sub eax, 1
jne 0x40f52f
mov ecx, dword [esp + 0x42c]
cmp ecx, dword [esi + 0x230]
jmp 0x40f50b
mov edx, dword [esp + 0x42c]
cmp edx, dword [esi + 0x22c]
jg 0x40f52f
cmp dword [0x506e90], 0
jne 0x40f66f
cmp dword [esi + 0xc], 0
je 0x40f66f
push esi
call fcn.004101b0
jmp 0x40f66f
push ebp
call dword [0x501c04]
mov eax, dword [esi + 0x10]
push eax
lea ecx, [esp + 0x18]
push 0x4daa10
push ecx
call fcn.004a7803
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
lea ebp, [esi + 0x1c]
push ebp
push 0x208
lea edx, [esp + 0x224]
push edx
push 0x4d96f4
lea eax, [esp + 0x24]
push eax
push str.SETTINGS
call edi
lea ecx, [esp + 0x21c]
push ecx
call fcn.004a7a1f
mov edx, dword [esi + 0x10]
push edx
mov dword [esi + 0x14], eax
lea eax, [esp + 0x1c]
push str.nSavedMaxPrivateID__d
push eax
call fcn.004a7803
add esp, 0x10
push ebp
push 0x208
lea ecx, [esp + 0x224]
push ecx
push 0x4d96f4
lea edx, [esp + 0x24]
push edx
push str.SETTINGS
call edi
lea eax, [esp + 0x21c]
push eax
call fcn.004a7a1f
mov ecx, ebx
add esp, 4
sub ecx, 0xb
mov dword [esi + 0x18], eax
je 0x40f5e5
sub ecx, 1
jne 0x40f66e
cmp dword [esp + 0x430], eax
jmp 0x40f5ef
mov ecx, dword [esp + 0x430]
cmp ecx, dword [esi + 0x14]
jle 0x40f66e
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi + 0x238]
cmp eax, 0x927c0
jbe 0x40f66e
push 0x3c
call fcn.00488fa5
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x40f631
mov ecx, 0xf
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ebx
mov byte [eax + 4], bl
mov dword [eax + 0x34], ecx
mov dword [eax + 0x30], ebx
mov byte [eax + 0x20], bl
mov ebp, eax
jmp 0x40f633
xor ebp, ebp
mov edx, dword [esp + 0x10]
push edx
mov ecx, ebp
call fcn.00406960
mov eax, dword [esp + 0xc]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00406960
mov dword [ebp + 0x38], esi
mov byte [esi + 0x234], 1
call edi
push ebx
push ebx
push ebp
push 0x40f690
push ebx
push ebx
mov dword [esi + 0x238], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
mov ecx, dword [esp + 0x420]
pop edi
pop ebx
xor ecx, esp
call fcn.004a74b2
add esp, 0x41c
ret 8
Function at 0x4104d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x2dc
mov eax, dword [0x500770]
xor eax, esp
mov dword [esp + 0x2d8], eax
push esi
mov esi, dword [esp + 0x2e4]
push edi
lea eax, [esp + 8]
push eax
push 0xf003f
xor edi, edi
push edi
push esi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x410562
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410526
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2ec]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410549
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.004a74b2
add esp, 0x2dc
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea esp, [esp]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xe8]
push edx
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
push edi
push eax
mov dword [esp + 0x30], 0xc8
mov dword [esp + 0x34], 0x1fe
call ebx
mov esi, eax
test esi, esi
jne 0x4105c3
mov ecx, dword [esp + 0x2f0]
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x41062a
add edi, 1
test esi, esi
je 0x410570
mov eax, dword [esp + 0x2ec]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4105ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2f0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410610
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.004a74b2
add esp, 0x2dc
ret
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2ec]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410658
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2f0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41067b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2e4]
pop ebx
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.004a74b2
add esp, 0x2dc
ret
Function at 0x4106a0
Capabilities:
Delete registry value

Disassembly:
push esi
mov esi, dword [esp + 8]
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push esi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x410701
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4106dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4106fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop esi
ret
mov ecx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410739
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
jg 0x410756
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop esi
ret
Function at 0x410760
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c7468
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x500770]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
push 0xf003f
mov dword [esp + 0x24], 2
mov edi, dword [esp + 0x2c]
push 0
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x410833
lea eax, [edi - 0x10]
mov byte [esp + 0x1c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4107d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4107f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41081e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
mov ebp, dword [esp + 0x2c]
mov esi, dword [ebp - 0xc]
push esi
push ebp
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x41084b
jmp fcn.00401e70
mov edx, dword [esp + 0x10]
lea ecx, [esi + esi]
mov esi, dword [esp + 0x28]
push ecx
push eax
push 1
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
mov byte [esp + 0x1c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410890
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4108b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4108d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x412590
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4c872b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x500770]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.CItemBase.0
call fcn.00491248
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4125d8
push 0x80004005
call fcn.00401ee0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
mov dword [esp + 0x14], edi
call fcn.004142b0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
xor eax, eax
mov dword [esi + 0x24], eax
mov edx, 0x18
xor ecx, ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x3c], edi
mov dword [esi + 0x34], 1
mov dword [esi + 0x20], edx
mov dword [esi + 0x30], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x44], edi
mov dword [esi + 8], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x41c4b0
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 0x274]
test eax, eax
je 0x41c20c
mov ecx, dword [esi + 0x278]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x41c211
call fcn.004a79fe
mov ecx, dword [esi + 0x274]
lea eax, [edi*8]
sub eax, edi
mov edx, dword [ecx + eax*4 + 0x18]
cmp dword [edx - 0xc], 0
lea eax, [ecx + eax*4]
je 0x41c255
mov eax, dword [eax + 0x10]
sub eax, 1
je 0x41c257
sub eax, 1
jne 0x41c255
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x41c255
mov eax, dword [esi + 0x30]
test eax, eax
je 0x41c255
mov esi, dword [esi + 0x38]
push esi
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
ret
mov ecx, esi
pop esi
jmp 0x41c4b0
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x500770]
xor eax, ebp
mov dword [ebp + 0x39c], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x130]
test eax, eax
push edi
mov edi, edx
mov dword [ebp - 0x7c], edi
je 0x41c4f0
push eax
call dword [sym.imp.USER32.dll_DestroyCursor]
mov dword [esi + 0x130], 0
push esi
call fcn.00421990
push 5
push 0
push 0
push edi
push 0x4d9900
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebx, eax
cmp ebx, 0x20
mov dword [ebp - 0x80], ebx
ja 0x41c629
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x78]
push eax
push 1
push 0
push str..htm
push SysReAllocString
call esi
test eax, eax
jne 0x41c629
lea ecx, [ebp - 0x78]
push ecx
lea edi, [ebp - 0x74]
call fcn.00407560
test eax, eax
jne 0x41c629
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str._shellopencommand
mov edx, edi
push edx
call ebx
lea eax, [ebp - 0x78]
push eax
push 1
push 0
mov ecx, edi
push ecx
push SysReAllocString
call esi
test eax, eax
jne 0x41c624
lea edx, [ebp - 0x78]
push edx
call fcn.00407560
test eax, eax
jne 0x41c624
mov eax, edi
push str.__1_
push eax
call fcn.004a84f5
mov esi, eax
add esp, 8
test esi, esi
jne 0x41c5c4
mov ecx, edi
push 0x4d994c
push ecx
call fcn.004a84f5
mov esi, eax
add esp, 8
test esi, esi
jne 0x41c5c4
mov edx, edi
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [ebp + eax*2 - 0x76]
jmp 0x41c5c9
mov word [esi], 0
push 0x4d8e7c
push esi
call ebx
mov eax, dword [ebp - 0x7c]
push eax
push esi
call ebx
call dword [0x501c04]
lea ecx, [ebp - 0x74]
push ecx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x41c601
xor eax, eax
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x41c62b
lea esi, [eax + eax]
mov eax, esi
call fcn.004aedf0
mov eax, esp
push edi
push esi
lea edx, [ebp - 0x74]
push edx
push eax
call fcn.00406c70
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x41c62b
mov eax, dword [ebp - 0x80]
jmp 0x41c62b
mov eax, ebx
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
xor ecx, ebp
call fcn.004a74b2
add ebp, 0x3a0
mov esp, ebp
pop ebp
ret
Function at 0x421290
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4c739e
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x500770]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x1c]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00406ea0
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x18], 0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
sub eax, 0x10
push eax
call fcn.00406ea0
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [esp + 0x1c], 1
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x24], ecx
mov edx, dword [edi + 0x28]
mov dword [esi + 0x28], edx
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x34], edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov eax, dword [edi + 0x40]
sub eax, 0x10
push eax
call fcn.00406ea0
add eax, 0x10
mov dword [esi + 0x40], eax
mov byte [esp + 0x20], 2
mov edx, dword [edi + 0x44]
mov dword [esi + 0x44], edx
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x4c], ecx
mov edx, dword [edi + 0x50]
mov dword [esi + 0x50], edx
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov ecx, dword [edi + 0x58]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x5c]
mov dword [esi + 0x5c], edx
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov ecx, dword [edi + 0x64]
mov dword [esi + 0x64], ecx
mov edx, dword [edi + 0x68]
mov dword [esi + 0x68], edx
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x6c], eax
mov ecx, dword [edi + 0x70]
mov dword [esi + 0x70], ecx
mov edi, dword [edi + 0x74]
sub edi, 0x10
push edi
call fcn.00406ea0
add esp, 0x10
add eax, 0x10
mov dword [esi + 0x74], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x421990
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c9ec8
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x500770]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
cmp dword [ebp + 0x130], 0
jne 0x421ada
mov ebx, dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f89
push 0
call ebx
test eax, eax
mov dword [ebp + 0x130], eax
jne 0x421ada
call fcn.00491248
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4219fc
push 0x80004005
call fcn.00401ee0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x421a3a
push 0x104
lea ecx, [esp + 0x28]
call fcn.00401da0
mov esi, dword [esp + 0x24]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test esi, esi
jne 0x421a4e
xor eax, eax
jmp 0x421a68
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421a53
sub eax, edx
sar eax, 1
js 0x421af0
cmp eax, dword [esi - 8]
jg 0x421af0
mov dword [esi - 0xc], eax
push str.winhlp32.exe
lea ecx, [esp + 0x28]
mov word [esi + eax*2], 0
call fcn.00406cb0
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x421aaf
push 0x6a
push esi
call ebx
test eax, eax
je 0x421aaf
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebp + 0x130], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421ada
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
push 0x80070057
call fcn.00401ee0
int3
Function at 0x42fe50
Capabilities:
Find taskbar

Disassembly:
push ebx
xor ebx, ebx
push edi
push ebx
push str.Shell_TrayWnd
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
cmp edi, ebx
je 0x42fe8b
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
push 0x42fdb0
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
pop edi
mov eax, esi
pop ebx
ret
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
call ebx
push 1
mov edi, eax
call ebx
push eax
push edi
add eax, 0xffffffec
push eax
add edi, 0xffffffd8
push edi
push esi
call dword [sym.imp.USER32.dll_SetRect]
pop edi
mov eax, esi
pop ebx
ret