joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407460
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fb08
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x443070]
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
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 0
cmp byte [esi + 4], 0
jne 0x4074f4
lea ecx, [ebp - 0x6c]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
call fcn.00407b80
mov eax, ebx
jmp 0x40762f
mov eax, 1
mov dword [ebp - 0x16], 0x11
mov word [ebp - 0x18], ax
mov cl, 3
mov ax, word [ebp - 0x14]
push 0
mov dword [ebp - 0x1c], 0x10000
movq xmm0, qword [ebp - 0x1c]
movq qword [ebp - 0x38], xmm0
movss xmm0, dword [ebp + 0xc]
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x38]
push 0x1b
push eax
push dword [esi]
movss dword [ebp - 0x25], xmm0
movss xmm0, dword [ebp + 0x10]
mov byte [ebp - 0x12], cl
mov byte [ebp - 0x2e], cl
movss dword [ebp - 0x2d], xmm2
movss dword [ebp - 0x29], xmm3
movss dword [ebp - 0x21], xmm0
call dword [sym.imp.WS2_32.dll_send]
mov edi, dword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x60]
push eax
push 0x4004667f
push dword [esi]
call edi
cmp dword [ebp - 0x60], 0xb
jb 0x407560
mov ebx, dword [sym.imp.WS2_32.dll_recv]
lea eax, [ebp - 0x1c]
push 0
push 0xb
push eax
push dword [esi]
call ebx
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x60]
push eax
push 0x4004667f
push dword [esi]
call edi
cmp dword [ebp - 0x60], 4
jb 0x407593
push 0
push 4
lea eax, [ebp - 0x70]
push eax
push dword [esi]
call ebx
xor ebx, ebx
cmp dword [ebp - 0x70], ebx
jbe 0x4075fc
nop dword [eax]
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x60]
push eax
push 0x4004667f
push dword [esi]
call edi
cmp dword [ebp - 0x60], 0x24
jb 0x4075c7
push 0
push 0x24
lea eax, [ebp - 0x5c]
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_recv]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004079c0
inc ebx
cmp ebx, dword [ebp - 0x70]
jb 0x4075c0
mov esi, dword [ebp - 0x74]
lea ecx, [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x6c], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x68]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x64]
mov dword [esi + 8], eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
call fcn.00407b80
mov eax, esi
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.00412858
mov esp, ebp
pop ebp
ret 0xc
Function at 0x409190
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fcc8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x168
mov eax, dword [0x443070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x150]
inc dword [0x444940]
push ecx
mov ecx, eax
mov dword [ebp - 0x154], eax
call fcn.004058b0
mov esi, eax
lea eax, [ebp - 0x110]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0xc0]
call fcn.004045b0
push esi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd0]
call fcn.0040b090
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x88], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x78], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x68], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebp - 0x58], xmm0
push fcn.004011a0
push 4
push 0x10
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 2
push eax
call fcn.00412d94
push fcn.004011a0
push 4
push 0x10
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 3
push eax
call fcn.00412d94
push fcn.004011a0
push 4
push 0x10
lea eax, [ebp - 0x150]
mov dword [ebp - 4], 4
push eax
call fcn.00412d94
mov esi, dword [ebp - 0x154]
lea eax, [ebp - 0x170]
add esi, 0x10
mov dword [ebp - 4], 0xffffffff
push eax
mov ecx, esi
call fcn.00405bc0
mov ecx, esi
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x170]
push eax
movups xmmword [ebp - 0x48], xmm0
call fcn.00405be0
mov ecx, esi
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x170]
push eax
movups xmmword [ebp - 0x38], xmm0
call fcn.00405c10
push dword [ebx + 8]
push 0x8a11
movups xmm0, xmmword [eax]
mov eax, dword [sym.imp.glew32.dll___glewBindBuffer]
movups xmmword [ebp - 0x28], xmm0
mov eax, dword [eax]
call eax
push 0x88e8
lea eax, [ebp - 0x88]
push eax
mov eax, dword [sym.imp.glew32.dll___glewBufferData]
push 0x70
push 0x8a11
mov eax, dword [eax]
call eax
mov eax, dword [sym.imp.glew32.dll___glewBindBuffer]
push 0
push 0x8a11
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00412858
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x40c900
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x443070]
xor eax, ebp
mov dword [ebp - 4], eax
sub esp, 0xc
lea eax, [ebp - 0x10]
mov ecx, 0x444b30
push eax
call fcn.00402e60
lea ecx, [ebp - 0x10]
call fcn.00402c90
push eax
push str.XML_loading_result:__s_n
call fcn.0040c5e0
add esp, 8
cmp dword [ebp - 0x10], 0
jne 0x40c9c7
sub esp, 0x18
mov ecx, esp
push 9
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.127.0.0.1
mov byte [ecx], 0
call fcn.004034b0
push 0x6978
mov ecx, 0x444bf8
call fcn.004071c0
lea eax, [ebp - 0x1c]
mov ecx, 0x444bf8
push eax
call fcn.004072e0
cmp dword [eax + 0x14], 0x10
jb 0x40c988
mov eax, dword [eax]
push eax
push 0x43c9a4
call fcn.00407190
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.00403330
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [0x444950], eax
mov dword [0x444bfd], 2
call fcn.00412858
mov esp, ebp
pop ebp
ret
push 1
call fcn.0041faf0
int3
Function at 0x410460
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push str._n_n
mov edi, ecx
call fcn.00407190
add esp, 4
push esi
push str.LOADING_VERTEX_SHADER___s__n
call fcn.00407190
push 0x43c260
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push esi
push eax
call fcn.0041675e
mov eax, dword [ebp - 4]
add esp, 0x14
test eax, eax
jne 0x4104c2
push esi
push str.file__s_cant_be_found_n
call fcn.00407190
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 2
push 0
push eax
call fcn.0041c1c9
add esp, 0xc
push dword [ebp - 4]
call fcn.0041bc6d
add esp, 4
mov esi, eax
push esi
push str.file_size:__i_bytes_n
call fcn.00407190
lea ecx, [esi + 1]
push ecx
call fcn.00412ee4
add esp, 0xc
mov dword [ebp - 8], 0
mov ebx, eax
mov dword [ebp - 0xc], ebx
push 0
push 0
push dword [ebp - 4]
call fcn.0041c1c9
add esp, 0xc
push dword [ebp - 4]
push esi
push 1
push ebx
call fcn.0041be44
push ebx
push str.vertex_shader_text:_n_n_s_n
mov byte [eax + ebx], 0
call fcn.00407190
push dword [ebp - 4]
call fcn.00419680
mov eax, dword [sym.imp.glew32.dll___glewCreateShader]
add esp, 0x1c
mov eax, dword [eax]
push 0x8b31
call eax
mov dword [edi], eax
test eax, eax
jne 0x410563
push str.Vertex_Shader_can_not_be_created_n
call fcn.00407190
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
push str._nvertex_shader_glCreateShader___4.4i__t_..._OK_n
call fcn.00407190
add esp, 8
lea eax, [ebp - 0xc]
push 0
push eax
mov eax, dword [sym.imp.glew32.dll___glewShaderSource]
push 1
push dword [edi]
mov eax, dword [eax]
call eax
push str.vertex_shader_glShaderSource_t_t_..._OK_n
call fcn.00407190
mov eax, dword [sym.imp.glew32.dll___glewCompileShader]
add esp, 4
push dword [edi]
mov eax, dword [eax]
call eax
push str.vertex_shader_glCompileShader_t_t_..._OK_n
call fcn.00407190
add esp, 4
lea eax, [ebp - 8]
push eax
mov eax, dword [sym.imp.glew32.dll___glewGetShaderiv]
push 0x8b81
push dword [edi]
mov eax, dword [eax]
call eax
push dword [ebp - 8]
push str.vertex_shader_status_...__i_n_n
call fcn.00407190
add esp, 8
cmp dword [ebp - 8], 0
jne 0x410604
push ebx
lea eax, [ebp - 0x10]
push eax
mov eax, dword [sym.imp.glew32.dll___glewGetShaderInfoLog]
push 0x400
push dword [edi]
mov eax, dword [eax]
call eax
push ebx
push str.vertex_shader_error:_n_s_n
call fcn.00407190
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x410610
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push str._n_n
mov edi, ecx
call fcn.00407190
add esp, 4
push esi
push str.LOADING_FRAGMENT_SHADER___s__n
call fcn.00407190
push 0x43c260
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push esi
push eax
call fcn.0041675e
mov eax, dword [ebp - 4]
add esp, 0x14
test eax, eax
jne 0x410672
push esi
push str.file__s_cant_be_found_n
call fcn.00407190
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 2
push 0
push eax
call fcn.0041c1c9
add esp, 0xc
push dword [ebp - 4]
call fcn.0041bc6d
add esp, 4
mov esi, eax
push esi
push str.file_size:__i_bytes_n
call fcn.00407190
lea ecx, [esi + 1]
push ecx
call fcn.00412ee4
add esp, 0xc
mov dword [ebp - 8], 0
mov ebx, eax
mov dword [ebp - 0xc], ebx
push 0
push 0
push dword [ebp - 4]
call fcn.0041c1c9
add esp, 0xc
push dword [ebp - 4]
push esi
push 1
push ebx
call fcn.0041be44
push ebx
push str.fragment_shader_text:_n_n_s_n
mov byte [eax + ebx], 0
call fcn.00407190
push dword [ebp - 4]
call fcn.00419680
mov eax, dword [sym.imp.glew32.dll___glewCreateShader]
add esp, 0x1c
mov eax, dword [eax]
push 0x8b30
call eax
mov dword [edi + 4], eax
test eax, eax
jne 0x410714
push str.Fragment_Shader_can_not_be_created_n
call fcn.00407190
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
push str._nfragment_shader_glCreateShader___4.4i__t_..._OK_n
call fcn.00407190
add esp, 8
lea eax, [ebp - 0xc]
push 0
push eax
mov eax, dword [sym.imp.glew32.dll___glewShaderSource]
push 1
push dword [edi + 4]
mov eax, dword [eax]
call eax
push str.fragment_shader_glShaderSource_t_t_..._OK_n
call fcn.00407190
mov eax, dword [sym.imp.glew32.dll___glewCompileShader]
add esp, 4
push dword [edi + 4]
mov eax, dword [eax]
call eax
push str.fragment_shader_glCompileShader_t_t_..._OK_n
call fcn.00407190
add esp, 4
lea eax, [ebp - 8]
push eax
mov eax, dword [sym.imp.glew32.dll___glewGetShaderiv]
push 0x8b81
push dword [edi + 4]
mov eax, dword [eax]
call eax
push dword [ebp - 8]
push str.fragment_shader_status_...__i_n_n
call fcn.00407190
add esp, 8
cmp dword [ebp - 8], 0
jne 0x4107b9
push ebx
lea eax, [ebp - 0x10]
push eax
mov eax, dword [sym.imp.glew32.dll___glewGetShaderInfoLog]
push 0x400
push dword [edi + 4]
mov eax, dword [eax]
call eax
push ebx
push str.fragment_shader_error:_n_s_n
call fcn.00407190
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x411b20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0x4e3
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push 0x4e3
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push fcn.0041faf0
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
call dword [sym.imp.freeglut.dll___glutInitWithExit]
push 0xb2
call dword [sym.imp.freeglut.dll_glutInitDisplayMode]
push 3
push 3
call dword [sym.imp.freeglut.dll_glutInitContextVersion]
push 1
call dword [sym.imp.freeglut.dll_glutInitContextProfile]
push 0x64
push 0x12c
call dword [sym.imp.freeglut.dll_glutInitWindowPosition]
push 0x258
push 0x320
call dword [sym.imp.freeglut.dll_glutInitWindowSize]
push fcn.0041faf0
push str.laba_10
call dword [sym.imp.freeglut.dll___glutCreateWindowWithExit]
call dword [sym.imp.glew32.dll__glewInit_0]
test eax, eax
je 0x411bc8
push eax
call dword [sym.imp.glew32.dll__glewGetErrorString_4]
push eax
push str.Glew_error:__s_n
push 2
call fcn.0041f81a
add esp, 4
push eax
call fcn.004111d0
add esp, 0xc
xor eax, eax
mov esp, ebp
pop ebp
ret
push 0x1f02
call dword [sym.imp.OPENGL32.dll_glGetString]
push eax
push str.OpenGL_Version___s_n_n
call fcn.00407190
add esp, 8
call dword [sym.imp.DevIL.dll_ilInit]
call dword [sym.imp.ILU.dll_iluInit]
call dword [sym.imp.ILUT.dll_ilutInit]
call fcn.0040c710
mov ecx, eax
call fcn.00408160
call fcn.0040c900
push 0
push 0
push 0
push 0x411b10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x4114c0
call dword [sym.imp.freeglut.dll_glutDisplayFunc]
push 0x4118e0
call dword [sym.imp.freeglut.dll_glutReshapeFunc]
push 0x4119c0
call dword [sym.imp.freeglut.dll_glutIdleFunc]
push 0x411a60
call dword [sym.imp.freeglut.dll_glutMouseWheelFunc]
push 0x411ac0
call dword [sym.imp.freeglut.dll_glutKeyboardFunc]
call dword [sym.imp.freeglut.dll_glutMainLoop]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x427134
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00426fb3

Function at 0x42a355
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042a015
Function at 0x405410
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x4054a2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x405494
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x40548c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x405455
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x4059f0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x405a0e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x405a03
pop esi
ret

Function at 0x412f4d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x412f7b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x412f99
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00412eb3
jmp 0x412f99
mov eax, dword [esi + 0x14]
test eax, eax
je 0x412f99
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00412eb3
test edi, edi
mov eax, edi
jne 0x412f83
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10001eb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 9
xor eax, eax
mov dl, byte [edi + eax - 0x7bd60ae8]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1a
jb 0x10001ec1
pop edi
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10001ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x50
xor eax, eax
mov dl, byte [edi + eax + 0x5abdd636]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xb
jb 0x10002001
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10003ac0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x10136864]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x94
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.10010280
add esp, 0xc
mov dword [ebp - 0xd8], 0x94
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov esi, dword [ebp - 0x3c]
mov ecx, esi
mov edx, dword [ebp - 0x38]
mov eax, edx
shrd ecx, eax, 0x14
shr eax, 0x14
sub esi, dword [ebp - 0x34]
push ecx
sbb edx, dword [ebp - 0x30]
shrd esi, edx, 0x14
push esi
push dword [ebp - 0xcc]
shr edx, 0x14
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
push str.PREMIUM
push str._CheckSystemInformation__ClientVersion:__s__SystemVersion:__d._d._d__MemoryUsage:__d__dmb
push 0
call fcn.10005720
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop esi
call fcn.1000d74a
mov esp, ebp
pop ebp
ret

Function at 0x10003b70
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10136864]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 4], 0xffffffff
je 0x10003bfb
push dword [ebp + 0xc]
mov eax, 2
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
push edi
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x10003bd3
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10003bd3
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.1000fd00
add esp, 0xc
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x10003c0f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x10003c0f
mov ecx, esi
call fcn.10004120
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d74a
mov esp, ebp
pop ebp
ret 8
push 0x23
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x10003c68
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x10003c38
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x10003c4d
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], 0
pop edi
mov byte [esi + 0x100038], 0
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d74a
mov esp, ebp
pop ebp
ret 8
push 0x80000
lea eax, [esi + 0xc]
push 0
push eax
call fcn.10010280
push 0x80000
lea eax, [esi + 0x80010]
mov dword [esi + 0x8000c], 0
push 0
push eax
call fcn.10010280
mov ecx, dword [ebp - 4]
add esp, 0x18
mov dword [esi + 0x100010], 0
xor ecx, ebp
mov byte [esi + 0x100038], 1
mov al, 1
pop edi
pop esi
call fcn.1000d74a
mov esp, ebp
pop ebp
ret 8
Function at 0x10003d20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10028976
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x10136864]
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
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x654], eax
mov eax, dword [0x1002a7dc]
mov dword [ebp - 0x18], eax
mov ax, word [0x1002a7e0]
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x620]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x10003e84
lea esi, [ebp - 0x620]
nop dword [eax]
mov ax, word [esi]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x220]
push 0x104
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10003e70
xor eax, eax
mov dword [ebp - 0x624], 7
mov dword [ebp - 0x628], 0
mov word [ebp - 0x638], ax
cmp word [ebx], ax
je 0x10003def
mov eax, ebx
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10003de0
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x638]
call fcn.10007460
cmp word [ebp - 0x220], 0
mov dword [ebp - 4], 0
jne 0x10003e11
xor ecx, ecx
jmp 0x10003e2f
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003e20
sub ecx, edx
sar ecx, 1
push ecx
push 0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x638]
call fcn.10007de0
mov edi, eax
cmp edi, 0xffffffff
jne 0x10003ea2
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x624]
cmp eax, 8
jb 0x10003e70
inc eax
lea ecx, [ebp - 0x638]
push eax
push dword [ebp - 0x638]
call fcn.10007780
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10003e70
cmp word [esi], ax
jne 0x10003d90
xor al, al
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.1000d74a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x650]
call fcn.10002650
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x638]
push esi
inc eax
mov byte [ebp - 4], 1
push eax
push edi
call fcn.10009220
mov eax, dword [ebp - 0x63c]
cmp eax, 8
jb 0x10003ee8
inc eax
lea ecx, [ebp - 0x650]
push eax
push dword [ebp - 0x650]
call fcn.10007780
cmp dword [ebp - 0x624], 8
lea eax, [ebp - 0x638]
cmovae eax, dword [ebp - 0x638]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x654]
call fcn.10012acd
mov eax, dword [ebp - 0x624]
add esp, 0xc
cmp eax, 8
jb 0x10003f2c
inc eax
lea ecx, [ebp - 0x638]
push eax
push dword [ebp - 0x638]
call fcn.10007780
mov al, 1
jmp 0x10003e86