joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408d90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3c
cmp dword [edx], 0x2c
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebp
je 0x408dc0
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
add esp, 0x3c
jmp fcn.00405200
mov edx, dword [edx + 4]
mov edi, dword [edx + 8]
mov ebp, dword [edx + 4]
test edi, edi
je 0x408e48
lea ecx, [eax + 4]
mov edx, dword [eax + 0x104]
xor ebx, ebx
mov dword [esp + 0x1c], ecx
mov esi, eax
jmp 0x408dfc
mov ecx, edx
add edx, 1
add ebx, 1
cmp edi, ebx
mov byte [esi + ecx + 4], al
mov dword [esi + 0x104], edx
mov byte [esi + 0x108], al
je 0x408e48
cmp edx, 0xff
movzx eax, byte [ebp + ebx]
jne 0x408de0
mov edx, dword [esi + 0x110]
mov byte [esi + 0x103], 0
mov byte [esp + 0x18], al
mov dword [esp + 4], 0xff
mov dword [esp + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [esp], edx
call dword [esi + 0x10c]
mov edx, 1
xor ecx, ecx
add dword [esi + 0x124], 1
movzx eax, byte [esp + 0x18]
jmp 0x408de5
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
add esp, 0x3c
ret

Function at 0x408e60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, eax
sub esp, 0x28
mov eax, dword [edx]
cmp eax, 6
je 0x408e71
test eax, eax
jne 0x408e80
add esp, 0x28
mov eax, ebx
pop ebx
jmp fcn.00405200
mov eax, dword [ebx + 0x104]
cmp eax, 0xff
lea ecx, [eax + 1]
je 0x408ed0
mov byte [ebx + eax + 4], 0x28
mov eax, ebx
mov dword [ebx + 0x104], ecx
mov byte [ebx + 0x108], 0x28
call fcn.00405200
mov eax, dword [ebx + 0x104]
cmp eax, 0xff
lea edx, [eax + 1]
je 0x408f10
mov byte [ebx + eax + 4], 0x29
mov dword [ebx + 0x104], edx
mov byte [ebx + 0x108], 0x29
add esp, 0x28
pop ebx
ret
mov eax, dword [ebx + 0x110]
mov dword [esp + 0x1c], edx
mov byte [ebx + 0x103], 0
mov dword [esp + 4], 0xff
mov dword [esp + 8], eax
lea eax, [ebx + 4]
mov dword [esp], eax
call dword [ebx + 0x10c]
mov ecx, 1
xor eax, eax
add dword [ebx + 0x124], 1
mov edx, dword [esp + 0x1c]
jmp 0x408e90
mov eax, dword [ebx + 0x110]
mov byte [ebx + 0x103], 0
mov dword [esp + 4], 0xff
mov dword [esp + 8], eax
lea eax, [ebx + 4]
mov dword [esp], eax
call dword [ebx + 0x10c]
mov edx, 1
xor eax, eax
add dword [ebx + 0x124], 1
jmp 0x408eb9

Function at 0x409890
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.004098f0
Function at 0x4098f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, ecx
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x4c
mov ecx, dword [0x41b060]
mov dword [esp + 0x1c], edx
test ecx, ecx
jle 0x4099f9
mov eax, dword [0x41b05c]
xor esi, esi
mov edx, dword [eax + 4]
cmp ebx, edx
jb 0x409929
mov edi, dword [eax + 8]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x4099ac
add esi, 1
add eax, 0xc
cmp esi, ecx
jne 0x409914
mov dword [esp], ebx
call fcn.00409df0
test eax, eax
mov edi, eax
je 0x409a20
lea edx, [esi + esi*2]
mov esi, dword [0x41b05c]
shl edx, 2
add esi, edx
mov dword [esi + 8], eax
mov dword [esi], 0
mov dword [esp + 0x18], edx
call fcn.00409ed0
mov edx, dword [esp + 0x18]
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [0x41b05c]
mov dword [esp + 8], 0x1c
mov eax, dword [eax + edx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
mov edx, dword [esp + 0x18]
je 0x409a00
mov eax, dword [esp + 0x38]
cmp eax, 4
jne 0x4099c8
add dword [0x41b060], 1
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], ebp
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 0x40
je 0x4099a5
mov eax, dword [esp + 0x30]
add edx, dword [0x41b05c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
jmp 0x4099a5
xor esi, esi
jmp 0x409933
mov eax, dword [0x41b05c]
mov eax, dword [eax + edx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00409890
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00409890

Function at 0x409ce0
Capabilities:
Parse pe header

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
cmp word [edx], 0x5a4d
je 0x409cf0
repz ret
add edx, dword [edx + 0x3c]
cmp dword [edx], 0x4550
jne 0x409ced
xor eax, eax
cmp word [edx + 0x18], 0x10b
sete al
ret

Function at 0x40a2b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x41b3c4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x41b3dc]
sub esp, 4
test ebx, ebx
je 0x40a305
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40a2fe
test esi, esi
je 0x40a2fe
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x40a2e0
mov dword [esp], 0x41b3c4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40a4f0
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
sub esp, 0x18
mov ebx, dword [0x413010]
test ebx, ebx
je 0x40a54e
mov ecx, dword [0x413018]
mov eax, dword [0x413014]
test ecx, ecx
jne 0x40a54a
mov eax, 1
lock xadd dword [0x41301c], eax
cmp eax, 0xffffffff
je 0x40a560
mov edx, dword [0x413018]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
test edx, edx
jne 0x40a545
nop
mov dword [esp], 0
call ebx
mov eax, dword [0x413018]
sub esp, 4
test eax, eax
je 0x40a530
mov eax, dword [0x413014]
test eax, eax
jns 0x40a558
mov dword [0x413014], 0
add esp, 0x18
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x40a599
mov dword [0x41b3e4], eax
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040b430
test eax, eax
sete al
movzx eax, al
mov dword [0x413014], eax
mov dword [0x413018], 1
jmp 0x40a558
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40a580

Function at 0x40a6b0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x3c
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0x10]
mov eax, dword [ebx]
mov dword [esp + 0x2c], edx
jmp 0x40a6dc
mov dword [0x41b3e8], edi
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [ebx], eax
test eax, eax
je 0x40a7a1
mov ebp, dword [eax + 0x18]
xor edi, edi
mov eax, 0xa
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], edx
mov edx, dword [esi]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp], 1
mov dword [esp + 8], edx
call dword [esp + 0x28]
test eax, eax
jne 0x40a7c0
cmp edi, 5
je 0x40a7c5
test ebp, ebp
lea esi, [esi]
je 0x40a764
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0xa
mov dword [esp], 1
call ebp
cmp eax, 7
mov edi, eax
je 0x40a7c5
cmp eax, 8
jne 0x40a7c0
mov eax, dword [ebx]
mov edi, dword [eax]
mov eax, dword [0x413014]
test eax, eax
js 0x40a7b2
test eax, eax
je 0x40a6d0
mov eax, dword [0x41b3e4]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40a6d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40a6d6
xor ebp, ebp
mov edi, 5
mov eax, 0x1a
jmp 0x40a6ee
call fcn.0040a4f0
mov eax, dword [0x413014]
jmp 0x40a771
mov edi, 2
add esp, 0x3c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40a7d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub esp, 0x2c
mov eax, dword [0x413014]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
test eax, eax
mov dword [esp + 0x28], ebp
js 0x40a880
test eax, eax
jne 0x40a820
mov eax, dword [0x41b3e8]
mov dword [0x41b3e8], ebx
mov dword [ebx], eax
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
add esp, 0x2c
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [0x41b3e4]
call esi
mov dword [esp], ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebp, eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [0x41b3e4]
mov dword [ebx], ebp
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40a805
mov edx, esi
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
add esp, 0x2c
jmp edx
call fcn.0040a4f0
mov eax, dword [0x413014]
jmp 0x40a7f4

Function at 0x40a890
Capabilities:
Set thread local storage value

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [esp + 0x20]
mov ebx, dword [eax]
mov eax, dword [0x413014]
test eax, eax
js 0x40a8d6
test eax, eax
jne 0x40a8b2
mov dword [0x41b3e8], ebx
add esp, 0x18
pop ebx
ret
mov eax, dword [0x41b3e4]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40a8ad
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x18
pop ebx
jmp eax
call fcn.0040a4f0
mov eax, dword [0x413014]
jmp 0x40a8a3

Function at 0x40a9e0
Capabilities:
Get thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov eax, dword [0x413014]
mov ebx, dword [esp + 0x40]
test eax, eax
js 0x40aac3
test eax, eax
mov edi, dword [0x41b3e8]
jne 0x40aa61
test edi, edi
mov dword [esp + 0x2c], edi
je 0x40aa55
mov eax, edi
lea esi, [esp + 0x2c]
nop
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x40aa47
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp + 4], 1
mov dword [esp], 1
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call ecx
cmp eax, 6
je 0x40aa90
cmp eax, 8
jne 0x40aab7
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x40aa10
mov eax, 5
add esp, 0x30
pop ebx
pop esi
pop edi
ret
mov edi, dword [0x41b3e4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov edi, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
jmp 0x40aa01
mov eax, dword [esp + 0x2c]
mov edx, esi
mov dword [ebx + 0xc], 0
mov dword [esp + 0x2c], edi
mov dword [ebx + 0x10], eax
mov eax, ebx
call fcn.0040a5b0
cmp eax, 7
jne 0x40aa5a
mov eax, esi
call fcn.0040a640
add esp, 0x30
mov eax, 3
pop ebx
pop esi
pop edi
ret
call fcn.0040a4f0
mov eax, dword [0x413014]
jmp 0x40a9f7
Function at 0x40ab90
Capabilities:
Get thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov edx, dword [0x413014]
mov ebx, dword [esp + 0x30]
test edx, edx
js 0x40ac0b
test edx, edx
mov edi, dword [0x41b3e8]
jne 0x40abe5
mov dword [esp + 0x1c], edi
mov edi, dword [ebx + 0xc]
lea esi, [esp + 0x1c]
mov edx, esi
mov eax, ebx
test edi, edi
jne 0x40abd5
call fcn.0040a5b0
cmp eax, 7
je 0x40abdc
nop
lea esi, [esi]
call sub.msvcrt.dll_abort
call fcn.0040a6b0
jmp 0x40abc6
mov eax, esi
nop
call fcn.0040a640
mov edi, dword [0x41b3e4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edx
mov edi, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ecx
jmp 0x40abae
call fcn.0040a4f0
mov edx, dword [0x413014]
jmp 0x40aba4

Function at 0x40ac20
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x2c
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x40ac52
mov dword [esp], ebx
call fcn.0040a9e0
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
add esp, 0x2c
ret
mov edx, dword [0x413014]
test edx, edx
js 0x40acc0
test edx, edx
mov edi, dword [0x41b3e8]
jne 0x40ac90
lea edx, [esp + 0x1c]
mov eax, ebx
mov dword [esp + 0x1c], edi
call fcn.0040a6b0
cmp eax, 7
je 0x40ac80
call sub.msvcrt.dll_abort
nop
lea eax, [esp + 0x1c]
call fcn.0040a640
lea esi, [esi]
mov edi, dword [0x41b3e4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov edi, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
jmp 0x40ac66
call fcn.0040a4f0
mov edx, dword [0x413014]
jmp 0x40ac5c

Function at 0x40aee0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
sub esp, 4
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
add esp, 0x1c
ret

Function at 0x40af20
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je 0x40af45
xor eax, eax
add esp, 0x1c
ret
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x1c
jmp eax
Function at 0x100029d0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10054670]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov dword [ebp - 0x18], 0x10056f98
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 3
push 0
push 3
push 0
push str..PhysicalDrive0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x10002a2a
push 0x10056ee8
mov esi, 0x1004ea4a
call fcn.10004180
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x1000
push 0x10056f98
push 0xc
lea edx, [ebp - 0x14]
push edx
push 0x2d1400
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10002a62
push 0x10056ee8
mov esi, 0x1004ea4a
call fcn.10004180
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x18], 0
jbe 0x10002a83
mov edx, dword [ebp - 0x18]
mov esi, dword [edx + 0x18]
add esi, 0x10056f98
push 0x10056ee8
call fcn.10004180
jmp 0x10002a92
push 0x10056ee8
mov esi, 0x1004ea4a
call fcn.10004180
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1000fe00
mov esp, ebp
pop ebp
ret
Function at 0x10002c80
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0x288
push 0x12
call fcn.100130b0
add esp, 4
mov dword [ebp - 8], eax
push 0x288
call fcn.100130b0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10002cd0
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.10015370
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.10012dc0
add esp, 4
xor eax, eax
jmp 0x10002ddc
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x10002d24
mov eax, dword [ebp - 4]
push eax
call fcn.10012dc0
add esp, 4
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.100130b0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10002d24
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.10015370
add esp, 4
mov edx, dword [ebp - 8]
push edx
call fcn.10012dc0
add esp, 4
xor eax, eax
jmp 0x10002ddc
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x10002dcd
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x199]
push ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x198]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x197]
push edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x196]
push ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x195]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x194]
push edx
push str._02X_02X_02X_02X_02X_02X
mov eax, dword [ebp - 8]
push eax
call fcn.10010070
add esp, 0x20
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x1b0
push edx
push str.Address:__s__mac:__s_n
call fcn.10015370
add esp, 0xc
push 0x1004eb7c
call fcn.10015370
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x10002d40
mov edx, dword [ebp - 4]
push edx
call fcn.10012dc0
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x100031a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0x1004ebdc
mov dword [ebp - 4], str.xxxxxxxxx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push str.Conquer.exe
call fcn.100097d0
add esp, 0xc
mov dword [0x10056e18], eax
call fcn.1003f150
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1003f620
push 0x10002f30
push 0x10056e18
call fcn.1003ebe0
call fcn.1003f1b0
test eax, eax
je 0x10003200
push 0
call fcn.10016900
jmp 0x1000324d
mov dword [ebp - 0x10], 0x1004ebf8
mov dword [ebp - 8], str.xxxx____x____x____xxx____xx____xxxxx____xxxx____xxxxxxxxx____xxx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push str.Conquer.exe
call fcn.100097d0
add esp, 0xc
mov dword [0x10056e14], eax
call fcn.1003f150
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1003f620
push 0x10002de0
push 0x10056e14
call fcn.1003ebe0
call fcn.1003f1b0
mov esp, ebp
pop ebp
ret
Function at 0x100035e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x10003640
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x884
mov eax, dword [0x10054670]
xor eax, ebp
mov dword [ebp - 8], eax
mov al, byte [0x1004ea4a]
mov byte [ebp - 0x808], al
push 0x7ff
push 0
lea ecx, [ebp - 0x807]
push ecx
call fcn.10017fe0
add esp, 0xc
mov dword [ebp - 0x80c], 0
mov dword [ebp - 4], 0
push 0
lea edx, [ebp - 0x808]
push edx
push 0x800
push str.PlaySetting.ini
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x1000386e
lea eax, [ebp - 0x808]
push eax
push 0
push str.UnLockFPS
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x80c], eax
lea ecx, [ebp - 0x808]
push ecx
push 0
push str.FullScreen
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x10003827
push 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x878], 0x48
lea edx, [ebp - 0x878]
push edx
mov eax, dword [ebp - 0x824]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov ecx, dword [ebp - 0x86c]
sub ecx, dword [ebp - 0x874]
mov dword [ebp - 0x87c], ecx
mov edx, dword [ebp - 0x868]
sub edx, dword [ebp - 0x870]
mov dword [ebp - 0x810], edx
push 0xa
lea eax, [ebp - 0x830]
push eax
mov ecx, dword [ebp - 0x87c]
push ecx
call fcn.10039040
add esp, 0xc
push str.ini_GameSetup.ini
lea edx, [ebp - 0x830]
push edx
push str.ScrWidth
push str.ScreenMode
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0xa
lea eax, [ebp - 0x820]
push eax
mov ecx, dword [ebp - 0x810]
push ecx
call fcn.10039040
add esp, 0xc
push str.ini_GameSetup.ini
lea edx, [ebp - 0x820]
push edx
push str.ScrHeight
push str.ScreenMode
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x814], 1
cmp dword [ebp - 0x814], 0
je 0x100037f3
push str.ini_GameSetup.ini
push 0x1004ecf0
push str.FullScrType
push str.ScreenMode
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push str.ini_GameSetup.ini
push 0x1004ed00
push str.ScreenModeRecord
push str.ScreenMode
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x10003827
push str.ini_GameSetup.ini
push 0x1004ecf0
push str.FullScrType
push str.ScreenMode
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push str.ini_GameSetup.ini
push 0x1004ed18
push str.ScreenModeRecord
push str.ScreenMode
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [ebp - 0x80c], 0
jle 0x1000386e
mov byte [ebp - 0x884], 0xeb
mov byte [ebp - 0x883], 0xe
push str.xxxxxxxx
push 0x1004ed28
call fcn.100034d0
add esp, 8
mov dword [ebp - 0x880], eax
push 2
lea eax, [ebp - 0x884]
push eax
mov ecx, dword [ebp - 0x880]
push ecx
call fcn.100035e0
add esp, 0xc
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1000fe00
mov esp, ebp
pop ebp
ret
Function at 0x10003880
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040820
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1b0
mov eax, dword [0x10054670]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1a8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x100038d7
or eax, 0xffffffff
jmp 0x10003983
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x1bc], 0xffffffff
jne 0x10003900
call dword [sym.imp.WS2_32.dll_WSACleanup]
or eax, 0xffffffff
jmp 0x10003983
mov ecx, 2
mov word [ebp - 0x1b8], cx
push 0xd3d
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1b6], ax
mov eax, 0x10056e54
call fcn.100041d0
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1b4], eax
push 0x10
lea edx, [ebp - 0x1b8]
push edx
mov eax, dword [ebp - 0x1bc]
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x10003968
mov ecx, dword [ebp - 0x1bc]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
or eax, 0xffffffff
jmp 0x10003983
jmp 0x10003977
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000fe00
mov esp, ebp
pop ebp
ret