joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49db34
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b16c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004847bf
mov dword [ebp - 0x14], eax
cmp dword [0xabc9cc], esi
jne 0x49dc27
push 0x800
push esi
push 0xaa514c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x49dbb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x49dd07
push esi
push esi
push 0xaa514c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x49dd07
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x49dd07
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xabc9cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xabc9d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xabc9d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xabc9dc], eax
test eax, eax
je 0x49dc24
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xabc9d8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x49dc4c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49dc3f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x49dc61
push 4
pop eax
jmp 0x49dd09
cmp dword [ebp - 0x14], esi
je 0x49dc61
push dword [0xabc9cc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x49dc46
mov eax, dword [0xabc9d8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x49dcbf
cmp dword [0xabc9dc], edi
je 0x49dcbf
push eax
call ebx
push dword [0xabc9dc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x49dcbf
test eax, eax
je 0x49dcbf
call ecx
test eax, eax
je 0x49dcb4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x49dcb4
test byte [ebp - 8], 1
jne 0x49dcbf
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x49dcef
mov eax, dword [0xabc9d0]
cmp eax, edi
je 0x49dcec
push eax
call ebx
test eax, eax
je 0x49dcec
call eax
mov esi, eax
test esi, esi
je 0x49dcec
mov eax, dword [0xabc9d4]
cmp eax, edi
je 0x49dcec
push eax
call ebx
test eax, eax
je 0x49dcec
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xabc9cc]
call ebx
test eax, eax
je 0x49dd07
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x49dd09
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004838cb
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.00401520
push 0x40e167
mov eax, dword [ebp + 0xc]
push eax
call fcn.00401570
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40104d
mov dword [ebp - 8], str.HTTP_1.1_404_Not_Found_r_n_r_n
mov eax, dword [ebp - 8]
push eax
call fcn.004015f0
add esp, 4
push 0
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
jmp 0x4010be
mov dword [ebp - 0xc], str.HTTP_1.1_200_OK_r_nContent_Type:_application_octet_stream_r_n_r_n
mov eax, dword [ebp - 0xc]
push eax
call fcn.004015f0
add esp, 4
push 0
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
jmp 0x40108d
push 0
mov eax, dword [ebp - 0x2010]
push eax
lea eax, [ebp - 0x200c]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov eax, dword [ebp - 4]
push eax
push 0x2000
push 1
lea eax, [ebp - 0x200c]
push eax
call fcn.00401790
add esp, 0x10
mov dword [ebp - 0x2010], eax
cmp eax, 0
jne 0x401073
mov eax, dword [ebp - 4]
push eax
call fcn.00401960
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x4010c2
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2224
call fcn.00401520
push esi
push edi
mov dword [ebp - 4], str.HTTP_1.1_200_OK_r_nContent_Type:_text_html_r_n_r_n
mov eax, dword [ebp - 4]
push eax
call fcn.004015f0
add esp, 4
push 0
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
lea edi, [ebp - 0x2004]
lea esi, str.__DOCTYPE_html__html__head__title_XLIMIT__title__style_body__width:_35em__margin:_0_auto__font_family:_Arial__background_color:_1c1b22__color:_ffffff___h1__a__color:_C8206F____style___head__body__h1_XLIMIT__h1_
mov edi, edi
mov esi, esi
mov ecx, 0x800
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x2004]
push eax
call fcn.004015f0
add esp, 4
push 0
push eax
lea eax, [ebp - 0x2004]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
lea eax, [ebp - 0x211c]
push eax
push 0x40e0e1
call fcn.004019d0
add esp, 8
mov dword [ebp - 0x2120], eax
cmp dword [ebp - 0x2120], 0xffffffff
je 0x4011d3
test byte [ebp - 0x211c], 0x10
jne 0x4011a9
lea eax, [ebp - 0x2108]
push eax
lea eax, [ebp - 0x2108]
push eax
push str._p__a_href__s_download__s__a___p_
push 0x100
lea eax, [ebp - 0x2220]
push eax
call fcn.004035e0
add esp, 0x14
lea eax, [ebp - 0x2220]
push eax
call fcn.004015f0
add esp, 4
push 0
push eax
lea eax, [ebp - 0x2220]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
lea eax, [ebp - 0x211c]
push eax
mov eax, dword [ebp - 0x2120]
push eax
call fcn.00401a80
add esp, 8
cmp eax, 0
je 0x401156
mov eax, dword [ebp - 0x2120]
push eax
call fcn.00401b30
add esp, 4
mov dword [ebp - 0x2224], str.__body___html_
mov eax, dword [ebp - 0x2224]
push eax
call fcn.004015f0
add esp, 4
push 0
push eax
mov eax, dword [ebp - 0x2224]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40131a
Capabilities:
Create tcp socket
Create thread
Create udp socket
Initialize winsock library
Set console window title
Start tcp server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
push str.XLIMIT
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea eax, [ebp - 0x190]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, 0
je 0x40135c
push str.WSAStartup_failed._n
call fcn.00401fe0
add esp, 4
mov eax, 1
jmp 0x40151c
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x194], eax
cmp dword [ebp - 0x194], 0xffffffff
jne 0x401397
push str.Socket_creation_failed._n
call fcn.00401fe0
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x40151c
mov word [ebp - 0x1a4], 2
mov dword [ebp - 0x1a0], 0
push 0x539
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1a2], ax
push 0x10
lea eax, [ebp - 0x1a4]
push eax
mov eax, dword [ebp - 0x194]
push eax
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x401401
push str.Bind_failed._n
call fcn.00401fe0
add esp, 4
mov eax, dword [ebp - 0x194]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x40151c
push closesocket
mov eax, dword [ebp - 0x194]
push eax
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x401442
push str.Listen_failed._n
call fcn.00401fe0
add esp, 4
mov eax, dword [ebp - 0x194]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x40151c
push 0x539
push str.XLIMIT_listening_on_Port__d_n
call fcn.00401fe0
add esp, 8
push 4
call fcn.00402570
add esp, 4
mov dword [ebp - 0x1a8], eax
push 0
push 0
mov eax, dword [ebp - 0x194]
push eax
call dword [sym.imp.WS2_32.dll_accept]
mov edx, dword [ebp - 0x1a8]
mov dword [edx], eax
mov eax, dword [ebp - 0x1a8]
cmp dword [eax], 0xffffffff
jne 0x40149c
mov eax, dword [ebp - 0x1a8]
push eax
call fcn.00401e80
add esp, 4
jmp 0x401454
push 0
push 0
mov eax, dword [ebp - 0x1a8]
push eax
push 0x401206
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
je 0x4014d4
mov eax, dword [ebp - 0x1ac]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401454
push str.Failed_to_create_thread._n
call fcn.00401fe0
add esp, 4
mov eax, dword [ebp - 0x1a8]
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x1a8]
push eax
call fcn.00401e80
add esp, 4
jmp 0x401454
mov esp, ebp
pop ebp
ret
Function at 0x4046c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
cmp byte [ebx], 0
jne 0x4046f2
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ebx, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push ebx
call fcn.00404530
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.00402570
pop ecx
mov esi, eax
test esi, esi
jne 0x404725
push 1
call fcn.00403f80
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [esi + eax*4]
push eax
push esi
push ebx
call fcn.00404530
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x41305c], eax
mov dword [0x413060], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404760
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test eax, eax
jne 0x40477b
mov ebx, dword [0x413134]
mov esi, ebx
xor ecx, ecx
jmp 0x40479e
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404786
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404799
add ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404781
lea eax, [ecx + 1]
push eax
call fcn.00402570
pop ecx
mov edi, eax
mov dword [0x413068], eax
cmp dword [0x413068], 0
jne 0x4047c5
push 1
call fcn.00403f80
pop ecx
mov esi, ebx
jmp 0x4047fa
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x4047ce
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x4047f5
mov ecx, edi
mov edx, esi
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x4047e5
pop eax
mov eax, dword [ebp - 4]
add edi, eax
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x4047c9
mov byte [edi], 0
cmp ebx, dword [0x413134]
je 0x404811
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a2e0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
push 1
push 0
push ebx
call fcn.00407170
add esp, 0xc
mov esi, eax
cmp eax, 0xffffffff
je 0x40a314
push 2
push 0
push ebx
call fcn.00407170
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40a31c
or eax, 0xffffffff
jmp 0x40a40a
mov eax, dword [ebp + 0xc]
neg edi
add edi, eax
jle 0x40a3ae
push 0x1000
push 1
call fcn.0040bf80
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x40a3a8
push 0x8000
push ebx
call fcn.0040bfe0
add esp, 8
mov dword [ebp - 8], eax
mov eax, 0x1000
cmp edi, 0x1000
jge 0x40a35f
mov eax, edi
mov edx, eax
push edx
mov eax, dword [ebp - 4]
push eax
push ebx
call fcn.00404d90
add esp, 0xc
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
jne 0x40a37d
or dword [ebp - 0xc], 0xffffffff
jmp 0x40a38f
mov eax, edi
sub eax, dword [ebp + 0xc]
mov edi, eax
mov dword [ebp - 0xc], 0
test eax, eax
jg 0x40a350
mov eax, dword [ebp - 8]
push eax
push ebx
call fcn.0040bfe0
add esp, 8
mov eax, dword [ebp - 4]
push eax
call fcn.00401e80
pop ecx
jmp 0x40a3fb
or dword [ebp - 0xc], 0xffffffff
jmp 0x40a3fb
mov dword [ebp - 0xc], 0
test edi, edi
jge 0x40a3fb
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00407170
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40a3d3
or dword [ebp - 0xc], 0xffffffff
jmp 0x40a3fb
push ebx
call fcn.004052f0
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov dword [ebp - 0xc], 0
test eax, eax
jne 0x40a3fb
call fcn.00403500
mov dword [eax], 0xd
or dword [ebp - 0xc], 0xffffffff
push 0
push esi
push ebx
call fcn.00407170
add esp, 0xc
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40c390
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov di, word [esp + 0x18]
cmp word [esi + 2], 0
je 0x40c435
movzx eax, word [esi + 8]
movsx edx, di
add eax, edx
mov di, ax
test ax, ax
jge 0x40c3bf
xor di, di
cmp word [esi], 0
jne 0x40c413
cmp word [esi + 6], 5
jne 0x40c3ea
movzx eax, word [esi + 4]
push eax
movsx eax, di
push eax
movzx eax, word [esi + 2]
push eax
push str.:_02.2hu31_02.2hu__1.1hu
push ebx
call fcn.0040d790
add esp, 0x14
jmp 0x40c437
movzx eax, word [esi + 4]
push eax
movsx eax, di
push eax
movzx eax, word [esi + 6]
imul eax, eax, 7
sub eax, 6
push eax
movzx eax, word [esi + 2]
push eax
push str.:_02.2hu_02.2hu_02.2hu_1.1hu
push ebx
call fcn.0040d790
add esp, 0x18
jmp 0x40c437
movsx eax, di
push eax
movzx eax, word [esi + 6]
push eax
movzx eax, word [esi + 2]
push eax
movzx eax, word [esi]
push eax
push str.:__04.4hu__02.2hu_02.2hu_02.2hu
push ebx
call fcn.0040d790
add esp, 0x18
jmp 0x40c437
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x14b47e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x167000]
push edi
jmp 0x14b47fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x14b4801
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x14b47f0
mov eax, 1
add ebx, ebx
jne 0x14b4813
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x14b4824
jne 0x14b4843
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x14b4843
dec eax
add ebx, ebx
jne 0x14b4830
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x14b4808
add ebx, ebx
jne 0x14b483f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x14b4895
xor ecx, ecx
sub eax, 3
jb 0x14b485b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x14b48ca
sar eax, 1
mov ebp, eax
jmp 0x14b4866
add ebx, ebx
jne 0x14b4866
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x14b4834
inc ecx
add ebx, ebx
jne 0x14b4874
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x14b4834
add ebx, ebx
jne 0x14b4881
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x14b4876
jne 0x14b4892
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x14b4876
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x14b48b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x14b48a6
jmp 0x14b47f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x14b48b4
add edi, ecx
jmp 0x14b47f6
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x14b48d2
cmp byte [edi], 0x11
jne 0x14b48d2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x14b48d7
lea edi, [esi + 0x1bd000]
mov eax, dword [edi]
or eax, eax
je 0x14b494f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2a3080]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2a31fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x14b4904
mov ecx, edi
jns 0x14b4933
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2a3200]
or eax, eax
je 0x14b4949
mov dword [ebx], eax
add ebx, 4
jmp 0x14b4921
call dword [esi + 0x2a3210]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x14b4980
cmp al, 0xef
ja 0x14b4973
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x14b4955
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x14b4962
mov ebp, dword [esi + 0x2a3204]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x14b49b4
sub esp, 0xffffff80
jmp 0x1310577
Function at 0x10004b70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ac70
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1004a0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.10016deb
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.100158e9
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.10005130
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 0x1000ecf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003b8bd
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1004a0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
call fcn.10016deb
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x10012330
push 0
push 0
call fcn.10026b10
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x1000ed71
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10016dd8
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call fcn.100165a0
int3
Function at 0x10018010
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.100181e0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100180ed
mov edx, dword [ebp - 4]
cmp edx, dword [0x1004a120]
jb 0x1001805a
mov eax, dword [ebp - 4]
cmp eax, dword [0x1004a124]
ja 0x1001805a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1001802a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1001b710
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1001807f
jmp 0x100180ed
cmp dword [ebp - 0x14], 0x10000
jne 0x100180d3
cmp dword [ebp - 0x18], 0x10000
jb 0x100180d3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100180b6
mov eax, dword [ebp - 8]
jmp 0x100180ef
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x100180c6
xor eax, eax
jmp 0x100180ef
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100180e8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100181e0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1001802a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10018100
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10018210
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100181d5
mov edx, dword [ebp - 4]
cmp edx, dword [0x1004a120]
jb 0x10018145
mov eax, dword [ebp - 4]
cmp eax, dword [0x1004a124]
ja 0x10018145
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10018115
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1001b710
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1001816a
jmp 0x100181d5
cmp dword [ebp - 0x14], 0x10000
jne 0x100181be
cmp dword [ebp - 0x18], 0x10000
jb 0x100181be
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100181a1
mov eax, dword [ebp - 8]
jmp 0x100181d7
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x100181b1
xor eax, eax
jmp 0x100181d7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100181d0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10018210
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10018115
xor eax, eax
mov esp, ebp
pop ebp
ret