joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4461b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4461db
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4461ff
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x44621a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x448b86
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x448bbe
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0044c191
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0044c169
jmp 0x448bca
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x44a1e7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x44a229
call fcn.00450e99
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x44a229
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x44a220
xor eax, eax
jmp 0x44a231
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0044a237
pop edi
pop esi
pop ebx
ret 4

Function at 0x44b2e7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x44b309
cmp dword [edi + 0x3c], 0
jne 0x44b309
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00450e99
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0044b336
pop edi
pop esi
pop ebx
ret 8

Function at 0x4555e8
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0x10
lea eax, [ebp - 0x14]
push 0
mov esi, ecx
push eax
call fcn.0043afc0
add esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call sub.WSOCK32.dll_getsockname
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov esi, ecx
test esi, esi
je 0x455647
push dword [ebp - 0x12]
call sub.WSOCK32.dll_ntohs
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0x10]
movzx eax, ax
mov dword [ecx], eax
call sub.WSOCK32.dll_inet_ntoa
mov ecx, dword [ebp + 8]
push eax
call fcn.0044be73
mov eax, esi
pop esi
leave
ret 8
Function at 0x41fd30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x58c850]
xor edx, edx
cmp eax, edx
jne 0x41fd56
xor eax, eax
mov byte [eax + 0x58c750], al
inc eax
cmp eax, 0x100
jl 0x41fd3e
mov dword [0x58c850], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x58c750
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41fde7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x41fdba
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x41fd88
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41fe60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x41feb3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x41fe9a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441070
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4410a3
push esi
call fcn.00444180
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44109c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x441129
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x441112
mov eax, dword [esi + 8]
test eax, eax
je 0x4410c7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44110e
cmp eax, 2
je 0x441112
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4410ba
cmp eax, 3
je 0x4410ed
cmp eax, 1
jne 0x4410ba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4410ba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4410ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00441150
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x441138
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00441150
add esp, 4
pop esi
ret
Function at 0x47a9ab
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x454a8b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x46c340]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], case.0x45ff3a.9
call fcn.0049ff19
push 4
mov dword [esp + 0x20], 0
call fcn.004a136b
mov edi, eax
add esp, 4
test edi, edi
je 0x47aa29
call fcn.004a0326
mov dword [edi], eax
call fcn.004a0154
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.004a0476
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x47aa1e
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.004a049e
jmp 0x47aa2b
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
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 4
Function at 0x4845db
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4555c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x46c340]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 6
mov dword [esi + 0x24], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esp + 0x14], eax
lea eax, [esi + 0x40]
push eax
mov dword [esi], 0x460ca4
call fcn.0049a12b
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x48b6cb
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x455f68
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x46c340]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.00472cdb
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x48b721
sub eax, edx
sar eax, 1
push eax
push ebx
lea eax, [esp + 0x14]
call fcn.0047348b
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.00472cdb
cmp dword [esp + 0x24], 8
jb 0x48b769
mov edx, dword [esp + 0x10]
push edx
call fcn.004a12b0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x48b9fb
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x455348
mov eax, dword fs:[0]
push eax
mov eax, dword [0x46c340]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
mov dword [esi + 8], edx
lea ecx, [esi + 0x10]
mov dword [esi], 0x461548
push 0xffffffffffffffff
mov dword [ecx + 0x14], eax
xor edx, edx
push eax
mov dword [ecx + 0x18], 7
lea eax, [esp + 0x20]
mov word [ecx + 4], dx
call fcn.00472cdb
cmp dword [esp + 0x30], 8
mov dword [esi + 0x2c], 0x41ef90
jb 0x48ba6e
mov eax, dword [esp + 0x1c]
push eax
call fcn.004a12b0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 0x20

Function at 0x48c9bb
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x456f2b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46c340]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb8]
xor ebx, ebx
lea eax, [esp + 0x14]
push eax
mov byte [ebp + 0x68], bl
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp], 0x67452301
mov dword [ebp + 4], 0xefcdab89
mov dword [ebp + 8], 0x98badcfe
mov dword [ebp + 0xc], 0x10325476
call fcn.0048d8ab
mov ecx, dword [esp + 0xbc]
push ecx
lea esi, [esp + 0x20]
mov dword [esp + 0xb4], ebx
call fcn.0048e83b
test eax, eax
jne 0x48ca5d
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x1c]
lea ecx, [esp + ecx + 0x14]
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x48ca56
or eax, 4
push ebx
push eax
call fcn.0046e30b
lea edi, [esp + 0x14]
mov ecx, ebp
call fcn.0048cabb
lea ecx, [esp + 0x6c]
mov dword [esp + 0xb0], 0xffffffff
call fcn.0048d98b
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x70], 0x460224
call fcn.004a007b
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret 8
Function at 0x48d8ab
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x456ef7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x46c340]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x4617fc
mov dword [edi + 0x58], 0x461770
lea esi, [edi + 8]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.0048e61b
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], 0x4617f8
call fcn.0048edeb
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], 0x4617bc
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x4700d0]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x48edeb
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x454a8b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x46c340]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], 0x461778
call fcn.0049ff19
push 4
mov dword [esp + 0x20], 0
call fcn.004a136b
mov edi, eax
add esp, 4
test edi, edi
je 0x48ee69
call fcn.004a0326
mov dword [edi], eax
call fcn.004a0154
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.004a0476
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x48ee5e
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.004a049e
jmp 0x48ee6b
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
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 4

Function at 0x48f53b
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x456e50
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x46c340]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
mov eax, dword [0x46c340]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5c]
xor ebx, ebx
xor eax, eax
mov word [esp + 0x30], ax
mov eax, edi
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x48f58b
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [esp + 0x30]
call fcn.004735ab
push edi
lea esi, [esp + 0x14]
mov dword [esp + 0x58], ebx
call fcn.0048f3db
add esp, 4
mov ecx, esi
push ecx
push ebp
mov byte [esp + 0x5c], 1
call fcn.0049091b
add esp, 8
cmp dword [esp + 0x28], 0x10
mov esi, eax
jb 0x48f5de
mov edx, dword [esp + 0x14]
push edx
call fcn.004a12b0
add esp, 4
cmp dword [esp + 0x44], 8
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x48f602
mov eax, dword [esp + 0x30]
push eax
call fcn.004a12b0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004a12bb
add esp, 0x48
ret
Function at 0x4996db
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, dword [esp + 0x18]
mov ebx, edx
test ecx, ecx
je 0x499709
push ecx
mov ecx, dword [edi*4 + 0x46d318]
push ebx
push ecx
mov ecx, ebp
mov edi, eax
call fcn.0049952b
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov dl, byte [eax + 0x4d]
test dl, dl
je 0x499723
push 0
push ebp
push edi
mov edi, eax
call fcn.0049977b
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
lea eax, [ebx + 0x10]
push eax
call fcn.004a1834
add esp, 4
mov esi, eax
push ebx
lea ecx, [esi + 0xc]
push ebp
push ecx
mov dword [esi], edi
mov dword [esi + 4], 0
mov dword [esi + 8], ebx
call fcn.004a7c0b
add esp, 0xc
push 0
push 0
push esi
push 0x42c260
push 0
push 0
call fcn.004a44a2
add esp, 0x18
push eax
call dword [fcn.004590a4]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
Function at 0x49ebfb
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4564f3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46c340]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esi], 0x462264
mov byte [esi + 4], 1
mov byte [esi + 5], 1
mov byte [esi + 6], bl
mov byte [esi + 7], bl
lea eax, [esi + 0x20]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
push eax
mov byte [esi + 0x18], 0xff
mov dword [esi + 0x1c], ebx
call fcn.0049a12b
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x2c]
mov dword [esi], 0x4623f4
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], ebx
xor edx, edx
mov dword [esi + 0x64], 7
mov dword [esi + 0x60], ebx
mov word [esi + 0x50], dx
mov byte [esp + 0x20], 1
mov dword [esi + 0x68], 1
mov eax, 0xff000000
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x80], ebx
mov dword [esi + 0x7c], ebx
mov eax, dword [esi + 0x44]
push eax
push ecx
call fcn.0049b0eb
add esp, 4
call fcn.0049b2bb
mov edi, eax
mov edx, dword [edi + 4]
lea ecx, [esp + 0x28]
push ecx
push edx
mov dword [esp + 0x30], ebx
call fcn.0049fe0d
cmp eax, ebx
je 0x49ecd6
mov dword [edi + 8], eax
mov ecx, dword [edi + 4]
mov ebp, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
push ecx
mov dword [esp + 0x34], ebx
call fcn.0049fe91
cmp eax, ebx
je 0x49ecf3
mov dword [edi + 8], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
shr eax, 2
cmp ecx, ecx
jne 0x49ed12
cmp edx, edx
jne 0x49ed12
cmp dword [esi + 0x10], eax
jne 0x49ed12
cmp dword [esi + 0x14], ebp
je 0x49ed1e
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebp
mov eax, 0xff000000
or ecx, 0xffffffff
mov dword [esi + 0x6c], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], ecx
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 8

Function at 0x4b90ab
Capabilities:
Read file on windows

Disassembly:
cmp dword [esi + 0x3c], 0
jne 0x4b90fe
cmp dword [esi + 4], 0
jne 0x4b9107
call fcn.004a5e23
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
push eax
push 0x4000
push 1
push ecx
call fcn.004a47f2
add esp, 0x10
mov dword [esi + 4], eax
test eax, eax
jne 0x4b9102
mov edx, dword [esi + 0x40]
push edx
mov dword [esi + 0x3c], 1
call fcn.004bdb4b
add esp, 4
test eax, eax
je 0x4b90fe
mov dword [esi + 0x38], 0xffffffff
or eax, 0xffffffff
ret
mov eax, dword [esi + 0x44]
mov dword [esi], eax
mov eax, dword [esi]
dec dword [esi + 4]
mov cl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, cl
ret