joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48a658
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4ace70]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x24]
mov edi, ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0xc], ecx
push eax
mov ecx, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 0
call fcn.00402340
lea ecx, [esp + 0x10]
push ecx
push ecx
push eax
mov dword [esp + 0x6c], 0
mov esi, dword [esi + 0x10]
push esi
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [esp + 0x48]
push ecx
push edi
call fcn.00424ca0
add esp, 0x1c
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00468fc0
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x28], edx
test eax, eax
je 0x424437
push 0
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.004683c9
mov eax, dword [edi + 4]
test eax, eax
jbe 0x424415
cmp eax, 0xffffffff
jae 0x424415
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x2c]
and esi, edi
call fcn.004683f1
test esi, esi
je 0x424437
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp byte [ebp + 0x10], 0
jne 0x424445
lea ecx, [ebp + 0xc]
call fcn.00426810
cmp byte [ebp + 0x18], 0
jne 0x424453
lea ecx, [ebp + 0x14]
call fcn.00426810
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x424487
cmp dword [ebp + 0x14], ecx
je 0x42448d
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x30]
cmp dword [esp + 0x14], edx
je 0x424496
cmp dword [esp + 0x10], 0
jne 0x424496
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [eax], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 4], edx
jmp 0x424499
cmp dword [ebp + 0x14], 0
je 0x42445f
mov eax, dword [esp + 0xc]
or dword [eax], 1
jmp 0x424463
or dword [eax], 2
mov eax, dword [esp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00469e0a
mov esp, ebp
pop ebp
ret 0x20
Function at 0x4244d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48a658
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4ace70]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x24]
mov edi, ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0xc], ecx
push eax
mov ecx, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 0
call fcn.00402340
lea ecx, [esp + 0x10]
push ecx
push ecx
push eax
mov dword [esp + 0x6c], 0
mov esi, dword [esi + 0x10]
push esi
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [esp + 0x48]
push ecx
push edi
call fcn.00424ca0
add esp, 0x1c
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00469083
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x28], edx
test eax, eax
je 0x4245c7
push 0
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.004683c9
mov eax, dword [edi + 4]
test eax, eax
jbe 0x4245a5
cmp eax, 0xffffffff
jae 0x4245a5
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x2c]
and esi, edi
call fcn.004683f1
test esi, esi
je 0x4245c7
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp byte [ebp + 0x10], 0
jne 0x4245d5
lea ecx, [ebp + 0xc]
call fcn.00426810
cmp byte [ebp + 0x18], 0
jne 0x4245e3
lea ecx, [ebp + 0x14]
call fcn.00426810
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x424617
cmp dword [ebp + 0x14], ecx
je 0x42461d
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x30]
cmp dword [esp + 0x14], edx
je 0x424626
cmp dword [esp + 0x10], 0
jne 0x424626
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [eax], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 4], edx
jmp 0x424629
cmp dword [ebp + 0x14], 0
je 0x4245ef
mov eax, dword [esp + 0xc]
or dword [eax], 1
jmp 0x4245f3
or dword [eax], 2
mov eax, dword [esp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00469e0a
mov esp, ebp
pop ebp
ret 0x20
Function at 0x428570
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x48a523
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00422990
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esi + 0x44], vtable.boost::exception_detail::clone_base.0
mov byte [esp + 0x18], 1
lea eax, [esi + 0x30]
mov dword [esi], 0x48fb80
mov dword [eax], 0x48fb78
mov dword [esi + 0x44], 0x48fca4
cmp edi, ecx
je 0x4285d2
lea ecx, [edi + 0x30]
push ecx
push eax
call fcn.00402a00
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4308d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48c4a9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x18], 0
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov ebx, ecx
mov dword [esp + 0x1c], esi
test eax, eax
je 0x43091a
cmp eax, dword [edi + 0x10]
je 0x43091f
call fcn.00469f76
push edi
push esi
mov ecx, ebx
call fcn.00430e70
mov dword [esp + 0x28], 0
cmp dword [esi], 0
mov dword [esp + 0x18], 1
jl 0x430968
mov eax, dword [esi + 8]
mov dword [esp + 0x14], eax
cmp eax, 0xffff
mov dword [esp + 0x10], 0xffff
lea eax, [esp + 0x10]
ja 0x43095b
lea eax, [esp + 0x14]
mov eax, dword [eax]
mov ecx, dword [ebx + 4]
push eax
push 1
call fcn.004153a0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 8
Function at 0x432910
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48d88e
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
xor ebx, ebx
mov dword [ecx + 0x18], 7
xor edi, edi
mov dword [ecx + 0x14], edi
mov word [ecx + 4], bx
mov ebx, dword [esp + 0x30]
push ebx
mov ebx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push ebx
push edx
push eax
call fcn.00433a10
sub esp, 0x1c
mov dword [esp + 0xd8], edi
mov eax, dword [esi]
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
add eax, 0x1c
push edi
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
push eax
mov word [ecx + 4], dx
call fcn.0040d190
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0xdc], 0xffffffff
call fcn.00433560
add esp, 0x3c
mov ebx, 1
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0xa4], ebx
call fcn.00433600
mov byte [esp + 0xa0], 2
mov ecx, dword [esi]
add ecx, 0x58
call fcn.00431180
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
lea ecx, [eax + 0xc]
cmp ecx, edi
je 0x4329f8
lea eax, [ecx - 0xc]
jmp 0x4329fa
xor eax, eax
mov eax, dword [eax + 4]
lea edx, [esp + 0x58]
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00431b30
lea ecx, [esp + 0x58]
mov byte [esp + 0xa0], bl
call fcn.00419750
mov ebx, 8
mov dword [esp + 0xa0], 0xffffffff
cmp dword [esp + 0x54], ebx
jb 0x432a40
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00469665
add esp, 4
xor edx, edx
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], edi
mov word [esp + 0x40], dx
cmp dword [esp + 0x38], ebx
jb 0x432a66
mov eax, dword [esp + 0x24]
push eax
call fcn.00469665
add esp, 4
xor ecx, ecx
mov word [esp + 0x24], cx
mov ecx, dword [esi]
add ecx, 0x1c
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
call fcn.00431110
mov ecx, dword [esi]
call fcn.00431110
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4347e0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x48e830
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x24], 0
call fcn.00435260
add esp, 0xc
lea eax, [esp + 8]
mov byte [esp + 0x18], 1
call fcn.00434d70
cmp byte [esp + 0x40], 0
je 0x434844
mov eax, dword [esp + 8]
push eax
call fcn.00434bc0
jmp 0x434867
mov edx, dword [esp + 8]
lea ecx, [esp + 0x40]
push ecx
push 0
push edx
push fcn.00434bc0
push 0
push 0
mov dword [esp + 0x58], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [esp + 0x18], 0
mov esi, dword [esp + 0xc]
test esi, esi
je 0x43489e
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x43489e
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x43489e
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp dword [esp + 0x38], 8
jb 0x4348b2
mov eax, dword [esp + 0x24]
push eax
call fcn.00469665
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x435260
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x48e802
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
sub esp, 0x40
mov dword [esp + 0x50], 0
mov eax, esp
lea edi, [esp + 0x60]
mov dword [esp + 0x54], esp
mov byte [eax], 0
call fcn.00435410
mov dword [esp + 0x30], 1
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4352c7
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x4b5a78
call edx
mov edi, eax
jmp 0x4352c9
xor edi, edi
lea esi, [edi + 4]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov byte [esp + 0x30], 2
test esi, esi
je 0x435313
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov eax, dword [esp + 0x3c]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
xor edx, edx
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
push eax
mov word [ecx + 4], dx
call fcn.0040d190
call fcn.004346e0
push esi
lea ecx, [esp + 0x24]
push esi
push ecx
mov byte [edi], 1
call fcn.004170f0
mov eax, dword [esp + 0x30]
add esp, 0xc
mov dword [ebp], esi
mov dword [ebp + 4], eax
test eax, eax
je 0x435343
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], 1
mov byte [esp + 0x30], 0
test eax, eax
je 0x435380
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x435380
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x435380
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
Function at 0x436230
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x48b4e0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
xor ebp, ebp
lea edi, [esi + 0x28]
mov dword [esp + 0x20], ebp
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebp
mov word [edi + 4], ax
lea ecx, [esi + 0x4c]
mov ebx, 1
push ecx
mov byte [esp + 0x24], bl
call fcn.004392c0
mov byte [esp + 0x20], 2
mov eax, dword [esp + 0x30]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov edx, dword [eax + 8]
mov dword [esi + 0x20], edx
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x24], ecx
lea ecx, [eax + 0x24]
mov eax, ecx
lea edx, [eax + 2]
mov bx, word [eax]
add eax, 2
cmp bx, bp
jne 0x4362a6
sub eax, edx
sar eax, 1
push eax
push ecx
mov ecx, edi
call fcn.0040d290
mov edx, dword [esp + 0x2c]
mov dword [esi + 8], edx
mov dword [esi + 0x44], ebp
mov dword [esi + 0x48], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x34]
mov ecx, ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], ecx
cmp eax, ebp
je 0x43631f
mov edi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x43631f
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x43631f
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
Function at 0x436380
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
sub eax, dword [esi + 0x58]
push edi
sar eax, 3
xor edi, edi
test eax, eax
jbe 0x43646c
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [esi + 0x5c]
sub ecx, dword [esi + 0x58]
sar ecx, 3
cmp edi, ecx
jb 0x4363b2
call fcn.00469f76
mov edx, dword [esi + 0x58]
mov eax, dword [edx + edi*8]
mov ecx, dword [eax + 8]
cmp ecx, dword [esp + 0x18]
jge 0x4363c9
mov edx, dword [esi + 4]
dec edx
cmp edi, edx
jle 0x436436
mov eax, dword [esi + 0x5c]
sub eax, dword [esi + 0x58]
sar eax, 3
cmp edi, eax
jb 0x4363db
call fcn.00469f76
mov ecx, dword [esi + 0x58]
mov edx, dword [ecx + edi*8]
mov eax, dword [edx + 0x20]
push eax
push 0
push 1
call ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x436417
lea eax, [esp + 0x10]
push eax
push ebx
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esi + 0x5c]
sub edx, dword [esi + 0x58]
sar edx, 3
cmp edi, edx
jb 0x436429
call fcn.00469f76
mov eax, dword [esi + 0x58]
mov ecx, dword [eax + edi*8]
mov dword [ecx + 0x48], 2
mov edx, dword [esi + 0x5c]
sub edx, dword [esi + 0x58]
sar edx, 3
cmp edi, edx
jb 0x436448
call fcn.00469f76
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x58]
mov ecx, dword [ecx + edi*8]
push eax
call fcn.00436380
mov edx, dword [esi + 0x5c]
sub edx, dword [esi + 0x58]
inc edi
sar edx, 3
cmp edi, edx
jb 0x4363a0
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret 4
Function at 0x436890
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
lea eax, [esp + 0x14]
push edi
push eax
call fcn.0046bc9f
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
call fcn.0046b795
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], edx
call fcn.0046bc8d
add esp, 0x10
mov edi, eax
mov dword [esp + 0x2c], edx
call dword [sym.imp.WINMM.dll_timeGetTime]
xor edx, edx
mov ecx, 0x3e8
div ecx
push edi
mov esi, edx
sub esi, edi
add esi, dword [esp + 0x1c]
call fcn.0046a9aa
add esp, 4
xor eax, eax
test esi, esi
jbe 0x4369bb
mov ebx, dword [ebp + 8]
mov dword [esp + 0x10], esi
mov esi, dword [ebp + 0x14]
mov eax, ebx
test esi, esi
jl 0x4369a9
mov edx, dword [ebp + 0xc]
sub edx, ebx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
lea edi, [esi + 1]
fstp qword [esp + 0x20]
fild dword [ebp + 8]
fstp qword [esp + 0x28]
call fcn.0046a9bc
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x4995e0]
fmul qword [esp + 0x20]
fadd qword [esp + 0x28]
call fcn.00486ad0
sub edi, 1
jne 0x436984
cmp byte [ebp + 0x10], 0
je 0x4369b4
cdq
xor eax, edx
sub eax, edx
sub dword [esp + 0x10], 1
jne 0x436963
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4371d0
Capabilities:
Create thread
Delete file
Inject dll
Inject thread

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x4371e3
xor eax, eax
pop ebp
add esp, 0xc
ret
mov eax, dword [esp + 0x14]
push edi
push eax
push 0
push 0x3a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x4371ff
pop edi
pop ebp
add esp, 0xc
ret
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x437204
push ebx
push esi
push 4
sub eax, edx
sar eax, 1
push 0x1000
lea ebx, [eax + eax + 2]
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x437243
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x437254
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret
push 0x498b50
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x18]
push edx
push 0
push esi
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
test ebx, ebx
je 0x4372ca
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
push ecx
call fcn.004372f0
add esp, 4
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call ebp
push 0x8000
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call ebp
pop esi
pop ebx
pop edi
mov eax, 1
pop ebp
add esp, 0xc
ret

Function at 0x4372f0
Capabilities:
Create thread

Disassembly:
push ecx
push edi
push eax
push 0
push 0x3a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x437306
pop edi
pop ecx
ret
push ebx
push esi
push 0x498b74
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
push 0
push edx
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
test esi, esi
je 0x43735b
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call ebx
push edi
call ebx
pop esi
pop ebx
mov eax, 1
pop edi
pop ecx
ret
Function at 0x437370
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48c3fb
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x4ace70]
xor eax, esp
mov dword [esp + 0x254], eax
push ebx
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x10], ebx
jne 0x4373c3
xor eax, eax
jmp 0x43751d
push 0x228
lea eax, [esp + 0x34]
push 0
push eax
mov dword [esp + 0x38], 0
call fcn.0046a210
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [esp + 0x14], edi
cmp edi, 0xffffffff
je 0x4373bc
lea ecx, [esp + 0x2c]
push ecx
push edi
mov dword [esp + 0x34], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x437505
mov edi, edi
call fcn.00468677
mov ebx, eax
mov dword [esp + 0x24], ebx
call fcn.004684a5
push 0
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.004683c9
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x437439
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 0x1c]
call fcn.004683f1
push ecx
mov eax, esp
mov dword [esp + 0x2c], esp
mov dword [esp + 0x274], 0
push 0
lea ecx, [esp + 0x20]
mov dword [eax], ebx
call fcn.004683c9
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x43746d
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x1c]
call fcn.004683f1
lea edx, [ebp + 8]
push edx
lea ecx, [esp + 0x58]
call fcn.0043dfc0
add esp, 8
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x13], al
mov dword [esp + 0x274], 0xffffffff
call fcn.004683c9
mov eax, dword [ebx + 4]
test eax, eax
jbe 0x4374b0
cmp eax, 0xffffffff
jae 0x4374b0
dec eax
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
neg edi
sbb edi, edi
not edi
lea ecx, [esp + 0x20]
and edi, ebx
call fcn.004683f1
test edi, edi
je 0x4374d2
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
cmp byte [esp + 0xf], 0
je 0x4374e6
mov edi, dword [esp + 0x10]
lea ebx, [esp + 0x34]
call fcn.004398e0
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x437410
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebx + 0x10]
sub edx, dword [ebx + 0xc]
xor eax, eax
sar edx, 2
cmp eax, edx
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00469e0a
mov esp, ebp
pop ebp
ret