joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4da7b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f7c0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x59a530]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x1c], 0
je 0x4da8f7
cmp dword [edi + 0x14], 0
je 0x4da8f7
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
lea eax, [ebx + ebx]
call fcn.004e6940
mov esi, esp
test esi, esi
je 0x4da8f7
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [edi + 0x14]
mov ecx, esi
mov eax, dword [eax + 0x7c8]
lea edx, [ecx + 2]
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4da840
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00424e10
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 0
test eax, eax
je 0x4da886
mov esi, ecx
cmp word [esi], 0xa
je 0x4da91a
add esi, 2
sub eax, 1
jne 0x4da874
mov ecx, dword [edi + 0x14]
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae edx, dword [ebp - 0x28]
mov eax, dword [ecx]
push edx
call dword [eax + 0x19c]
mov esi, dword [edi + 4]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
jne 0x4da8d2
push 0
push 0
push 0xb0
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
and eax, 0xf
lea ecx, [ebx - 1]
cmp eax, ecx
je 0x4da8d2
push ebx
push ebx
push 0xb1
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x14]
push 0
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push dword [ebp - 0x44]
call dword [eax + 0x20]
mov ecx, eax
call fcn.00476760
lea ecx, [ebp - 0x28]
call fcn.0041ebc0
xor eax, eax
lea esp, [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6500
mov esp, ebp
pop ebp
ret 0x10
test esi, esi
je 0x4da886
sub esi, ecx
sar esi, 1
cmp esi, 0xffffffff
je 0x4da886
push esi
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004b2960
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 1
jb 0x4da94c
mov edx, dword [edx]
mov ecx, dword [edi + 0x14]
push edx
mov eax, dword [ecx]
call dword [eax + 0x19c]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.0041ebc0
push esi
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004b2960
cmp dword [eax + 0x14], 8
jb 0x4da97b
mov eax, dword [eax]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x40]
call fcn.0041ebc0
jmp 0x4da8d2
Function at 0x4db330
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edi]
cmp eax, 0x17
jne 0x4db35d
movzx eax, word [esi + 0x55c]
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
pop edi
pop esi
mov dword [ebp + 8], eax
pop ebp
jmp dword [sym.imp.USER32.dll_SetCursor]
cmp eax, 0xd
jne 0x4db3ac
mov eax, dword [esi]
call dword [eax + 0x34]
push dword [edi + 0x10]
push dword [edi + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4db40d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x568], xmm0
mov eax, dword [edi + 0xc]
mov dword [esi + 0x560], eax
mov eax, dword [edi + 0x10]
pop edi
mov dword [esi + 0x564], eax
mov byte [esi + 0x578], 1
pop esi
pop ebp
ret 4
cmp eax, 0xe
jne 0x4db3cd
mov ecx, dword [esi + 0x558]
mov byte [esi + 0x578], 0
test ecx, ecx
je 0x4db40d
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
pop esi
pop ebp
ret 4
cmp eax, 9
jne 0x4db407
cmp dword [esi + 0x558], 0
je 0x4db40d
cmp byte [esi + 0x578], 0
je 0x4db40d
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4db40d
mov ecx, dword [esi + 0x558]
lea eax, [edi + 0xc]
push eax
push esi
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
pop esi
pop ebp
ret 4
push edi
call fcn.0047a070
pop edi
pop esi
pop ebp
ret 4

Function at 0x4db420
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edi]
cmp eax, 0xd
jne 0x4db46f
mov eax, dword [esi]
push ebx
call dword [eax + 0x34]
push dword [edi + 0x10]
mov ebx, eax
push dword [edi + 0xc]
push ebx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4db468
mov eax, dword [edi + 0xc]
sub eax, dword [ebx]
mov dword [esi + 0x55c], eax
mov eax, dword [edi + 0x10]
sub eax, dword [ebx + 4]
mov dword [esi + 0x560], eax
mov byte [esi + 0x564], 1
pop ebx
pop edi
pop esi
pop ebp
ret 4
cmp eax, 0xe
jne 0x4db490
mov ecx, dword [esi + 0x558]
mov byte [esi + 0x564], 0
test ecx, ecx
je 0x4db469
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
pop esi
pop ebp
ret 4
cmp eax, 9
jne 0x4db4c2
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4db4c2
mov ecx, dword [esi + 0x558]
test ecx, ecx
je 0x4db469
cmp byte [esi + 0x564], 0
je 0x4db469
mov edx, dword [ecx]
lea eax, [edi + 0xc]
pop edi
pop esi
mov dword [ebp + 8], eax
pop ebp
jmp dword [edx]
push edi
mov ecx, esi
call fcn.0047a070
pop edi
pop esi
pop ebp
ret 4
Function at 0x4e2840
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54fbd8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x59a530]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
cmp byte [esi + 0x20], 0
jne 0x4e2887
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x18], 1
jbe 0x4e28c3
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x4e2f90
push 0
push 0
call fcn.0053064c
xor ecx, ecx
mov dword [esi + 0x10], eax
add esp, 0x18
test eax, eax
setne cl
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ebx, [esi + 0x60]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [esi + 0x44]
call sub.gdiplus.dll_GdipCreateFromHDC
mov edi, dword [ebp - 0x10]
mov esi, eax
mov dword [ebp - 0x1c], edi
push 0xffffffffffffffff
push edi
mov dword [ebp - 4], 0
call sub.gdiplus.dll_GdipGraphicsClear
test eax, eax
cmovne esi, eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x2c]
push dword [eax + 0x28]
push 0
push 0
push dword [eax + 4]
push edi
call sub.gdiplus.dll_GdipDrawImageRectI
test eax, eax
push ebx
cmovne esi, eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + 0x4c]
call fcn.0047abc0
mov ecx, esi
call fcn.004e2c50
push edi
call sub.gdiplus.dll_GdipDeleteGraphics
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e932d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4fe950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004fe4c0
Function at 0x4ffb80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550bb3
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x59a530]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x80], 0
mov dword [edi], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c], 0
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0046d750
mov eax, dword [ebp - 0x80]
add esp, 8
test eax, eax
je 0x4ffd93
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
call esi
test eax, eax
je 0x4ffd93
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x4ffd93
push eax
call esi
test eax, eax
je 0x4ffd93
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
push 0x201
push dword [ebp - 0x80]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004ffad0
mov esi, dword [ebp - 0x90]
test eax, eax
jne 0x4ffd84
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00526d90
add esp, 0xc
mov dword [ebp - 0x78], 0x64
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x84]
push eax
push 0
push dword [ebp - 0x7c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ffd84
mov eax, dword [ebp - 0x84]
cmp eax, 1
je 0x4ffcab
cmp eax, 2
jne 0x4ffd84
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x4ffccc
test cl, 1
jne 0x4ffd84
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x4ffcd2
jmp 0x4ffd84
xor eax, eax
mov word [ebp - 0x74], ax
shr ecx, 1
cmp ecx, 0x2d
jne 0x4ffd84
lea ecx, [ebp - 0x78]
call fcn.004fdf40
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x78]
call fcn.004fe000
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0
push eax
lea eax, [ebp - 0x20]
push 0x570390
push eax
call fcn.00500190
push 0x2a
push dword [ebp - 0x78]
call fcn.004fe4c0
movzx eax, al
add esp, 0x14
cmp dword [ebp - 0x84], eax
jne 0x4ffd7c
lea edx, [ebp - 0x74]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4ffd32
sub edx, ecx
lea eax, [ebp - 0x74]
sar edx, 1
mov ecx, ebx
push edx
push eax
call fcn.004fdd80
push dword [0x59a610]
lea eax, [ebp - 0x74]
push dword [0x59a60c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x4ffd6d
mov dword [edi], 1
lea ecx, [ebp - 0x78]
call fcn.004fd260
mov edi, 1
jmp 0x4ffd86
lea ecx, [ebp - 0x78]
call fcn.004fd260
xor edi, edi
test esi, esi
je 0x4ffd95
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ffd95
xor edi, edi
push dword [ebp - 0x7c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x80]
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6500
mov esp, ebp
pop ebp
ret
Function at 0x4ffdd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x4ffde5
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ffdf0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x503010
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x503081
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x50304f
cmp eax, 2
jne 0x50306b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x50307b
test ecx, ecx
je 0x503076
test cl, 1
jne 0x50306b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x50307b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x539855
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x539894
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x539894
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x539894
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x539894
cmp dword [ecx + 0x74], 0xe
jbe 0x539894
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x53d8a0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x574dc0
push 0x574db8
push str.FlsAlloc
push 0x1f
call fcn.0053d79b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x53d8d4
push dword [ebp + 8]
mov ecx, esi
call dword [0x554714]
call esi
jmp 0x53d8da
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x53d91e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x574dd0
push 0x574dc8
push str.FlsGetValue
push 0x21
call fcn.0053d79b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x53d955
push dword [ebp + 8]
mov ecx, esi
call dword [0x554714]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x53d95d
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x574dd8
push 0x574dd0
push str.FlsSetValue
push 0x22
call fcn.0053d79b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x53d997
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x554714]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x54030b
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x59a530]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x540356
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.005404a6
test al, al
jne 0x540350
sub edx, 2
cmp edx, edi
jne 0x540336
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x540378
lea eax, [edi + 2]
cmp edx, eax
je 0x540378
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00540257
add esp, 0x10
jmp 0x540472
push esi
lea ecx, [ebp - 0x255]
call fcn.005404a6
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5403bb
push dword [ebp - 0x25c]
jmp 0x540368
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x5403f8
cmp word [ebp - 0x226], 0
je 0x540419
cmp word [ebp - 0x226], ax
jne 0x5403f8
cmp word [ebp - 0x224], 0
je 0x540419
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00540257
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x540465
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x5403d2
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x54044d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x540472
push 0x540087
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00545f50
add esp, 0x10
jmp 0x540442
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e6500
leave
ret
Function at 0x401c90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x482810], 0
jne 0x401caf
cmp dword [0x482814], 0
jne 0x401caf
mov eax, 1
jmp 0x401d40
push 0
push 0
push 1
push 0
call dword [0x48a0a4]
mov dword [0x4885f8], eax
cmp dword [0x4885f8], 0
je 0x401d3e
push 0
push 0
push 1
push 0
call dword [0x48a0a4]
mov dword [0x4885fc], eax
cmp dword [0x4885fc], 0
je 0x401d27
push 0
push 0
push 0
push 0x401dc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4885f4], eax
cmp dword [0x4885f4], 0
je 0x401d11
mov eax, 1
jmp 0x401d40
mov eax, dword [0x4885fc]
push eax
call dword [0x48a08c]
mov dword [0x4885fc], 0
mov ecx, dword [0x4885f8]
push ecx
call dword [0x48a08c]
mov dword [0x4885f8], 0
xor eax, eax
pop ebp
ret
Function at 0x4031e0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push edi
cmp dword [0x489e7c], 0
jne 0x4031f9
xor eax, eax
xor edx, edx
jmp 0x4033df
lea eax, [ebp + 0x14]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x10], 0
jle 0x403228
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x50], ecx
mov edx, dword [eax - 4]
mov dword [ebp - 0x4c], edx
jmp 0x403236
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x34], ecx
cmp dword [ebp + 0x10], 0
jle 0x40326b
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0x1c]
add eax, 8
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx - 8]
mov dword [ebp - 0x58], edx
mov eax, dword [ecx - 4]
mov dword [ebp - 0x54], eax
jmp 0x403279
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0xc], edx
cmp dword [ebp + 0x10], 0
jle 0x4032ae
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 8
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx - 8]
mov dword [ebp - 0x60], eax
mov ecx, dword [edx - 4]
mov dword [ebp - 0x5c], ecx
jmp 0x4032bc
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x24], eax
cmp dword [ebp + 0x10], 0
jle 0x4032f1
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x68], ecx
mov edx, dword [eax - 4]
mov dword [ebp - 0x64], edx
jmp 0x4032ff
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
sub eax, 8
xor ecx, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 0x10]
cdq
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x48], 0
xor edx, edx
mov word [ebp - 0x44], dx
mov word [ebp - 0x44], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 0x48], esp
and esp, 0xfffffff0
push 0x33
call 0x403360
add dword [esp], 5
retf
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x405ef0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc30
xor eax, eax
mov word [ebp - 0x208], ax
push 0x206
push 0
lea ecx, [ebp - 0x206]
push ecx
call fcn.00421ff0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x208]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4060b2
xor eax, eax
mov word [ebp - 0x410], ax
push 0x206
push 0
lea ecx, [ebp - 0x40e]
push ecx
call fcn.00421ff0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x410]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jbe 0x4060b2
xor eax, eax
mov word [ebp - 0x618], ax
push 0x206
push 0
lea ecx, [ebp - 0x616]
push ecx
call fcn.00421ff0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x618]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x4060b2
xor eax, eax
mov word [ebp - 0x820], ax
push 0x206
push 0
lea ecx, [ebp - 0x81e]
push ecx
call fcn.00421ff0
add esp, 0xc
lea edx, [ebp - 0x410]
push edx
push 0x431a58
push 0x104
lea eax, [ebp - 0x820]
push eax
call fcn.0042206a
add esp, 0x10
xor ecx, ecx
mov word [ebp - 0xc30], cx
push 0x206
push 0
lea edx, [ebp - 0xc2e]
push edx
call fcn.00421ff0
add esp, 0xc
lea eax, [ebp - 0x618]
push eax
push 0x431a78
push 0x104
lea ecx, [ebp - 0xc30]
push ecx
call fcn.0042206a
add esp, 0x10
xor edx, edx
mov word [ebp - 0xa28], dx
push 0x206
push 0
lea eax, [ebp - 0xa26]
push eax
call fcn.00421ff0
add esp, 0xc
lea ecx, [ebp - 0x618]
push ecx
push 0x431a98
push 0x104
lea edx, [ebp - 0xa28]
push edx
call fcn.0042206a
add esp, 0x10
lea eax, [ebp - 0x820]
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [0x48a430]
test eax, eax
je 0x4060ab
lea edx, [ebp - 0xc30]
push edx
lea eax, [ebp - 0x208]
push eax
call dword [0x48a430]
test eax, eax
je 0x4060ab
lea ecx, [ebp - 0xa28]
push ecx
lea edx, [ebp - 0x208]
push edx
call dword [0x48a430]
test eax, eax
jne 0x4060b2
mov eax, 1
jmp 0x4060b4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x406210
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0xfffe
push 0x40
call dword [0x48a094]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4062fb
push 0xfffe
push 0x40
call dword [0x48a094]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4062f1
push 0xfffe
push 0x40
call dword [0x48a094]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4062e7
push 0x7fff
mov eax, dword [ebp - 4]
push eax
push 0
call dword [0x48a0ac]
test eax, eax
je 0x4062dd
push 0x7fff
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x4062dd
mov edx, dword [ebp - 8]
push edx
push str._sexplorer.exe
push 0x7fff
mov eax, dword [ebp - 0xc]
push eax
call fcn.0042206a
add esp, 0x10
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4062dd
mov eax, dword [ebp - 4]
push eax
call dword [0x48a0a0]
mov ecx, dword [ebp - 8]
push ecx
call dword [0x48a0a0]
mov edx, dword [ebp - 0xc]
push edx
call dword [0x48a0a0]
mov eax, 1
jmp 0x4062fd
mov eax, dword [ebp - 0xc]
push eax
call dword [0x48a0a0]
mov ecx, dword [ebp - 8]
push ecx
call dword [0x48a0a0]
mov edx, dword [ebp - 4]
push edx
call dword [0x48a0a0]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x406310
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0xfffe
push 0x40
call dword [0x48a094]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4063fb
push 0xfffe
push 0x40
call dword [0x48a094]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4063f1
push 0xfffe
push 0x40
call dword [0x48a094]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4063e7
push 0x7fff
mov eax, dword [ebp - 4]
push eax
push 0
call dword [0x48a0ac]
test eax, eax
je 0x4063dd
push 0x7fff
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4063dd
mov edx, dword [ebp - 8]
push edx
push str._s_svchost.exe
push 0x7fff
mov eax, dword [ebp - 0xc]
push eax
call fcn.0042206a
add esp, 0x10
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4063dd
mov eax, dword [ebp - 4]
push eax
call dword [0x48a0a0]
mov ecx, dword [ebp - 8]
push ecx
call dword [0x48a0a0]
mov edx, dword [ebp - 0xc]
push edx
call dword [0x48a0a0]
mov eax, 1
jmp 0x4063fd
mov eax, dword [ebp - 0xc]
push eax
call dword [0x48a0a0]
mov ecx, dword [ebp - 8]
push ecx
call dword [0x48a0a0]
mov edx, dword [ebp - 4]
push edx
call dword [0x48a0a0]
xor eax, eax
mov esp, ebp
pop ebp
ret