joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x403203
pop dword [ebp - 0x40]
mov eax, 0x96ca9d6a
sub eax, 0x968a6b67
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x26856d5e
sub dword [ebp - 0x50], 0xd8332813
mov dword [ebp - 0x4c], 0xf28d73ef
sub dword [ebp - 0x4c], 0xc05a27aa
mov dword [ebp - 0x48], 0xc310c310
add dword [ebp - 0x48], 0x893b811e
mov dword [ebp - 0x44], 0xb7dcff1b
sub dword [ebp - 0x44], 0xb7dcff1b
lea eax, [ebp - 0x50]
push eax
mov eax, 0x4fb24461
add eax, 0xb08e3c2b
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x3ee72708
sub dword [ebp - 0x50], 0xca74bdb2
mov dword [ebp - 0x4c], 0xa8a82f7c
add dword [ebp - 0x4c], 0x98c431f9
mov dword [ebp - 0x48], 0x3a336040
sub dword [ebp - 0x48], 0xd6c3f3d4
mov dword [ebp - 0x44], 0xa61eb4d5
sub dword [ebp - 0x44], 0xa61eb4d5
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x332f5
push 0
call eax
mov ecx, 0xad3fff13
add ecx, 0x52c03b4a
xor esi, esi
add esi, eax
mov edx, 0x83a3b364
add edx, 0x7c9d5c9c
add edx, dword [ebp - 0x40]
mov edi, 0xca7a7aa3
sub edi, 0xa4339c67
mov ebx, dword [edx]
xor dword [ebp - 0x38], 0x8e90ea6b
xor ebx, edi
sub dword [ebp - 0x34], edi
mov dword [esi], ebx
sub dword [ebp - 0x28], 0x8701ba8
add esi, 0x46ac1ba5
sub esi, 0x46ac1ba1
add edx, 4
loop 0x403322
add eax, 0xdc47
mov ebx, eax
add eax, 0xc0147c55
sub eax, 0xc0147c50
mov ecx, 0x92613d7
add ecx, 0xf719ec29
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00408afe
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00408afe
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00408afe
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00408afe
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00408afe
mov dword [0x41203c], eax
call fcn.00408afe
test eax, eax
jge 0x402550
push 8
call fcn.00408afe
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00408afe
pop ecx
push 1
call fcn.00408afe
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00408afe
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00408afe
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00408afe
jmp 0x402495

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
Function at 0x403400
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub al, 0xc6
test dword [ebp + 0x26fffffc], ebx
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.004024a9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040245e
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.00402499
out dx, eax
pop esp
inc esp
bound ebp, qword [eax + 4]
add dword [eax], eax
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid
Function at 0x401ac0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441ad0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x453f10]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.00418b06
mov esi, dword [ebp + 8]
push 0
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0
call fcn.00418b9e
test eax, eax
je 0x401b75
push esi
lea ecx, [esp + 0xc]
call fcn.00402700
lea eax, [esp + 8]
push eax
mov byte [esp + 0x34], 1
call fcn.00401e20
mov byte [esp + 0x30], 0
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401b4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00418b2f
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 0x448b0c
call fcn.00417f27
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00418b2f
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x401f00
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push esi
mov esi, eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor eax, eax
cmp word [esp + 4], ax
setne al
mov dword [esi + 0xac], eax
test eax, eax
jne 0x401f59
mov eax, 1
pop esi
add esp, 0x24
ret
call fcn.00401f70
pop esi
add esp, 0x24
ret
Function at 0x401f70
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4411ab
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x453f10]
xor eax, esp
mov dword [esp + 0x27c], eax
push ebx
push edi
mov eax, dword [0x453f10]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov eax, dword [esi + 0xb0]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
cmp eax, edi
je 0x401fd8
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esi + 0xb0]
push eax
call ebx
mov dword [esi + 0xb0], edi
mov eax, dword [esi + 0xa8]
cmp eax, edi
je 0x401fee
push eax
call fcn.00409ac0
mov dword [esi + 0xa8], edi
push 0x206
lea edx, [esp + 0x82]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x88], cx
call fcn.0042ce90
add esp, 0xc
push 0x104
lea eax, [esp + 0x80]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x7c]
push 0x5c
push ecx
call fcn.0042bd2d
add eax, 2
mov edx, eax
lea ecx, [esp + 0x84]
sub edx, ecx
sar edx, 1
mov ecx, 0x104
push str.2Box_x64_helper.dll
sub ecx, edx
push ecx
push eax
call fcn.0042bd59
add esp, 0x14
lea ecx, [esp + 0x1c]
call fcn.00418b06
push edi
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x2a0], edi
call fcn.00418b9e
mov dword [esp + 0x298], 0xffffffff
lea ecx, [esp + 0x1c]
test eax, eax
jne 0x402095
call fcn.00418b2f
xor eax, eax
jmp 0x40215b
call fcn.00418b2f
xor eax, eax
push 0x40
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x3c]
push edi
push eax
mov dword [esp + 0x18], edi
call fcn.0042ce90
add esp, 0xc
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push edi
push 0x4000000
push edi
xor ecx, ecx
push edi
mov word [esp + 0x80], cx
push edi
lea ecx, [esp + 0x9c]
push ecx
push edi
mov dword [esp + 0x5c], 0x44
mov dword [esp + 0x88], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40208e
mov edx, dword [esp + 0x10]
push edx
call ebx
mov eax, dword [esp + 0xc]
push str.2Box_x64BE6D2570_E5E5_40f0_9A53_CBDDE9C422BD
mov dword [esi + 0xb0], eax
mov dword [0x4586c8], 0x4090c0
mov dword [0x4586cc], edi
call fcn.00409a20
mov dword [esi + 0xa8], eax
cmp eax, edi
jne 0x402156
mov ecx, dword [esi + 0xb0]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esi + 0xb0]
push edx
call ebx
mov dword [esi + 0xb0], edi
xor eax, eax
jmp 0x40215b
mov eax, 1
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x27c]
xor ecx, esp
call fcn.0042bb06
mov esp, ebp
pop ebp
ret

Function at 0x4022d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.00416333
Function at 0x4023e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4023f9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402434
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402430
lea ebx, [ebx]
cmp esi, eax
jae 0x402434
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402420
cmp esi, eax
jb 0x40243a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x402f00
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x440af8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x453f10]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x28]
cmp dword [eax], 0xffffffff
je 0x402f6e
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4030ca
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4030ca
mov eax, dword [esp + 0x28]
test eax, eax
je 0x402f64
push eax
call fcn.004155ce
add esp, 4
mov ecx, dword [esp + 0x2c]
push ecx
jmp 0x4030c2
mov esi, dword [ebx + 0xd0]
sub esi, dword [ebx + 0xcc]
mov edx, dword [ebx + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
lea edi, [ebx + 0xc0]
push 0
push 0x1304
push edx
sar esi, 3
call ebp
push 0
cmp esi, eax
je 0x402fe5
push 0x448e54
push 0x448e60
mov ecx, ebx
call fcn.0041cc18
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4030ca
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4030ca
mov eax, dword [esp + 0x28]
test eax, eax
je 0x402fdb
push eax
call fcn.004155ce
add esp, 4
mov eax, dword [esp + 0x2c]
push eax
jmp 0x4030c2
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x2c]
sar ecx, 3
mov dword [edx], ecx
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0x10]
and esi, 0xfffbffff
push eax
or esi, 0x80
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x10]
push esi
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xffffffffffffffec
push edx
call esi
cmp dword [ebx + 0xd8], 0
jne 0x40303e
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x10]
push bind
push 0xfffffffffffffff0
push ecx
call esi
lea eax, [esp + 0x28]
call fcn.00404170
mov edx, dword [ebx + 0x20]
mov esi, dword [esp + 0x28]
push 0
push 0
push 0x1304
push edx
call ebp
push 0
push 0
add esi, 0x20
push esi
push eax
push 1
mov ecx, ebx
call fcn.00420f04
mov eax, dword [ebx + 0x20]
push 0
push 0
push 0x1304
push eax
call ebp
mov ecx, dword [ebx + 0x20]
push 0
dec eax
push eax
push 0x130c
push ecx
call ebp
call fcn.00403360
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0xa8], 0
test eax, eax
je 0x4030ca
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4030ca
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4030bd
push eax
call fcn.004155ce
add esp, 4
mov edx, dword [esp + 0x2c]
push edx
call fcn.004155ce
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x403670
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx + 0xcc]
push edi
cmp esi, dword [ebx + 0xd0]
jbe 0x403690
call fcn.0042c3b9
mov edi, dword [ebx + 0xc0]
jmp 0x4036a0
mov ebx, dword [ebx + 0xd0]
mov eax, dword [ebp + 8]
cmp dword [eax + 0xcc], ebx
jbe 0x4036b6
call fcn.0042c3b9
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc0]
test edi, edi
je 0x4036c7
cmp edi, eax
je 0x4036cc
call fcn.0042c3b9
cmp esi, ebx
je 0x403799
test edi, edi
jne 0x40373d
call fcn.0042c3b9
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4036e9
call fcn.0042c3b9
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xd8], 0
je 0x403749
test edi, edi
jne 0x403741
call fcn.0042c3b9
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x403718
call fcn.0042c3b9
mov ebx, dword [esi]
test edi, edi
jne 0x403745
call fcn.0042c3b9
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x40372f
call fcn.0042c3b9
mov edx, dword [ebx + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax + 0x10]
push edx
push 0xfffffffffffffff0
push ecx
jmp 0x40376b
mov eax, dword [edi]
jmp 0x4036df
mov eax, dword [edi]
jmp 0x40370e
mov eax, dword [edi]
jmp 0x403725
test edi, edi
jne 0x403791
call fcn.0042c3b9
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x40375e
call fcn.0042c3b9
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push bind
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
test edi, edi
jne 0x403795
call fcn.0042c3b9
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x403786
call fcn.0042c3b9
mov ebx, dword [ebp + 8]
add esi, 8
jmp 0x4036a0
mov eax, dword [edi]
jmp 0x403754
mov eax, dword [edi]
jmp 0x40377c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x403820
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push esi
mov esi, eax
push edi
mov edi, ecx
test esi, esi
jl 0x4038d5
mov eax, dword [edi + 0x20]
push 0
push 0
push 0x1304
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, eax
jge 0x4038d5
mov ecx, dword [edi + 0xd0]
sub ecx, dword [edi + 0xcc]
sar ecx, 3
cmp esi, ecx
jb 0x403864
call fcn.0042c3b9
mov edx, dword [edi + 0xcc]
mov edi, dword [edx + esi*8]
lea eax, [edx + esi*8]
mov esi, dword [eax + 4]
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
test esi, esi
je 0x403886
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
test edi, edi
jne 0x4038a8
test esi, esi
je 0x4038d5
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4038d5
push esi
call fcn.004155ce
add esp, 4
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [edi + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4038cc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 8]
call fcn.00404270
pop edi
pop esi
add esp, 0xc
ret
Function at 0x4052f0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x441468
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x453f10]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x405334
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0x238
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 0
call fcn.00406a10
mov eax, dword [esi]
push eax
call fcn.004155ce
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x407c60
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x44ee90
push 0x42d770
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x453f10]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
push eax
push esi
push 0x42a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x20], edi
cmp edi, esi
je 0x407d37
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ebx, [eax + eax]
push 4
push 0x1000
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x407d37
push 0
push ebx
mov edx, dword [ebp + 0xc]
push edx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x407d37
push 0x449508
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407d37
push 0
push 0
push esi
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x407d37
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.00407d60
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x409f80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44053c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x453f10]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.sRPC::RpcIOHandler.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, dword [esp + 0x30]
mov byte [esp + 0x1c], 4
mov dword [esi + 0xc], ebx
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
mov dword [esi + 0x14], ebx
mov edi, dword [eax]
cmp edi, ebx
je 0x409feb
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
je 0x409feb
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [esi + 0x14], edi
mov byte [esp + 0x1c], 5
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x18], ebx
mov edi, ecx
cmp ecx, ebx
je 0x40a014
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
je 0x40a014
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [esi + 0x18], edi
mov byte [esp + 0x1c], 6
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x1c], ebx
mov edi, ecx
cmp ecx, ebx
je 0x40a041
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [esi + 0x1c]
cmp ecx, ebx
je 0x40a03d
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x1c], edi
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x1c], 7
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], ebx
mov edi, dword [eax]
cmp edi, ebx
je 0x40a077
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
mov ecx, dword [esi + 0x24]
cmp ecx, ebx
je 0x40a073
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x34]
mov dword [esi + 0x24], edi
cmp eax, ebx
je 0x40a093
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0xffffffff
cmp ecx, ebx
je 0x40a0a6
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x18