joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005d00
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 0
push str.Talisman
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp esi, esp
call fcn.10021000
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
setne al
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.10021000
mov esp, ebp
pop ebp
ret

Function at 0x100072c0
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
lea eax, [ebp - 8]
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]
cmp esi, esp
call fcn.10021000
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sub eax, 5
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov byte [eax], 0xe9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 1], ecx
mov dword [ebp - 0x2c], 5
jmp 0x10007328
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0x10]
jae 0x1000733b
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x2c]
mov byte [eax], 0x90
jmp 0x1000731f
mov esi, esp
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.10021000
push edx
mov ecx, ebp
push eax
lea edx, [0x10007380]
call fcn.10021030
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.10021000
mov esp, ebp
pop ebp
ret

Function at 0x10007480
Capabilities:
Allocate or change rwx memory

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 esi, esp
push 0x40
push 0x3000
mov eax, dword [ebp + 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.10021000
mov dword [ebp - 8], eax
mov esi, esp
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.MSVCR100D.dll_memcpy_s]
add esp, 0x10
cmp esi, esp
call fcn.10021000
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 8]
sub eax, 5
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0x10]
mov byte [eax], 0xe9
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 1], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100072c0
add esp, 0xc
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.10021000
mov esp, ebp
pop ebp
ret
Function at 0x10008fc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
lea edi, [ebp - 0x108]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10031424]
xor eax, ebp
mov dword [ebp - 4], eax
mov esi, esp
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
cmp esi, esp
call fcn.10021000
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x1000906c
mov esi, esp
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.10021000
mov esi, esp
mov eax, dword [ebp + 8]
push eax
push str.closed_TITLE_:__s__n
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.MSVCR100D.dll_sprintf]
add esp, 0xc
cmp esi, esp
call fcn.10021000
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x100], esp
lea eax, [ebp - 0x34]
push eax
call fcn.10002270
mov dword [ebp - 0x108], eax
call fcn.1001b3e0
add esp, 0x20
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edx
mov ecx, ebp
push eax
lea edx, [0x1000909c]
call fcn.10021030
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10021220
add esp, 0x108
cmp ebp, esp
call fcn.10021000
mov esp, ebp
pop ebp
ret

Function at 0x100090c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
lea edi, [ebp - 0x108]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10031424]
xor eax, ebp
mov dword [ebp - 4], eax
mov esi, esp
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
cmp esi, esp
call fcn.10021000
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x10009170
mov esi, esp
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.10021000
mov esi, esp
mov eax, dword [ebp + 8]
push eax
push str.closed_CLASSEWINDOW_:__s__n
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.MSVCR100D.dll_sprintf]
add esp, 0xc
cmp esi, esp
call fcn.10021000
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x100], esp
lea eax, [ebp - 0x34]
push eax
call fcn.10002270
mov dword [ebp - 0x108], eax
call fcn.1001b3e0
add esp, 0x20
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edx
mov ecx, ebp
push eax
lea edx, [0x100091a0]
call fcn.10021030
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10021220
add esp, 0x108
cmp ebp, esp
call fcn.10021000
mov esp, ebp
pop ebp
ret
Function at 0x10009fb0
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 esi, esp
lea eax, [ebp - 8]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.10021000
mov dword [ebp - 0x14], eax
mov esi, esp
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp esi, esp
call fcn.10021000
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10021000
push edx
mov ecx, ebp
push eax
lea edx, [0x1000a040]
call fcn.10021030
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.10021000
mov esp, ebp
pop ebp
ret

Function at 0x1000a250
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10023b20
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
push ebx
push esi
push edi
lea edi, [ebp - 0x158]
mov ecx, 0x53
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10031424]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [0x10031071]
neg eax
sbb eax, eax
add eax, 1
mov byte [0x10031071], al
mov esi, esp
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.10021000
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x14c], esp
push str.loginaccountpacket5095
call fcn.10002270
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x34]
push eax
call fcn.1001c010
add esp, 0x24
mov dword [ebp - 0x158], eax
mov dword [ebp - 4], 0
push str.LIXEN
lea ecx, [ebp - 0x5c]
call fcn.10002270
mov byte [ebp - 4], 1
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x34]
call fcn.10002480
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x34]
call fcn.1000dfa0
add eax, 1
push eax
call fcn.1001eb00
add esp, 4
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x34]
call fcn.1000df60
push eax
mov eax, dword [ebp - 0x74]
push eax
call sub.MSVCR100D.dll_strcpy
add esp, 8
mov esi, esp
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.10021000
mov eax, dword [ebp - 0x68]
cmp eax, dword [0x100276cc]
je 0x1000a376
push 0x1d
mov eax, dword [ebp - 0x74]
push eax
push 0x513146
call fcn.10007160
add esp, 0xc
jmp 0x1000a38c
mov esi, esp
push 0
push 0x1000a430
call dword [sym.imp.USER32.dll_EnumWindows]
cmp esi, esp
call fcn.10021000
movzx eax, byte [0x10031071]
neg eax
sbb eax, eax
add eax, 1
mov byte [0x10031071], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.10002320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10002320
push edx
mov ecx, ebp
push eax
lea edx, [0x1000a3f4]
call fcn.10021030
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.10021220
add esp, 0x158
cmp ebp, esp
call fcn.10021000
mov esp, ebp
pop ebp
ret
Function at 0x1000aec0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
lea edi, [ebp - 0x210]
mov ecx, 0x84
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10031424]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], 0x20
mov esi, esp
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp esi, esp
call fcn.10021000
mov esi, esp
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
cmp esi, esp
call fcn.10021000
mov eax, dword [0x10031688]
mov cl, byte [eax + 0x1901c8]
mov byte [ebp - 0x139], cl
mov esi, esp
lea eax, [ebp - 0x12c]
push eax
movsx ecx, byte [ebp - 0x139]
push ecx
push str._s_is_loggin.g_HWID
push 0x10031490
call dword [sym.imp.MSVCR100D.dll_sprintf]
add esp, 0x10
cmp esi, esp
call fcn.10021000
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x208], esp
push 0x10031490
call fcn.10002270
mov dword [ebp - 0x210], eax
call fcn.1001b3e0
add esp, 0x20
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x1000afac]
call fcn.10021030
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10021220
add esp, 0x210
cmp ebp, esp
call fcn.10021000
mov esp, ebp
pop ebp
ret

Function at 0x1000b380
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 0x4b0
push 0x100285d8
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp esi, esp
call fcn.10021000
mov dword [ebp - 8], eax
push 2
push 0x100285d4
push 0x47b5c6
call sub.MSVCR100D.dll_memcpy
add esp, 0xc
mov eax, dword [0x10031714]
cmp eax, dword [ebp - 8]
jge 0x1000b425
cmp dword [0x10031714], 0
jle 0x1000b425
push 0
mov eax, 0x3e8
cdq
idiv dword [0x10031714]
push eax
push 0x47b5c3
call fcn.10007530
add esp, 0xc
push 0
mov eax, 0x3e8
cdq
idiv dword [0x10031714]
push eax
push 0x47b5cc
call fcn.10007530
add esp, 0xc
jmp 0x1000b457
push 0
mov eax, 0x3e8
cdq
idiv dword [ebp - 8]
push eax
push 0x47b5c3
call fcn.10007530
add esp, 0xc
push 0
mov eax, 0x3e8
cdq
idiv dword [ebp - 8]
push eax
push 0x47b5cc
call fcn.10007530
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.10021000
mov esp, ebp
pop ebp
ret
Function at 0x1000b740
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.10021000
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.1000b820
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.10021000
push edx
mov ecx, ebp
push eax
lea edx, [0x1000b7f8]
call fcn.10021030
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xfc
cmp ebp, esp
call fcn.10021000
mov esp, ebp
pop ebp
ret

Function at 0x1000b8c0
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.1000b870
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 2]
test ecx, ecx
je 0x1000b936
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xd4], esp
push str.opened_Debugger
call fcn.10002270
mov dword [ebp - 0xdc], eax
call fcn.1001b3e0
add esp, 0x20
mov esi, esp
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.10021000
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.10021000
mov esp, ebp
pop ebp
ret
Function at 0x1000bb20
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10023c4b
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 [0x10031424]
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.10021000
mov esi, esp
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
cmp esi, esp
call fcn.10021000
mov eax, dword [0x10031688]
mov cl, byte [eax + 0x1901c8]
mov byte [ebp - 0x145], cl
mov eax, dword [0x10031688]
add eax, 0x1901c8
push eax
lea ecx, [ebp - 0x170]
call fcn.10002270
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x170]
call fcn.1000dfa0
cmp eax, 3
ja 0x1000bbdb
cmp dword [0x590288], 0
jle 0x1000bc42
movzx eax, byte [0x10031648]
test eax, eax
jne 0x1000bc40
mov esi, esp
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [0x10031688]
add ecx, 0x1901c8
push ecx
push str._s_is_loggin.g_HWID
push 0x10031500
call dword [sym.imp.MSVCR100D.dll_sprintf]
add esp, 0x10
cmp esi, esp
call fcn.10021000
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x23c], esp
push 0x10031500
call fcn.10002270
mov dword [ebp - 0x244], eax
call fcn.1001b3e0
add esp, 0x20
mov byte [0x10031648], 1
jmp 0x1000bc49
mov byte [0x10031648], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.10002320
push edx
mov ecx, ebp
push eax
lea edx, [0x1000bc98]
call fcn.10021030
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.10021220
add esp, 0x244
cmp ebp, esp
call fcn.10021000
mov esp, ebp
pop ebp
ret
Function at 0x1000bf70
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 [0x1003164c], 0
jne 0x1000bfe8
cmp dword [0x10031654], 0
jne 0x1000bfe8
mov esi, esp
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.10021000
push 0x5130b0
mov eax, dword [0x10031688]
push eax
call fcn.10008c90
add esp, 8
mov dword [0x1003164c], eax
push 0x541ffe
push 0x513cc9
call fcn.10008c90
add esp, 8
mov dword [0x10031654], eax
jmp 0x1000c0d2
push 0x5130b0
mov eax, dword [0x10031688]
push eax
call fcn.10008c90
add esp, 8
mov dword [0x10031650], eax
push 0x541ffe
push 0x513cc9
call fcn.10008c90
add esp, 8
mov dword [0x10031658], eax
mov eax, dword [0x10031650]
cmp eax, dword [0x1003164c]
je 0x1000c06c
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x1e8], esp
push str._____Packet_Conquer_Changed_TM
call fcn.10002270
mov dword [ebp - 0x1f0], eax
call fcn.1001b3e0
add esp, 0x20
mov esi, esp
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.10021000
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x10031654]
cmp eax, dword [0x10031658]
je 0x1000c0c1
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x1dc], esp
push str._____Packet_Conquer_PART_2_Changed__TM
call fcn.10002270
mov dword [ebp - 0x1f0], eax
call fcn.1001b3e0
add esp, 0x20
mov esi, esp
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.10021000
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.10021000
push edx
mov ecx, ebp
push eax
lea edx, [0x1000c0f8]
call fcn.10021030
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0x1f0
cmp ebp, esp
call fcn.10021000
mov esp, ebp
pop ebp
ret

Function at 0x1000c260
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.10021000
mov esp, ebp
pop ebp
ret
Function at 0x1000d7d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push ebx
push esi
push edi
lea edi, [ebp - 0xc4]
mov ecx, 0x31
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
je 0x1000d88e
cmp dword [ebp - 0xc4], 1
je 0x1000d812
jmp 0x1000d8a3
call fcn.1000d720
mov esi, esp
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.10021000
call fcn.10006090
call fcn.100061c0
mov esi, esp
push 0
push 0
push 0
push 0x1000d600
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.10021000
mov eax, dword [ebp + 8]
push eax
call fcn.1000b950
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.1000b740
add esp, 4
call fcn.1000b8c0
call fcn.1000c260
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10021000
jmp 0x1000d8a3
mov esi, esp
mov eax, dword [0x10031488]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
cmp esi, esp
call fcn.10021000
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xc4
cmp ebp, esp
call fcn.10021000
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10019140
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024cc8
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 [0x10031424]
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.10021000
mov esi, esp
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp esi, esp
call fcn.10021000
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x350], eax
lea ecx, [ebp + 8]
call fcn.10002410
mov esi, esp
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp esi, esp
call fcn.10021000
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.10021000
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x356], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002320
push edx
mov ecx, ebp
push eax
lea edx, [0x10019250]
call fcn.10021030
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.10021000
mov esp, ebp
pop ebp
ret 0x24
Function at 0x100192f0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024d06
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 [0x10031424]
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.10021000
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x10019437
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x2c], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x370], 0
je 0x1001942e
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x49c], esp
push str.Error_while_connecting.
call fcn.10002270
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.10021000
push eax
sub esp, 0x374
mov ecx, esp
mov dword [ebp - 0x490], esp
mov edx, dword [ebp - 0x18]
push edx
call fcn.100194a0
mov dword [ebp - 0x4ac], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c4]
call fcn.100195f0
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.10021000
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c4]
call fcn.10019730
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x2c], 0
jmp 0x1001943e
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x2c], 1
mov eax, dword [ebp - 0x24]
push edx
mov ecx, ebp
push eax
lea edx, [0x1001947c]
call fcn.10021030
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.10021220
add esp, 0x4b0
cmp ebp, esp
call fcn.10021000
mov esp, ebp
pop ebp
ret