joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006240
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.1002ec40
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.1002ec40
mov esp, ebp
pop ebp
ret

Function at 0x10007680
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.1002ec40
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 0x100076e8
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0x10]
jae 0x100076fb
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x2c]
mov byte [eax], 0x90
jmp 0x100076df
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.1002ec40
push edx
mov ecx, ebp
push eax
lea edx, [0x10007740]
call fcn.1002ec70
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.1002ec40
mov esp, ebp
pop ebp
ret

Function at 0x10007840
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.1002ec40
mov dword [ebp - 8], eax
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 fcn.10033690
add esp, 0x10
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.10007680
add esp, 0xc
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.1002ec40
mov esp, ebp
pop ebp
ret
Function at 0x10009320
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 [0x100a2784]
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.1002ec40
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x100093c2
mov esi, esp
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1002ec40
mov eax, dword [ebp + 8]
push eax
push str.closed_TITLE_:__s__n
lea ecx, [ebp - 0x34]
push ecx
call fcn.1002fef0
add esp, 0xc
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x100], esp
lea eax, [ebp - 0x34]
push eax
call fcn.10002170
mov dword [ebp - 0x108], eax
call fcn.10025c30
add esp, 0x20
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edx
mov ecx, ebp
push eax
lea edx, [0x100093f4]
call fcn.1002ec70
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002f700
add esp, 0x108
cmp ebp, esp
call fcn.1002ec40
mov esp, ebp
pop ebp
ret

Function at 0x10009410
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 [0x100a2784]
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.1002ec40
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x100094b6
mov esi, esp
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1002ec40
mov eax, dword [ebp + 8]
push eax
push str.closed_CLASSEWINDOW_:__s__n
lea ecx, [ebp - 0x34]
push ecx
call fcn.1002fef0
add esp, 0xc
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x100], esp
lea eax, [ebp - 0x34]
push eax
call fcn.10002170
mov dword [ebp - 0x108], eax
call fcn.10025c30
add esp, 0x20
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edx
mov ecx, ebp
push eax
lea edx, [0x100094e8]
call fcn.1002ec70
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002f700
add esp, 0x108
cmp ebp, esp
call fcn.1002ec40
mov esp, ebp
pop ebp
ret
Function at 0x10009e70
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.1002ec40
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.1002ec40
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1002ec40
push edx
mov ecx, ebp
push eax
lea edx, [0x10009f00]
call fcn.1002ec70
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.1002ec40
mov esp, ebp
pop ebp
ret

Function at 0x1000a110
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082f10
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 [0x100a2784]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [0x100a2071]
neg eax
sbb eax, eax
add eax, 1
mov byte [0x100a2071], al
mov esi, esp
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1002ec40
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x14c], esp
push str.loginaccountpacket5095
call fcn.10002170
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x34]
push eax
call fcn.10026850
add esp, 0x24
mov dword [ebp - 0x158], eax
mov dword [ebp - 4], 0
push str.LIXEN
lea ecx, [ebp - 0x5c]
call fcn.10002170
mov byte [ebp - 4], 1
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x34]
call fcn.10002380
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x34]
call fcn.10010c60
add eax, 1
push eax
call fcn.10029fb0
add esp, 4
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x34]
call fcn.10010c20
push eax
mov eax, dword [ebp - 0x74]
push eax
call fcn.10034790
add esp, 8
mov esi, esp
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1002ec40
mov eax, dword [ebp - 0x68]
cmp eax, dword [0x10087914]
je 0x1000a236
push 0x1d
mov eax, dword [ebp - 0x74]
push eax
push 0x513146
call fcn.100074b0
add esp, 0xc
jmp 0x1000a24c
mov esi, esp
push 0
push 0x1000a2f0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp esi, esp
call fcn.1002ec40
movzx eax, byte [0x100a2071]
neg eax
sbb eax, eax
add eax, 1
mov byte [0x100a2071], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.10002220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10002220
push edx
mov ecx, ebp
push eax
lea edx, [0x1000a2b4]
call fcn.1002ec70
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.1002f700
add esp, 0x158
cmp ebp, esp
call fcn.1002ec40
mov esp, ebp
pop ebp
ret
Function at 0x1000b3a0
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 0x384
push 0x100888ac
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp esi, esp
call fcn.1002ec40
mov dword [ebp - 8], eax
mov eax, dword [0x100a3f4c]
cmp eax, dword [ebp - 8]
jge 0x1000b431
cmp dword [0x100a3f4c], 0
jle 0x1000b431
push 0
mov eax, 0x3e8
cdq
idiv dword [0x100a3f4c]
push eax
push 0x47b5c3
call fcn.100078f0
add esp, 0xc
push 0
mov eax, 0x3e8
cdq
idiv dword [0x100a3f4c]
push eax
push 0x47b5cc
call fcn.100078f0
add esp, 0xc
jmp 0x1000b463
push 1
mov eax, 0x3e8
cdq
idiv dword [ebp - 8]
push eax
push 0x47b5c3
call fcn.100078f0
add esp, 0xc
push 1
mov eax, 0x3e8
cdq
idiv dword [ebp - 8]
push eax
push 0x47b5cc
call fcn.100078f0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.1002ec40
mov esp, ebp
pop ebp
ret

Function at 0x1000b9b0
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.1002ec40
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.1000ba90
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.1002ec40
push edx
mov ecx, ebp
push eax
lea edx, [0x1000ba68]
call fcn.1002ec70
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xfc
cmp ebp, esp
call fcn.1002ec40
mov esp, ebp
pop ebp
ret

Function at 0x1000bb30
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.1000bae0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 2]
test ecx, ecx
je 0x1000bbc3
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xd4], esp
push str.Debugger
call fcn.10002170
mov dword [ebp - 0xdc], eax
call fcn.10025c30
add esp, 0x20
mov esi, esp
push 0
push str.ERROR
push str.closed_Suspend
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.1002ec40
mov esi, esp
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1002ec40
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.1002ec40
mov esp, ebp
pop ebp
ret
Function at 0x1000c5f0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008318b
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 [0x100a2784]
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.1002ec40
mov esi, esp
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
cmp esi, esp
call fcn.1002ec40
mov eax, dword [0x100a3ec0]
mov cl, byte [eax + 0x1901c8]
mov byte [ebp - 0x145], cl
mov eax, dword [0x100a3ec0]
add eax, 0x1901c8
push eax
lea ecx, [ebp - 0x170]
call fcn.10002170
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x170]
call fcn.10010c60
cmp eax, 3
ja 0x1000c6ab
cmp dword [0x590288], 0
jle 0x1000c708
movzx eax, byte [0x100a3e44]
test eax, eax
jne 0x1000c706
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [0x100a3ec0]
add ecx, 0x1901c8
push ecx
push str._s_is_loggin.g_HWID
push 0x100a3d10
call fcn.1002fef0
add esp, 0x10
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x23c], esp
push 0x100a3d10
call fcn.10002170
mov dword [ebp - 0x244], eax
call fcn.10025c30
add esp, 0x20
mov byte [0x100a3e44], 1
jmp 0x1000c70f
mov byte [0x100a3e44], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.10002220
push edx
mov ecx, ebp
push eax
lea edx, [0x1000c75c]
call fcn.1002ec70
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.1002f700
add esp, 0x244
cmp ebp, esp
call fcn.1002ec40
mov esp, ebp
pop ebp
ret
Function at 0x1000cb20
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 [0x100a3e48], 0
jne 0x1000cb98
cmp dword [0x100a3e50], 0
jne 0x1000cb98
mov esi, esp
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1002ec40
push 0x5130b0
mov eax, dword [0x100a3ec0]
push eax
call fcn.10009000
add esp, 8
mov dword [0x100a3e48], eax
push 0x541ffe
push 0x513cc9
call fcn.10009000
add esp, 8
mov dword [0x100a3e50], eax
jmp 0x1000cc82
push 0x5130b0
mov eax, dword [0x100a3ec0]
push eax
call fcn.10009000
add esp, 8
mov dword [0x100a3e4c], eax
push 0x541ffe
push 0x513cc9
call fcn.10009000
add esp, 8
mov dword [0x100a3e54], eax
mov eax, dword [0x100a3e4c]
cmp eax, dword [0x100a3e48]
je 0x1000cc1c
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.10025c30
add esp, 0x20
mov esi, esp
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1002ec40
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x100a3e50]
cmp eax, dword [0x100a3e54]
je 0x1000cc71
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.10025c30
add esp, 0x20
mov esi, esp
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1002ec40
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.1002ec40
push edx
mov ecx, ebp
push eax
lea edx, [0x1000cca8]
call fcn.1002ec70
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0x1f0
cmp ebp, esp
call fcn.1002ec40
mov esp, ebp
pop ebp
ret
Function at 0x1000e0a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100832e0
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 [0x100a2784]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [0x100a20cf]
neg eax
sbb eax, eax
add eax, 1
mov byte [0x100a20cf], al
mov esi, esp
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1002ec40
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x14c], esp
push str.loginaccountpacket5095
call fcn.10002170
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x34]
push eax
call fcn.10026850
add esp, 0x24
mov dword [ebp - 0x158], eax
mov dword [ebp - 4], 0
push str.LIXEN
lea ecx, [ebp - 0x5c]
call fcn.10002170
mov byte [ebp - 4], 1
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x34]
call fcn.10002380
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x34]
call fcn.10010c60
add eax, 1
push eax
call fcn.10029fb0
add esp, 4
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x34]
call fcn.10010c20
push eax
mov eax, dword [ebp - 0x74]
push eax
call fcn.10034790
add esp, 8
mov esi, esp
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1002ec40
mov eax, dword [ebp - 0x68]
cmp eax, dword [0x10087914]
je 0x1000e1c6
push 0x1d
mov eax, dword [ebp - 0x74]
push eax
push 0x513146
call fcn.100074b0
add esp, 0xc
jmp 0x1000e1dc
mov esi, esp
push 0
push 0x1000a2f0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp esi, esp
call fcn.1002ec40
movzx eax, byte [0x100a20cf]
neg eax
sbb eax, eax
add eax, 1
mov byte [0x100a20cf], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.10002220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10002220
push edx
mov ecx, ebp
push eax
lea edx, [0x1000e244]
call fcn.1002ec70
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.1002f700
add esp, 0x158
cmp ebp, esp
call fcn.1002ec40
mov esp, ebp
pop ebp
ret

Function at 0x10010330
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], 1
je 0x10010362
jmp 0x100103ce
call fcn.100065a0
mov esi, esp
push 0
push 0
push 0
push 0x10010230
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.1002ec40
mov eax, dword [ebp + 8]
push eax
call fcn.1000bbe0
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.1000b9b0
add esp, 4
call fcn.1000bb30
call fcn.10004120
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1002ec40
mov esi, esp
push 0xfa0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1002ec40
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xc4
cmp ebp, esp
call fcn.1002ec40
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100239e0
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084a88
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 [0x100a2784]
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.1002ec40
mov esi, esp
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp esi, esp
call fcn.1002ec40
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.1002ec40
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.1002ec40
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, [0x10023af0]
call fcn.1002ec70
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.1002ec40
mov esp, ebp
pop ebp
ret 0x24
Function at 0x10023b90
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084ac6
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 [0x100a2784]
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.1002ec40
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x10023cd7
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x2c], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x370], 0
je 0x10023cce
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.1002ec40
push eax
sub esp, 0x374
mov ecx, esp
mov dword [ebp - 0x490], esp
mov edx, dword [ebp - 0x18]
push edx
call fcn.10023d40
mov dword [ebp - 0x4ac], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c4]
call fcn.10023e90
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.1002ec40
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c4]
call fcn.10023fe0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x2c], 0
jmp 0x10023cde
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x2c], 1
mov eax, dword [ebp - 0x24]
push edx
mov ecx, ebp
push eax
lea edx, [0x10023d1c]
call fcn.1002ec70
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.1002f700
add esp, 0x4b0
cmp ebp, esp
call fcn.1002ec40
mov esp, ebp
pop ebp
ret