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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x617172
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x653af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebx], 0x4927ac
mov dword [ebx + 8], 0x492774
mov dword [ebx + 0xc], 0xffffffff
mov dword [ebx + 0x10], 0
mov byte [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0xffffffff
mov dword [ebx + 0x20], 0
mov byte [ebx + 0x24], 0
mov dword [ebx + 0x18], 0x492784
mov dword [ebx + 0x28], 0
mov dword [ebp - 4], 0
mov byte [ebx + 0x2c], 0
lea ecx, [ebx + 0x30]
mov byte [ebp - 4], 1
call fcn.004cb0f0
lea edi, [ebx + 0x34]
mov byte [ebp - 4], 2
push 0x40
lea eax, [edi + 5]
mov dword [ebp - 0x10], edi
push 0
push eax
mov dword [edi], 0x49278c
mov byte [edi + 4], 0
call fcn.006046d0
lea esi, [edi + 0x48]
mov dword [esi], 0
push 0x50
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
call fcn.006024b7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x50]
mov byte [ebp - 4], 3
push 0x2c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006024b7
add esp, 0x14
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea ecx, [edi + 0x58]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push 0x20
mov byte [ebp - 4], 5
call fcn.004c1900
lea ecx, [ebx + 0x98]
mov byte [ebp - 4], 6
mov word [ecx + 0x18], 0
call fcn.004cb1f0
mov eax, dword [ebp + 8]
mov dword [ebx + 0xb4], eax
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xbc], 0xffffffff
mov dword [ebx + 0xc0], 0xffffffff
mov dword [ebx + 0xc4], 0
mov word [ebx + 0xc8], 0
mov dword [ebx + 0xd0], 0
mov dword [ebx + 0xd4], 0

Function at 0x4c1af0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x617350
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x653af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test byte [esi + 0x3c], 1
je 0x4c1b48
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4c1b2d
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
add edx, ecx
jmp 0x4c1b37
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x1c]
mov edx, dword [eax]
add edx, dword [ecx]
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0x40]
mov eax, dword [eax]
sub edx, eax
push edx
push eax
call fcn.004c24c0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov dword [eax], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
and dword [esi + 0x3c], 0xfffffffe
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ceab0
Capabilities:
Identify system language via api

Disassembly:
mov eax, dword fs:[0x2c]
mov edx, dword [0x65ba6c]
push edi
mov edi, ecx
mov edx, dword [eax + edx*4]
mov eax, dword [0x659c50]
cmp eax, dword [edx + 0x10]
jg 0x4cebff
cmp byte [0x659c4c], 0
jne 0x4ceae0
mov al, 1
pop edi
ret
push esi
mov byte [0x659c4c], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
and eax, 0x3ff
mov ecx, eax
or ecx, 0x800
xor esi, esi
nop dword [eax]
cmp ecx, dword [esi*4 + 0x492b18]
je 0x4ceb7e
cmp ecx, dword [esi*4 + 0x492b1c]
je 0x4ceb38
cmp ecx, dword [esi*4 + 0x492b20]
je 0x4ceb33
cmp ecx, dword [esi*4 + 0x492b24]
je 0x4ceb2e
add esi, 4
cmp esi, 0x10
jb 0x4ceb00
jmp 0x4ceb3e
add esi, 3
jmp 0x4ceb39
add esi, 2
jmp 0x4ceb39
inc esi
cmp esi, 0x10
jb 0x4ceb7e
xor esi, esi
cmp eax, dword [esi*4 + 0x492b18]
je 0x4ceb7e
cmp eax, dword [esi*4 + 0x492b1c]
je 0x4ceb78
cmp eax, dword [esi*4 + 0x492b20]
je 0x4ceb73
cmp eax, dword [esi*4 + 0x492b24]
je 0x4ceb6e
add esi, 4
cmp esi, 0x10
jb 0x4ceb40
jmp 0x4ceb8c
add esi, 3
jmp 0x4ceb79
add esi, 2
jmp 0x4ceb79
inc esi
cmp esi, 0x10
jae 0x4ceb8c
push dword [esi*4 + 0x64c008]
mov ecx, edi
call fcn.004cec40
mov eax, dword [edi + 4]
test eax, eax
jne 0x4ceba9
cmp esi, 0x10
jae 0x4ceba9
push dword [esi*4 + 0x64c008]
mov ecx, edi
call fcn.004cee00
mov eax, dword [edi + 4]
pop esi
test eax, eax
jne 0x4cebfa
push dword [0x64c008]
mov ecx, edi
call fcn.004cec40
mov eax, dword [edi + 4]
test eax, eax
jne 0x4cebfa
push dword [0x64c008]
mov ecx, edi
call fcn.004cee00
mov eax, dword [edi + 4]
test eax, eax
jne 0x4cebfa
push 0x4925d8
mov ecx, edi
call fcn.004cec40
mov eax, dword [edi + 4]
test eax, eax
jne 0x4cebfa
push 0x4925d8
mov ecx, edi
call fcn.004cee00
mov eax, dword [edi + 4]
test eax, eax
setne al
pop edi
ret
push 0x659c50
call fcn.0060292a
add esp, 4
cmp dword [0x659c50], 0xffffffff
jne 0x4cead3
cmp dword [edi + 4], 0
push 0x659c50
sete byte [0x659c4c]
call fcn.006028e0
add esp, 4
jmp 0x4cead3
Function at 0x4d5050
Capabilities:
Get common file path
Get disk size

Disassembly:
sub esp, 0x150
mov eax, dword [0x653af8]
xor eax, esp
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x154]
push ebx
mov ebx, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x15c]
push esi
mov esi, dword [esp + 0x164]
push ecx
mov dword [esp + 0x10], ecx
lea ecx, [ebx + 0x410]
push eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], esi
call fcn.004c80f0
test eax, eax
je 0x4d51df
mov ecx, dword [ebx + 0x418]
test ecx, ecx
jne 0x4d50b0
xor eax, eax
jmp 0x4d50b6
mov eax, dword [ebx + 0x414]
push dword [esi]
push ecx
push eax
mov ecx, ebx
call fcn.005d1900
test al, al
je 0x4d51df
push ebp
push edi
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x30]
mov ebx, 0x8461cefd
mul ebx
mov ebp, 0xabcc7711
mov dword [esp + 0x20], eax
mov esi, edx
mov eax, dword [esp + 0x30]
mul ebp
mov edi, eax
mov ebp, edx
mov eax, dword [esp + 0x34]
mul ebx
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x34]
mov edx, 0xabcc7711
mul edx
add ecx, esi
mov dword [esp + 0x20], eax
adc ebx, 0
add edi, ecx
mov dword [esp + 0x28], edi
adc ebp, 0
xor eax, eax
add ebx, ebp
mov ebp, dword [esp + 0x20]
adc eax, eax
add ebp, ebx
adc edx, eax
lea eax, [esp + 0x58]
shrd ebp, edx, 0x1a
push eax
shr edx, 0x1a
push 0x104
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], edx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x40]
mov byte [esp + 0x5b], 0
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov edx, dword [esp + 0x38]
xor edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
mov ecx, edx
xor edx, dword [esp + 0x44]
xor edx, dword [esp + 0x40]
xor ecx, dword [esp + 0x40]
push 0xffffffffffffffff
push edx
push ecx
push ebp
mov ecx, esi
call fcn.005d4520
cmp byte [esp + 0x170], 0
mov bl, al
pop edi
pop ebp
je 0x4d51db
push dword [esp + 0xc]
push dword [esp + 0x14]
push dword [esi + 0x2f8]
call fcn.00530970
push 0xffffffffffffffff
push dword [esi + 0x2f8]
call fcn.00530a30
mov ecx, dword [esp + 0x28]
add esp, 0x14
mov dword [ecx], eax
mov al, bl
jmp 0x4d51e1
xor al, al
mov ecx, dword [esp + 0x154]
pop esi
pop ebx
xor ecx, esp
call fcn.00602a00
add esp, 0x150
ret 0x10
Function at 0x4d68c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x619218
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x653af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov byte [edi], 0
mov byte [edi + 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [ebp - 4], 0
mov byte [edi + 0x34], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov byte [edi + 0x64], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
lea eax, [edi + 0x94]
mov dword [ebp - 0x10], eax
lea ecx, [eax + 0x408]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push 0x1000
mov byte [ebp - 4], 3
call fcn.004da6f0
mov dword [edi + 0x4a8], 0
mov dword [edi + 0x4ac], 0
mov dword [edi + 0x4b0], 0
mov dword [edi + 0x4b4], 0
mov dword [edi + 0x4b8], 0
mov dword [edi + 0x4bc], 0
mov dword [edi + 0x4c0], 0
mov dword [edi + 0x4c4], 0
mov dword [edi + 0x4c8], 0
mov dword [edi + 0x4cc], 0
mov dword [edi + 0x4d0], 0
mov dword [edi + 0x4d4], 0
mov dword [edi + 0x4d8], 0
mov dword [edi + 0x4dc], 0
mov dword [edi + 0x4e0], 0
mov dword [edi + 0x4e4], 0
mov dword [edi + 0x4e8], 0
mov dword [edi + 0x4ec], 0
mov dword [edi + 0x4f0], 0
mov dword [edi + 0x4f4], 0
mov dword [edi + 0x4f8], 0
mov dword [edi + 0x4fc], 0
mov dword [edi + 0x500], 0
mov dword [edi + 0x504], 0
lea esi, [edi + 0x508]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x10], esi
push 0x2c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006024b7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
xor eax, eax
mov dword [edi + 0x524], 0
mov dword [edi + 0x528], 7
mov word [edi + 0x514], ax
mov dword [edi + 0x510], 0x492a34
mov dword [edi + 0x540], eax
mov dword [edi + 0x544], 7
mov word [edi + 0x530], ax
mov dword [edi + 0x52c], 0x492a34
lea esi, [edi + 0x548]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x10], esi
push 0x14
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.006024b7
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea ecx, [edi + 0x550]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push 0x400
mov byte [ebp - 4], 0x11
call fcn.004da6f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4d7c80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6193a7
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x653af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x130]
cmp eax, 0x3d0
jbe 0x4d7e68
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebx + 0xb4]
add esi, 0x3f4
mov dword [ebx + 0x130], eax
mov ecx, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
call fcn.004cb1c0
mov dword [ebp - 4], 0
call fcn.004c7030
add ebx, 0x134
mov dword [ebp - 0x10], 2
mov esi, eax
mov ecx, ebx
call fcn.004cb400
test al, al
je 0x4d7e4c
push dword [ebx + 8]
call fcn.004cb360
add esp, 4
test al, al
je 0x4d7dff
mov ecx, ebx
call fcn.004cb470
test eax, eax
je 0x4d7e4c
cmp eax, 0xffffffff
jne 0x4d7d9f
mov edi, dword [0x65b2c4]
test edi, edi
jne 0x4d7d87
push 0x4e4
call fcn.006024b7
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x4d7d7b
push 0x4e4
push 0
push edi
call fcn.006046d0
add esp, 0xc
mov ecx, edi
call fcn.004b8c70
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.004c9630
jmp 0x4d7d7d
xor edi, edi
mov byte [ebp - 4], 0
mov dword [0x65b2c4], edi
mov edi, dword [edi + 0x3e8]
mov ecx, edi
call dword [0x64a4ac]
call edi
test eax, eax
je 0x4d7e4c
push ebx
lea ecx, [ebp - 0x14]
call fcn.004cda50
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 8]
call fcn.004da8e0
mov ecx, ebx
call fcn.004cb550
mov ecx, ebx
call fcn.004cb280
push ebx
push 0x4df6c0
mov ecx, ebx
call fcn.004cb2c0
test al, al
je 0x4d7dec
push ebx
lea ecx, [ebp - 0x18]
call fcn.004cda50
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 8]
call fcn.004c4c70
push dword [ebx + 8]
call fcn.004cb360
add esp, 4
test al, al
jne 0x4d7d23
push ebx
lea ecx, [ebp - 0x1c]
call fcn.004cda50
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 8]
call fcn.004da8e0
mov ecx, ebx
call fcn.004cb550
mov ecx, ebx
call fcn.004cb280
push ebx
push 0x4df6c0
mov ecx, ebx
call fcn.004cb2c0
test al, al
je 0x4d7e4c
push ebx
lea ecx, [ebp - 0x20]
call fcn.004cda50
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [esi + 8]
call fcn.004c4c70
add ebx, 0x18
sub dword [ebp - 0x10], 1
jne 0x4d7d01
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], 3
call fcn.004cb250
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 0x4de0a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x619bb8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x653af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [edi], 0x492e6c
push 0x24
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.006024b7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 8], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.006024b7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x10], eax
push 0x24
mov byte [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.006024b7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x18], eax
push 0x24
mov byte [ebp - 4], 2
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call fcn.006024b7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x20], eax
push 0x4c
mov byte [ebp - 4], 3
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.006024b7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x28], eax
push 0x4c
mov byte [ebp - 4], 4
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.006024b7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x30], eax
lea esi, [edi + 0x38]
mov byte [ebp - 4], 5
push 0x54
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006024b7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x40]
mov byte [ebp - 4], 6
push 0x54
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006024b7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x48]
mov byte [ebp - 4], 7
push 0x2c
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006024b7
add esp, 0x24
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.004dd510
mov ecx, edi
mov byte [edi + 4], al
mov byte [edi + 5], 0
call fcn.004dd5e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4e1b80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x619fe5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x653af8]
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
xorps xmm0, xmm0
lea ecx, [ebp - 0x1c]
push 0x659c70
movlpd qword [ebp - 0x1c], xmm0
call fcn.005013f0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.00501420
test byte [0x657fd8], 1
jne 0x4e1cce
push fcn.004e1b80
call fcn.00501480
mov ecx, eax
add esp, 4
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x4e1c04
push 6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x20]
mov esi, dword [0x658008]
xor ebx, ebx
add esi, ecx
cmp dword [0x65800c], ebx
jbe 0x4e1c84
mov edi, dword [esi]
lea eax, [ebp - 0x14]
push eax
push 0x40
add edi, ecx
mov dword [ebp - 0x14], 0
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4e1c43
push 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 5
lea eax, [esi + 4]
push eax
push edi
call fcn.00604150
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4e1c75
push 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x20]
inc ebx
add esi, 9
cmp ebx, dword [0x65800c]
jb 0x4e1c16
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x659c78], eax
push 1
push 0
push 1
mov byte [ebp - 4], 1
call fcn.004e06b0
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov edi, eax
mov esi, edx
call fcn.00501460
mov ecx, edi
or ecx, esi
je 0x4e1cc4
push 0
push 1
push dword [ebp - 0x20]
mov ecx, edi
call dword [0x64a4ac]
call edi
mov dword [0x659c78], 0
lea ecx, [ebp - 0x1c]
call fcn.00501400
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.00602a00
mov esp, ebp
pop ebp
ret
Function at 0x4ef900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61b1e5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x653af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], esi
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], ecx
cmp byte [eax + 0xd], bl
jne 0x4ef9a0
mov esi, eax
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov dword [ebp - 0x18], esi
jb 0x4ef95f
mov edx, dword [edi + 8]
cmp dword [esi + 0x2c], 0x10
lea ecx, [esi + 0x18]
jb 0x4ef96b
mov ecx, dword [esi + 0x18]
push dword [edi + 0x18]
push edx
push dword [esi + 0x28]
push ecx
call fcn.004c4be0
shr eax, 0x1f
add esp, 0x10
test al, al
je 0x4ef98a
mov esi, dword [esi + 8]
mov ecx, dword [ebp - 0x10]
jmp 0x4ef991
mov ecx, esi
mov esi, dword [esi]
mov dword [ebp - 0x10], ecx
movzx ebx, al
xor ebx, 1
cmp byte [esi + 0xd], 0
je 0x4ef950
mov esi, dword [ebp - 0x20]
cmp byte [ecx + 0xd], 0
jne 0x4ef9f2
cmp dword [ecx + 0x2c], 0x10
lea eax, [edi + 8]
lea edx, [ecx + 0x18]
jb 0x4ef9b5
mov edx, dword [ecx + 0x18]
cmp dword [edi + 0x1c], 0x10
jb 0x4ef9bd
mov eax, dword [eax]
push dword [ecx + 0x28]
push edx
push dword [edi + 0x18]
push eax
call fcn.004c4be0
shr eax, 0x1f
add esp, 0x10
test al, al
jne 0x4ef9f2
mov ecx, dword [ebp - 0x10]
mov byte [esi + 4], al
mov eax, esi
mov dword [esi], 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 8
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0x4924924
je 0x4efa97
mov dword [ebp - 0x2c], eax
push 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
call fcn.006024b7
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp - 0x14]
lea esi, [edi + 0x14]
add ecx, 8
mov dword [ebp - 4], 1
push ecx
lea ecx, [esi + 4]
mov dword [edi + 0x10], 0x4931b0
mov dword [ebp - 0x10], esi
call fcn.004b8960
mov ecx, dword [ebp - 0x14]
mov dword [esi], 0x492708
push edi
push ebx
mov eax, dword [ecx + 0x20]
push dword [ebp - 0x18]
mov dword [edi + 0x30], eax
mov eax, dword [ecx + 0x24]
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
call fcn.004c0f30
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 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 8
call fcn.004c1ae0
int3
Function at 0x500050
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61c44b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x653af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x14]
mov dword [ebx], 0x493218
lea ecx, [esi + 4]
mov dword [ebp - 0x14], esi
mov al, byte [edi + 4]
mov byte [ebx + 4], al
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
lea eax, [edi + 0x18]
push eax
call fcn.004b8960
mov dword [esi], 0x492708
add ebx, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ebx
add edi, 0x30
mov dword [ebx], fcn.004bd3b0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov byte [ebx + 0x10], 1
mov dword [ebx + 0x14], 1
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x5001c5
mov esi, dword [edi + 8]
test esi, esi
jne 0x500118
xor edi, edi
jmp 0x50011b
mov edi, dword [edi + 4]
mov eax, dword [ebx + 4]
test eax, eax
je 0x500142
cmp dword [ebx + 0x14], 1
jne 0x500139
push dword [ebx + 8]
push 0
push eax
call fcn.006046d0
mov eax, dword [ebx + 4]
add esp, 0xc
push eax
call fcn.006024fe
add esp, 4
mov dword [ebx + 4], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov byte [ebx + 0x10], 1
test esi, esi
je 0x500191
push esi
call fcn.006024f5
add esp, 4
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
test edi, edi
je 0x50017f
push esi
push edi
push eax
call fcn.00604150
jmp 0x50018e
cmp dword [ebx + 0x14], 1
jne 0x500191
push esi
push 0
push eax
call fcn.006046d0
add esp, 0xc
mov esi, dword [ebx + 0x18]
cmp esi, dword [ebx + 0x1c]
je 0x5001c5
nop dword [eax]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5001bd
mov eax, dword [eax]
push 1
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x64a4ac]
mov ecx, dword [ebp - 0x14]
call edi
add esi, 4
cmp esi, dword [ebx + 0x1c]
jne 0x5001a0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0x492754
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