joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4025dd
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x40263c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x402634
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x402634
mov eax, dword [ebp - 4]
jmp 0x402650
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x402611
mov eax, 0
leave
ret

Function at 0x402d3c
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
lea esi, [esp + 0x20]
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0x50]
mov dword [esp + 0x10], esi
mov eax, dword [0x407040]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0x20], 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
sub esp, 0x14
cmp eax, 0x6f
jne 0x402e29
mov eax, dword [esp + 0x20]
mov dword [esp], 0x40
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
push ecx
push ecx
test eax, eax
je 0x402e29
mov dword [esp + 0x10], esi
mov esi, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
sub esp, 0x14
lea ebp, [esp + 0x26]
cmp dword [esi + 0x34], 6
jne 0x402e18
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x26], eax
mov ax, word [esi + 0x30]
mov dword [esp + 8], 3
mov dword [esp + 4], ebp
mov dword [esp], edi
mov word [esp + 0x2a], ax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x402e18
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
push edx
jmp 0x402e2b
mov esi, dword [esi + 8]
test esi, esi
jne 0x402ddc
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push eax
xor eax, eax
mov edx, dword [esp + 0x2c]
sub edx, dword [0x407040]
je 0x402e3c
call fcn.00401770
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x402ed8
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebx
sub esp, 0x38
mov ebx, dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x407040]
mov dword [esp + 0x2c], eax
xor eax, eax
lea eax, [esp + 0x1c]
mov dword [esp], eax
call ebx
push eax
mov dword [esp], 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push edx
lea eax, [esp + 0x24]
mov dword [esp], eax
call ebx
xor eax, eax
push ecx
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x1c], edx
jne 0x402f26
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x20], eax
sete al
mov ecx, dword [esp + 0x2c]
sub ecx, dword [0x407040]
je 0x402f37
call fcn.00401770
add esp, 0x38
pop ebx
ret
Function at 0x402f3c
Capabilities:
Enumerate processes

Disassembly:
push edi
push esi
push ebx
sub esp, 0x140
mov dword [esp + 4], 0
mov edi, dword [esp + 0x150]
mov eax, dword [0x407040]
mov dword [esp + 0x13c], eax
xor eax, eax
mov dword [esp], 2
mov dword [esp + 0x14], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push ecx
mov ebx, eax
push ecx
lea esi, [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], esi
call sub.KERNEL32.dll_Process32First
push edx
push edx
test eax, eax
jne 0x402f94
xor eax, eax
jmp 0x402fbe
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.KERNEL32.dll_Process32Next
push edx
push edx
test eax, eax
je 0x402f90
lea eax, [esp + 0x38]
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll__stricmp
test eax, eax
jne 0x402f94
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x13c]
sub edx, dword [0x407040]
je 0x402fd2
call fcn.00401770
add esp, 0x140
pop ebx
pop esi
pop edi
ret

Function at 0x402fdc
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x4c
mov eax, dword [0x407040]
mov dword [esp + 0x3c], eax
xor eax, eax
lea eax, [esp + 0x18]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push eax
cmp dword [esp + 0x2c], 1
setbe al
mov edx, dword [esp + 0x3c]
sub edx, dword [0x407040]
je 0x403011
call fcn.00401770
add esp, 0x4c
ret

Function at 0x403090
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x6c
mov eax, dword [0x407040]
mov dword [esp + 0x5c], eax
xor eax, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x40
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push eax
mov eax, 0x7fffffff
cmp eax, dword [esp + 0x20]
mov eax, 0
sbb eax, dword [esp + 0x24]
setae al
mov edx, dword [esp + 0x5c]
sub edx, dword [0x407040]
je 0x4030da
call fcn.00401770
add esp, 0x6c
ret
Function at 0x403408
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push edi
mov ecx, 8
push esi
mov esi, 0x405233
push ebx
sub esp, 0x250
mov eax, dword [0x407040]
mov dword [esp + 0x24c], eax
xor eax, eax
lea edi, [esp + 0x2c]
mov ebx, dword [esp + 0x260]
rep movsd dword es:[edi], dword [esi]
mov edx, eax
mov byte [esp + eax + 0x14c], al
and edx, 0x1f
mov dl, byte [esp + edx + 0x2c]
mov byte [esp + eax + 0x4c], dl
inc eax
cmp eax, 0x100
jne 0x403436
xor esi, esi
xor edi, edi
movzx eax, byte [esp + esi + 0x14c]
add eax, edi
add al, byte [esp + esi + 0x4c]
movzx edi, al
lea eax, [esp + 0x14c]
add eax, esi
inc esi
mov dword [esp + 4], eax
lea eax, [esp + 0x14c]
add eax, edi
mov dword [esp], eax
call fcn.00402c98
cmp esi, 0x100
jne 0x403456
mov edi, dword [esp + 0x264]
xor esi, esi
xor eax, eax
add edi, ebx
cmp edi, ebx
je 0x4034ed
lea edx, [esi + 1]
lea ecx, [esp + 0x14c]
movzx esi, dl
add al, byte [esp + esi + 0x14c]
movzx eax, al
lea edx, [ecx + eax]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], edx
lea edx, [ecx + esi]
mov dword [esp], edx
call fcn.00402c98
mov eax, dword [esp + 0x1c]
mov dl, byte [esp + eax + 0x14c]
add dl, byte [esp + esi + 0x14c]
movzx edx, dl
mov dl, byte [esp + edx + 0x14c]
xor byte [ebx], dl
inc ebx
jmp 0x40349b
mov eax, dword [esp + 0x24c]
sub eax, dword [0x407040]
je 0x403501
call fcn.00401770
mov eax, dword [esp + 0x264]
add esp, 0x250
pop ebx
pop esi
pop edi
ret
Function at 0x403514
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x15c]
mov esi, 0x405253
push ebx
sub esp, 0x17c
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x11c], 0
mov eax, dword [0x407040]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov eax, 0x10
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x118]
mov eax, ecx
mov ecx, 0x3f
rep stosd dword es:[edi], eax
movzx edx, byte [ebp + eax - 0x15c]
mov byte [ebp + edx - 0x11c], al
inc eax
cmp eax, 0x40
jne 0x40355a
xor edx, edx
test byte [ebp + 0xc], 3
jne 0x4036f2
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
shr edx, 2
cmp byte [ebx + eax - 1], 0x3d
lea edx, [edx + edx*2]
jne 0x40358f
dec edx
mov eax, dword [ebp + 0xc]
cmp byte [ebx + eax - 2], 0x3d
jne 0x40359a
dec edx
lea eax, [edx + 0xf]
shr eax, 4
shl eax, 4
call fcn.00402954
mov ecx, 0
mov dword [ebp - 0x170], 0
sub esp, eax
test edx, edx
cmovns ecx, edx
mov edi, esp
xor eax, eax
mov dword [ebp - 0x174], esp
xor esi, esi
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x170]
cmp eax, dword [ebp + 0xc]
jb 0x4035e8
mov esi, dword [ebp - 0x174]
mov edi, ebx
mov ecx, edx
rep movsb byte es:[edi], byte [esi]
jmp 0x4036f2
mov eax, dword [ebp - 0x170]
xor edi, edi
movzx eax, byte [ebx + eax]
cmp al, 0x3d
je 0x403600
movzx edi, byte [ebp + eax - 0x11c]
mov dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x170]
movzx eax, byte [ebx + eax + 1]
cmp al, 0x3d
je 0x403627
movzx eax, byte [ebp + eax - 0x11c]
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x170]
movzx eax, byte [ebx + eax + 2]
cmp al, 0x3d
je 0x40364e
movzx eax, byte [ebp + eax - 0x11c]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x170]
xor ecx, ecx
add dword [ebp - 0x170], 4
movzx eax, byte [ebx + eax + 3]
cmp al, 0x3d
je 0x403670
movzx eax, byte [ebp + eax - 0x11c]
mov ecx, eax
mov dword [ebp - 0x16c], esi
cmp edx, esi
ja 0x403685
mov esi, dword [ebp - 0x16c]
jmp 0x4035cc
mov eax, dword [ebp - 0x178]
shl edi, 0x12
inc dword [ebp - 0x16c]
shl eax, 0xc
add eax, edi
mov edi, dword [ebp - 0x17c]
shl edi, 6
add eax, edi
mov edi, dword [ebp - 0x174]
add eax, ecx
mov ecx, eax
shr eax, 0x10
mov byte [edi + esi], al
cmp edx, dword [ebp - 0x16c]
jbe 0x40367a
lea eax, [esi + 2]
mov dword [ebp - 0x178], eax
mov eax, edi
mov edi, dword [ebp - 0x16c]
mov byte [eax + edi], ch
lea eax, [esi + 2]
mov dword [ebp - 0x16c], eax
cmp edx, eax
jbe 0x40367a
lea eax, [esi + 3]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x174]
mov byte [eax + esi + 2], cl
jmp 0x40367a
mov eax, dword [ebp - 0x1c]
sub eax, dword [0x407040]
je 0x403702
call fcn.00401770
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40370c
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x14]
test ebx, ebx
je 0x403749
cmp word [ebx + 0x24], 0
je 0x403747
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call sub.msvcrt.dll__wcsicmp
test eax, eax
jne 0x403743
mov ebx, dword [ebx + 0x10]
jmp 0x403749
mov ebx, dword [ebx]
jmp 0x40371c
xor ebx, ebx
add esp, 0x18
mov eax, ebx
pop ebx
ret 4

Function at 0x403754
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
xor eax, eax
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x40]
cmp word [ebx], 0x5a4d
jne 0x4037d3
mov edx, dword [ebx + 0x3c]
add edx, ebx
cmp dword [edx], 0x4550
jne 0x4037d3
mov eax, dword [edx + 0x78]
xor esi, esi
add eax, ebx
mov ecx, dword [eax + 0x14]
mov ebp, dword [eax + 0x20]
mov edi, dword [eax + 0x1c]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x24]
add ebp, ebx
add ecx, ebx
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x14], esi
je 0x4037d1
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
lea eax, [ebx + eax*4]
mov eax, dword [eax + edi]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + esi*4]
add eax, ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4037ce
mov eax, dword [esp + 0x18]
add eax, ebx
jmp 0x4037d3
inc esi
jmp 0x403794
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret 8
Function at 0x10001bc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
lea edi, [ebp - 0xf0]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1002f1f0
mov esi, esp
push 0x10088b20
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp esi, esp
call fcn.1002f1f0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push str.hNtdll:__p_n
call fcn.10031f20
add esp, 8
cmp dword [ebp - 8], 0
jne 0x10001c38
mov eax, dword [0x100a3004]
add eax, 4
push eax
push str.f:magicwar_conquer_serve_source_
push str.hNtdll
call fcn.10031320
add esp, 0xc
mov esi, esp
push str.RtlGetFullPathName_U
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.1002f1f0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10001c74
mov eax, dword [0x100a3004]
add eax, 8
push eax
push str.f:magicwar_conquer_serve_source_
push str.RtlGetFullPathName_U_o
call fcn.10031320
add esp, 0xc
push 5
push 0x100012c0
mov eax, dword [ebp - 0x14]
push eax
call fcn.10003af0
add esp, 0xc
mov dword [0x100a4c80], eax
mov dword [ebp - 0x20], 0
mov esi, esp
lea eax, [ebp - 0x20]
push eax
push 0x40
push 5
mov ecx, dword [0x100a4c80]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1002f1f0
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x10001cd5
mov eax, dword [0x100a3004]
add eax, 0xf
push eax
push str.f:magicwar_conquer_serve_source_
push str.bProtectRet
call fcn.10031320
add esp, 0xc
push edx
mov ecx, ebp
push eax
lea edx, [0x10001cfc]
call fcn.1002f220
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.1002f1f0
mov esp, ebp
pop ebp
ret
Function at 0x10004170
Capabilities:
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2fc
push ebx
push esi
push edi
lea edi, [ebp - 0x2fc]
mov ecx, 0xbf
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x100a3784]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x48], 0
push 0x31
push 0
lea eax, [ebp - 0x47]
push eax
call fcn.10033e60
add esp, 0xc
cmp dword [ebp + 8], 0
jne 0x100041b9
xor eax, eax
jmp 0x100042dc
mov esi, esp
mov eax, dword [ebp + 8]
push eax
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp esi, esp
call fcn.1002f1f0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100041e3
xor eax, eax
jmp 0x100042dc
mov esi, esp
push 0x10088cc8
mov edi, esp
push 0x10088cb8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp edi, esp
call fcn.1002f1f0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.1002f1f0
mov dword [ebp - 0x60], eax
mov esi, esp
push 4
push 0x3000
mov eax, dword [ebp + 0xc]
push eax
call fcn.100321c0
add esp, 4
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
cmp esi, esp
call fcn.1002f1f0
mov dword [ebp - 0x54], eax
mov esi, esp
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.100321c0
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp esi, esp
call fcn.1002f1f0
mov esi, esp
push 0
push 0
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp esi, esp
call fcn.1002f1f0
mov eax, dword [ebp + 0xc]
push eax
push str._s_tried_to_be_loaded__n
lea ecx, [ebp - 0x168]
push ecx
call fcn.100304a0
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1002f1f0
mov esi, esp
push 0xc000
push 0
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp esi, esp
call fcn.1002f1f0
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x1000430c]
call fcn.1002f220
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002fcb0
add esp, 0x2fc
cmp ebp, esp
call fcn.1002f1f0
mov esp, ebp
pop ebp
ret
Function at 0x1000417b
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2fc
push ebx
push esi
push edi
lea edi, [ebp - 0x2fc]
mov ecx, 0xbf
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x100a3784]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x48], 0
push 0x31
push 0
lea eax, [ebp - 0x47]
push eax
call fcn.10033e60
add esp, 0xc
cmp dword [ebp + 8], 0
jne 0x100041b9
xor eax, eax
jmp 0x100042dc
mov esi, esp
mov eax, dword [ebp + 8]
push eax
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp esi, esp
call fcn.1002f1f0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100041e3
xor eax, eax
jmp 0x100042dc
mov esi, esp
push 0x10088cc8
mov edi, esp
push 0x10088cb8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp edi, esp
call fcn.1002f1f0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.1002f1f0
mov dword [ebp - 0x60], eax
mov esi, esp
push 4
push 0x3000
mov eax, dword [ebp + 0xc]
push eax
call fcn.100321c0
add esp, 4
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
cmp esi, esp
call fcn.1002f1f0
mov dword [ebp - 0x54], eax
mov esi, esp
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.100321c0
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp esi, esp
call fcn.1002f1f0
mov esi, esp
push 0
push 0
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp esi, esp
call fcn.1002f1f0
mov eax, dword [ebp + 0xc]
push eax
push str._s_tried_to_be_loaded__n
lea ecx, [ebp - 0x168]
push ecx
call fcn.100304a0
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1002f1f0
mov esi, esp
push 0xc000
push 0
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp esi, esp
call fcn.1002f1f0
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x1000430c]
call fcn.1002f220
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002fcb0
add esp, 0x2fc
cmp ebp, esp
call fcn.1002f1f0
mov esp, ebp
pop ebp
ret
Function at 0x100044a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
lea edi, [ebp - 0xf0]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp esi, esp
call fcn.1002f1f0
mov dword [ebp - 8], eax
mov esi, esp
lea eax, [ebp - 0x14]
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp esi, esp
call fcn.1002f1f0
mov byte [ebp - 0x1d], 0x90
mov dword [ebp - 0x2c], 0
jmp 0x10004507
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0xc]
jae 0x10004533
mov esi, esp
push 0
push 1
lea eax, [ebp - 0x1d]
push eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp esi, esp
call fcn.1002f1f0
jmp 0x100044fe
mov esi, esp
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp esi, esp
call fcn.1002f1f0
push edx
mov ecx, ebp
push eax
lea edx, [0x1000457c]
call fcn.1002f220
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.1002f1f0
mov esp, ebp
pop ebp
ret

Function at 0x10004940
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
push esi
push edi
lea edi, [ebp - 0xe4]
mov ecx, 0x39
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
push 0x10088b20
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp esi, esp
call fcn.1002f1f0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000497d
jmp 0x100049c7
mov esi, esp
push str.DbgBreakPoint
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.1002f1f0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100049a0
jmp 0x100049c7
mov esi, esp
lea eax, [ebp - 0x20]
push eax
push 0x40
push 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1002f1f0
test eax, eax
jne 0x100049c1
jmp 0x100049c7
mov eax, dword [ebp - 0x14]
mov byte [eax], 0xc3
push edx
mov ecx, ebp
push eax
lea edx, [0x100049ec]
call fcn.1002f220
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xe4
cmp ebp, esp
call fcn.1002f1f0
mov esp, ebp
pop ebp
ret
Function at 0x1000b740
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
lea edi, [ebp - 0xcc]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
push str.._config1.txt
push 0x78
push 0x10089908
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp esi, esp
call fcn.1002f1f0
mov dword [ebp - 8], eax
push 2
push 0x10089904
push 0x47b5c6
call fcn.10032d70
add esp, 0xc
mov eax, dword [0x100a4f4c]
cmp eax, dword [ebp - 8]
jge 0x1000b7e2
cmp dword [0x100a4f4c], 0
jle 0x1000b7e2
push 0
mov eax, 0x3e8
cdq
idiv dword [0x100a4f4c]
push eax
push 0x47b5c3
call fcn.10007c50
add esp, 0xc
push 0
mov eax, 0x3e8
cdq
idiv dword [0x100a4f4c]
push eax
push 0x47b5cc
call fcn.10007c50
add esp, 0xc
jmp 0x1000b814
push 0
mov eax, 0x3e8
cdq
idiv dword [ebp - 8]
push eax
push 0x47b5c3
call fcn.10007c50
add esp, 0xc
push 0
mov eax, 0x3e8
cdq
idiv dword [ebp - 8]
push eax
push 0x47b5cc
call fcn.10007c50
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.1002f1f0
mov esp, ebp
pop ebp
ret

Function at 0x1000bd60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push ebx
push esi
push edi
lea edi, [ebp - 0xfc]
mov ecx, 0x3f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0x38], ecx
mov esi, esp
lea eax, [ebp - 0x2c]
push eax
push 0x40
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1002f1f0
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.1000be40
add esp, 8
mov esi, esp
lea eax, [ebp - 0x2c]
push eax
push 1
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1002f1f0
push edx
mov ecx, ebp
push eax
lea edx, [0x1000be18]
call fcn.1002f220
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xfc
cmp ebp, esp
call fcn.1002f1f0
mov esp, ebp
pop ebp
ret