joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ad10
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 0x3e8
push 0x10085790
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp esi, esp
call fcn.1002ba00
mov dword [ebp - 8], eax
push 2
push 0x1008578c
push 0x47b5c6
call fcn.1002f580
add esp, 0xc
mov eax, dword [0x100a0eec]
cmp eax, dword [ebp - 8]
jge 0x1000adb5
cmp dword [0x100a0eec], 0
jle 0x1000adb5
push 0
mov eax, 0x3e8
cdq
idiv dword [0x100a0eec]
push eax
push 0x47b5c3
call fcn.10007390
add esp, 0xc
push 0
mov eax, 0x3e8
cdq
idiv dword [0x100a0eec]
push eax
push 0x47b5cc
call fcn.10007390
add esp, 0xc
jmp 0x1000ade7
push 0
mov eax, 0x3e8
cdq
idiv dword [ebp - 8]
push eax
push 0x47b5c3
call fcn.10007390
add esp, 0xc
push 0
mov eax, 0x3e8
cdq
idiv dword [ebp - 8]
push eax
push 0x47b5cc
call fcn.10007390
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.1002ba00
mov esp, ebp
pop ebp
ret

Function at 0x1000b0d0
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.1002ba00
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.1000b1b0
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.1002ba00
push edx
mov ecx, ebp
push eax
lea edx, [0x1000b188]
call fcn.1002ba30
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xfc
cmp ebp, esp
call fcn.1002ba00
mov esp, ebp
pop ebp
ret

Function at 0x1000b250
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push ebx
push esi
push edi
lea edi, [ebp - 0xdc]
mov ecx, 0x37
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
call fcn.1000b200
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 2]
test ecx, ecx
je 0x1000b2c6
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xd4], esp
push str.opened_Debugger
call fcn.10002170
mov dword [ebp - 0xdc], eax
call fcn.10022a30
add esp, 0x20
mov esi, esp
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1002ba00
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop esi
pop ebx
add esp, 0xdc
cmp ebp, esp
call fcn.1002ba00
mov esp, ebp
pop ebp
ret
Function at 0x1000b4b0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007fd1b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
push ebx
push esi
push edi
lea edi, [ebp - 0x244]
mov ecx, 0x8e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1009f774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], 0x20
mov esi, esp
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp esi, esp
call fcn.1002ba00
mov esi, esp
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
cmp esi, esp
call fcn.1002ba00
mov eax, dword [0x100a0e60]
mov cl, byte [eax + 0x1901c8]
mov byte [ebp - 0x145], cl
mov eax, dword [0x100a0e60]
add eax, 0x1901c8
push eax
lea ecx, [ebp - 0x170]
call fcn.10002170
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x170]
call fcn.1000da80
cmp eax, 3
ja 0x1000b56b
cmp dword [0x590288], 0
jle 0x1000b5c8
movzx eax, byte [0x100a0e20]
test eax, eax
jne 0x1000b5c6
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [0x100a0e60]
add ecx, 0x1901c8
push ecx
push str._s_is_loggin.g_HWID
push 0x100a0d00
call fcn.1002ccb0
add esp, 0x10
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x23c], esp
push 0x100a0d00
call fcn.10002170
mov dword [ebp - 0x244], eax
call fcn.10022a30
add esp, 0x20
mov byte [0x100a0e20], 1
jmp 0x1000b5cf
mov byte [0x100a0e20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.10002220
push edx
mov ecx, ebp
push eax
lea edx, [0x1000b61c]
call fcn.1002ba30
pop eax
pop edx
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.1002c4c0
add esp, 0x244
cmp ebp, esp
call fcn.1002ba00
mov esp, ebp
pop ebp
ret
Function at 0x1000b8f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f0
push ebx
push esi
push edi
lea edi, [ebp - 0x1f0]
mov ecx, 0x7c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
cmp dword [0x100a0e24], 0
jne 0x1000b968
cmp dword [0x100a0e2c], 0
jne 0x1000b968
mov esi, esp
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1002ba00
push 0x5130b0
mov eax, dword [0x100a0e60]
push eax
call fcn.10008aa0
add esp, 8
mov dword [0x100a0e24], eax
push 0x541ffe
push 0x513cc9
call fcn.10008aa0
add esp, 8
mov dword [0x100a0e2c], eax
jmp 0x1000ba52
push 0x5130b0
mov eax, dword [0x100a0e60]
push eax
call fcn.10008aa0
add esp, 8
mov dword [0x100a0e28], eax
push 0x541ffe
push 0x513cc9
call fcn.10008aa0
add esp, 8
mov dword [0x100a0e30], eax
mov eax, dword [0x100a0e28]
cmp eax, dword [0x100a0e24]
je 0x1000b9ec
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x1e8], esp
push str._____Packet_Conquer_Changed_TM
call fcn.10002170
mov dword [ebp - 0x1f0], eax
call fcn.10022a30
add esp, 0x20
mov esi, esp
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1002ba00
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x100a0e2c]
cmp eax, dword [0x100a0e30]
je 0x1000ba41
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x1dc], esp
push str._____Packet_Conquer_PART_2_Changed__TM
call fcn.10002170
mov dword [ebp - 0x1f0], eax
call fcn.10022a30
add esp, 0x20
mov esi, esp
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1002ba00
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, esp
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1002ba00
push edx
mov ecx, ebp
push eax
lea edx, [0x1000ba78]
call fcn.1002ba30
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0x1f0
cmp ebp, esp
call fcn.1002ba00
mov esp, ebp
pop ebp
ret

Function at 0x1000bbe0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
lea edi, [ebp - 0xc0]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x20], 0x100000
pop edi
pop esi
pop ebx
add esp, 0xc0
cmp ebp, esp
call fcn.1002ba00
mov esp, ebp
pop ebp
ret
Function at 0x1000d260
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0xd8]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1009f774]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x10], 0x68
mov byte [ebp - 0xf], 0x37
mov byte [ebp - 0xe], 0x95
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 1
je 0x1000d2b3
jmp 0x1000d337
push 5
lea eax, [ebp - 0x10]
push eax
push 0x4eeb24
call fcn.10004570
add esp, 0xc
call fcn.1000d130
call fcn.100060b0
mov esi, esp
push 0
push 0
push 0
push 0x1000d030
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.1002ba00
mov eax, dword [ebp + 8]
push eax
call fcn.1000b2e0
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.1000b0d0
add esp, 4
call fcn.1000b250
call fcn.1000bbe0
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1002ba00
mov esi, esp
push 0xfa0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1002ba00
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x1000d370]
call fcn.1002ba30
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002c4c0
add esp, 0xd8
cmp ebp, esp
call fcn.1002ba00
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10020800
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081678
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xe4]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x1009f774]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0x30
mov esi, esp
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp esi, esp
call fcn.1002ba00
mov esi, esp
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp esi, esp
call fcn.1002ba00
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x350], eax
lea ecx, [ebp + 8]
call fcn.10002310
mov esi, esp
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp esi, esp
call fcn.1002ba00
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x358], eax
mov eax, 2
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x354], ax
mov esi, esp
movzx eax, word [ebp + 0x28]
push eax
call dword [sym.imp.WS2_32.dll_htons]
cmp esi, esp
call fcn.1002ba00
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x356], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002220
push edx
mov ecx, ebp
push eax
lea edx, [0x10020910]
call fcn.1002ba30
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xe4
cmp ebp, esp
call fcn.1002ba00
mov esp, ebp
pop ebp
ret 0x24
Function at 0x100209b0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100816b6
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x4b0]
mov ecx, 0x129
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x1009f774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov esi, esp
push 0x10
mov eax, dword [ebp - 0x18]
add eax, 0x354
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x350]
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp esi, esp
call fcn.1002ba00
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x10020af7
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x2c], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x370], 0
je 0x10020aee
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x49c], esp
push str.Error_while_connecting.
call fcn.10002170
mov dword [ebp - 0x4a4], eax
mov eax, dword [ebp - 0x4a4]
mov dword [ebp - 0x4a8], eax
mov dword [ebp - 4], 0
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.1002ba00
push eax
sub esp, 0x374
mov ecx, esp
mov dword [ebp - 0x490], esp
mov edx, dword [ebp - 0x18]
push edx
call fcn.10020b60
mov dword [ebp - 0x4ac], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c4]
call fcn.10020cb0
mov dword [ebp - 0x4b0], eax
mov dword [ebp - 4], 1
mov esi, esp
lea eax, [ebp - 0x3c4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x370]
call edx
add esp, 4
cmp esi, esp
call fcn.1002ba00
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c4]
call fcn.10020df0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x2c], 0
jmp 0x10020afe
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x2c], 1
mov eax, dword [ebp - 0x24]
push edx
mov ecx, ebp
push eax
lea edx, [0x10020b3c]
call fcn.1002ba30
pop eax
pop edx
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.1002c4c0
add esp, 0x4b0
cmp ebp, esp
call fcn.1002ba00
mov esp, ebp
pop ebp
ret
Function at 0x10021840
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081860
mov eax, dword fs:[0]
push eax
mov eax, 0x1170
call fcn.1002db00
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x117c]
mov ecx, 0x45c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x1009f774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1120], 0
push 0x10084d83
lea ecx, [ebp - 0x1048]
call fcn.10002170
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x350], 0xffffffff
je 0x1002197d
push 0x1000
push 0
lea eax, [ebp - 0x1020]
push eax
call fcn.10030670
add esp, 0xc
mov esi, esp
push 0
push 0x1000
lea eax, [ebp - 0x1020]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x350]
push edx
call dword [sym.imp.WS2_32.dll_recv]
cmp esi, esp
call fcn.1002ba00
mov dword [ebp - 0x1054], eax
cmp dword [ebp - 0x1054], 0
jle 0x1002197d
lea eax, [ebp - 0x1020]
push eax
lea ecx, [ebp - 0x1148]
call fcn.10002170
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1054]
push ecx
push 0
lea edx, [ebp - 0x1148]
push edx
lea ecx, [ebp - 0x1170]
call fcn.10025240
mov dword [ebp - 0x1178], eax
mov eax, dword [ebp - 0x1178]
mov dword [ebp - 0x117c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x117c]
push ecx
lea ecx, [ebp - 0x1048]
call fcn.1001a8e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1170]
call fcn.10002220
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1148]
call fcn.10002220
lea eax, [ebp - 0x1048]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000d5e0
mov ecx, dword [ebp - 0x1120]
or ecx, 1
mov dword [ebp - 0x1120], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1048]
call fcn.10002220
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x100219ec]
call fcn.1002ba30
pop eax
pop edx
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.1002c4c0
add esp, 0x117c
cmp ebp, esp
call fcn.1002ba00
mov esp, ebp
pop ebp
ret 4

Function at 0x100221b0
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 dword [ebp - 0xc8], 0
mov esi, esp
push str.._Config1.txt
push 0xff
push 0x100a0f30
push str.45.89.30.101
push 0x100870a0
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.1002ba00
push 0x100a0f30
mov ecx, dword [ebp + 8]
call fcn.10002170
mov eax, dword [ebp - 0xc8]
or eax, 1
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.1002ba00
mov esp, ebp
pop ebp
ret
Function at 0x10022880
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081a67
mov eax, dword fs:[0]
push eax
sub esp, 0x294
push ebx
push esi
push edi
lea edi, [ebp - 0x2a0]
mov ecx, 0xa5
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1009f774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x29c], 0
push 0x10084d83
lea ecx, [ebp - 0x34]
call fcn.10002170
mov dword [ebp - 4], 1
mov dword [ebp - 0xd4], 0x20
mov esi, esp
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp esi, esp
call fcn.1002ba00
mov esi, esp
lea eax, [ebp - 0x1d0]
push eax
call dword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
cmp esi, esp
call fcn.1002ba00
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0xc8]
push ecx
push str._ls____ls
lea edx, [ebp - 0xa0]
push edx
call fcn.1002ccb0
add esp, 0x10
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp + 8]
call fcn.10002170
mov ecx, dword [ebp - 0x29c]
or ecx, 1
mov dword [ebp - 0x29c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10002220
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x100229a4]
call fcn.1002ba30
pop eax
pop edx
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.1002c4c0
add esp, 0x2a0
cmp ebp, esp
call fcn.1002ba00
mov esp, ebp
pop ebp
ret
Function at 0x10022a30
Capabilities:
Get hostname
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081aa3
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
push ebx
push esi
push edi
lea edi, [ebp - 0x368]
mov ecx, 0xd7
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1009f774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
movzx eax, byte [0x1009f53b]
cmp eax, 1
jne 0x10022c17
mov byte [0x1009f53b], 0
mov esi, esp
push str.._Config.txt
push 0xff
push 0x100a31a0
push 0
push 0x100870a0
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.1002ba00
mov dword [ebp - 0x148], 0x20
mov esi, esp
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp esi, esp
call fcn.1002ba00
lea ecx, [ebp + 8]
call fcn.10002310
push eax
lea eax, [ebp - 0x35c]
push eax
call fcn.10022880
add esp, 4
mov dword [ebp - 0x364], eax
mov ecx, dword [ebp - 0x364]
mov dword [ebp - 0x368], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x368]
call fcn.10002310
push eax
push str.Hacking_PC_Name_:__s_Msg_:__s_n
lea edx, [ebp - 0x250]
push edx
call fcn.1002ccb0
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x35c]
call fcn.10002220
mov ecx, 0x100a3688
call fcn.10022120
movzx eax, al
cmp eax, 1
jne 0x10022c17
lea ecx, [ebp + 8]
call fcn.10002350
cmp eax, 4
jbe 0x10022ba0
mov ecx, 0x100a3688
call fcn.10022120
movzx eax, al
test eax, eax
je 0x10022ba0
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x334], esp
lea eax, [ebp - 0x250]
push eax
call fcn.10002170
mov dword [ebp - 0x364], eax
mov ecx, 0x100a3688
call fcn.100211f0
mov byte [0x1009f53b], 1
jmp 0x10022c17
lea ecx, [ebp + 8]
call fcn.10002350
test eax, eax
jne 0x10022bff
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x328], esp
push str.Hacking
call fcn.10002170
mov dword [ebp - 0x364], eax
mov ecx, 0x100a3688
call fcn.100211f0
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x31c], esp
push str.nll_sendded
call fcn.10002170
mov dword [ebp - 0x364], eax
mov ecx, 0x100a3688
call fcn.100211f0
mov byte [0x1009f53b], 1
jmp 0x10022c17
mov ecx, 0x100a3688
call fcn.10022120
movzx eax, al
test eax, eax
jne 0x10022c17
mov byte [0x1009f53b], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002220
push edx
mov ecx, ebp
push eax
lea edx, [0x10022c60]
call fcn.1002ba30
pop eax
pop edx
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.1002c4c0
add esp, 0x368
cmp ebp, esp
call fcn.1002ba00
mov esp, ebp
pop ebp
ret
Function at 0x100234c0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081c03
mov eax, dword fs:[0]
push eax
sub esp, 0x53c
push ebx
push esi
push edi
lea edi, [ebp - 0x548]
mov ecx, 0x14f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1009f774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0x20
mov esi, esp
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp esi, esp
call fcn.1002ba00
lea ecx, [ebp + 8]
call fcn.10002310
push eax
lea eax, [ebp - 0x53c]
push eax
call fcn.10022880
add esp, 4
mov dword [ebp - 0x544], eax
mov ecx, dword [ebp - 0x544]
mov dword [ebp - 0x548], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x548]
call fcn.10002310
push eax
push str.Hacking_PC_Name_:__s_Msg_:__s_n
lea edx, [ebp - 0x448]
push edx
call fcn.1002ccb0
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x53c]
call fcn.10002220
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x514], esp
lea eax, [ebp - 0x448]
push eax
call fcn.10002170
mov dword [ebp - 0x544], eax
mov ecx, 0x100a3688
call fcn.100211f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002220
push edx
mov ecx, ebp
push eax
lea edx, [0x100235f4]
call fcn.1002ba30
pop eax
pop edx
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.1002c4c0
add esp, 0x548
cmp ebp, esp
call fcn.1002ba00
mov esp, ebp
pop ebp
ret

Function at 0x100243d0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081e77
mov eax, dword fs:[0]
push eax
sub esp, 0x294
push ebx
push esi
push edi
lea edi, [ebp - 0x2a0]
mov ecx, 0xa5
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1009f774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x29c], 0
push 0x10084d83
lea ecx, [ebp - 0x34]
call fcn.10002170
mov dword [ebp - 4], 1
mov dword [ebp - 0xd4], 0x20
mov esi, esp
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp esi, esp
call fcn.1002ba00
mov esi, esp
lea eax, [ebp - 0x1d0]
push eax
call dword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
cmp esi, esp
call fcn.1002ba00
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0xc8]
push ecx
push str._ls____ls
lea edx, [ebp - 0xa0]
push edx
call fcn.1002ccb0
add esp, 0x10
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp + 8]
call fcn.10002170
mov ecx, dword [ebp - 0x29c]
or ecx, 1
mov dword [ebp - 0x29c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10002220
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x100244f4]
call fcn.1002ba30
pop eax
pop edx
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.1002c4c0
add esp, 0x2a0
cmp ebp, esp
call fcn.1002ba00
mov esp, ebp
pop ebp
ret