joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401470
Capabilities:
Capture microphone audio
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call dword [sym.imp.WINMM.dll_waveInGetNumDevs]
test eax, eax
jne 0x40148d
xor al, al
jmp 0x4015b1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
call fcn.004015c0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
push ecx
push 4
mov edx, dword [ebp - 4]
push edx
push 0x401770
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], eax
push 0x20000
push 0
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp - 4]
add eax, 0x18
push eax
call dword [sym.imp.WINMM.dll_waveInOpen]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4014f2
xor al, al
jmp 0x4015b1
mov dword [ebp - 0x24], 0
jmp 0x401504
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 2
jge 0x401571
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx*4 + 0x34]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov edx, dword [eax + edx*4 + 8]
mov dword [ecx], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4 + 0x34]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx*4 + 0x34]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx*4 + 0x34]
mov dword [ecx + 0x14], 0
push 0x20
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx*4 + 0x34]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
jmp 0x4014fb
push 0x20
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx*4 + 0x34]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.WINMM.dll_waveInStart]
mov edx, dword [ebp - 4]
mov byte [edx + 0x48], 1
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4060f0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x618694
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.005ffdd8
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x88
call fcn.00496b30
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x1ac
call fcn.00402bf0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x1b4
call fcn.00402bf0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x1b8
call fcn.00402bf0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x1bc
call fcn.00402bf0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
mov dword [eax], method.CDialogBar.virtual_0
mov ecx, dword [ebp - 0x10]
mov dword [0x87f890], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x1b0], eax
push 0x110
push 0x160
lea ecx, [ebp - 0x170]
push ecx
push 0x80
push 0x64e338
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 0x4001
push 0x160
lea edx, [ebp - 0x170]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
push eax
call fcn.005f1493
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c0], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x409290
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push str.AdWolfList
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1e0], 0
jne 0x4092b8
jmp 0x409345
push 1
push 0
push 0
push 0
push 0
push 0xe8ff
push 0xe800
mov ecx, dword [ebp - 4]
call fcn.005f5a08
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00407110
mov dword [ebp - 0x24], 5
mov dword [ebp - 0x20], 0x12
mov edx, dword [ebp - 0xc]
sub edx, 5
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
sub eax, 0x14
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0xc]
sub ecx, 5
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 8]
sub edx, 0x14
mov dword [ebp - 0x28], edx
push 1
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x98
call fcn.004070c0
push 1
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x5c
call fcn.004070c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b2e0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
push ebx
push esi
push edi
cmp dword [ebp + 0xc], 0xffffffff
jne 0x40b2fb
mov dword [ebp + 0xc], 0x80
jmp 0x40b303
mov eax, dword [ebp + 0xc]
or al, 0x80
mov dword [ebp + 0xc], eax
push 0x4010
push 0x160
lea ecx, [ebp - 0x160]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x15c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40dab0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61903c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x398
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x118], 0
push 0x104
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.0047fea0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebp + 8]
movsx eax, byte [edx + eax - 1]
cmp eax, 0x5c
je 0x40db17
mov dword [ebp - 0x118], 0x64f3b8
jmp 0x40db21
mov dword [ebp - 0x118], 0x64dbb8
mov ecx, dword [ebp - 0x118]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s_s.
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0xffffffff
jne 0x40db6b
xor al, al
jmp 0x40dc4b
movsx eax, byte [ebp - 0x22c]
cmp eax, 0x2e
jne 0x40db7c
jmp 0x40dc20
mov ecx, dword [ebp - 0x258]
and ecx, 0x10
test ecx, ecx
je 0x40dbc1
lea edx, [ebp - 0x22c]
push edx
mov eax, dword [ebp - 0x118]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x64f438
lea edx, [ebp - 0x360]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x360]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040dab0
jmp 0x40dc20
lea ecx, [ebp - 0x364]
call fcn.00402bf0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x22c]
push ecx
mov edx, dword [ebp - 0x118]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x64f438
lea ecx, [ebp - 0x364]
push ecx
call fcn.005efc10
add esp, 0x14
lea edx, [ebp - 0x364]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0xb4
call fcn.004124c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x364]
call fcn.005f797c
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40db6b
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40dca0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x619062
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xf55], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xb4
call fcn.00412530
push 1
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040de40
mov dword [ebp - 4], 0
push 0x64dbb8
lea edx, [ebp - 0x14]
push edx
call fcn.004050f0
and eax, 0xff
test eax, eax
je 0x40dd19
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005f797c
jmp 0x40de21
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.005ef868
add eax, 1
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.005ef79a
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0xb20
call fcn.005f7ab5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.005f797c
lea ecx, [ebp - 0x14]
call fcn.00402c90
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0x10
test eax, eax
je 0x40ddb2
lea ecx, [ebp - 0x14]
call fcn.00402c20
sub eax, 1
push eax
lea ecx, [ebp - 0x14]
call fcn.0041ebb0
movsx eax, al
cmp eax, 0x5c
je 0x40dd9d
push 0x64f3b8
lea ecx, [ebp - 0x14]
call fcn.005f7d58
push 0
lea ecx, [ebp - 0x14]
call fcn.005f7dac
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040dab0
jmp 0x40ddc4
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xb4
call fcn.004124c0
mov ecx, dword [ebp - 0x10]
add ecx, 0xb4
call fcn.004123b0
test eax, eax
je 0x40de00
push 0x30
push 0x64f454
push 0x64f448
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005f797c
jmp 0x40de21
push 0
mov ecx, dword [ebp - 0x10]
call fcn.0040dc60
mov ecx, dword [ebp - 0x10]
call fcn.0040e390
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005f797c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40fcf0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb0c]
add ecx, 0x24
call fcn.00403930
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
mov esi, dword [edx + 4]
xor edi, edi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor edx, edx
mov ecx, 0x20
call fcn.004818b0
or esi, eax
or edi, edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x90], esi
mov dword [ecx + 0x94], edi
mov ecx, dword [ebp - 4]
call fcn.0040f5d0
mov edx, dword [ebp - 4]
add edx, 0x90
mov eax, dword [ebp - 4]
add eax, 0x88
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40fd88
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
je 0x40fda0
cmp dword [ebp - 0xc], 0xffffffff
jne 0x40fd94
cmp dword [ebp - 0x10], 0xffffffff
je 0x40fda0
mov ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx + 0x66]
test edx, edx
je 0x40fdad
mov ecx, dword [ebp - 4]
call fcn.0040f290
jmp 0x40fe93
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x14], 9
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
mov eax, 0x19000
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0x19000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov byte [ecx], 5
push 4
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x24]
add eax, 1
push eax
call fcn.0047ff00
add esp, 0xc
push 4
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x24]
add edx, 5
push edx
call fcn.0047ff00
add esp, 0xc
mov byte [ebp - 0x28], 1
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x20], 0
jbe 0x40fe89
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xb0c]
push eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xb10]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xb10]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412fa0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x619625
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x114], 0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00402c90
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp + 0x14]
call fcn.00402c90
push eax
lea ecx, [ebp + 0x10]
call fcn.00402c90
push eax
lea ecx, [ebp + 0xc]
call fcn.00402c90
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp + 8]
call fcn.005f79ea
mov edx, dword [ebp - 0x114]
or edx, 1
mov dword [ebp - 0x114], edx
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.005f797c
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.005f797c
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.005f797c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x413070
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x619642
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00402c90
push eax
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.00402c90
push eax
lea ecx, [ebp + 8]
call fcn.00402c90
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.005f797c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.005f797c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x413ef0
Capabilities:
Access peb ldr_data
Get number of processors
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6196c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
push 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.00415d00
mov dword [ebp - 4], 0
push 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.00415d00
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.00405e20
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x64f950
mov ecx, 1
test ecx, ecx
je 0x413f69
mov dword [ebp - 0x1ac], 0
jmp 0x413f80
mov edx, dword [ebp - 0x10]
push edx
push str.CIOCPServer_p_n
call fcn.0040c170
add esp, 8
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x88], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x84], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x90], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x41], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x80], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x8c], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x40], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xb4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0x2710
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xa0], 0x2710
mov byte [ebp - 0x1a8], 0x58
mov byte [ebp - 0x1a7], 0x66
mov byte [ebp - 0x1a6], 0x69
mov byte [ebp - 0x1a5], 0x72
mov byte [ebp - 0x1a4], 0x65
push 5
lea eax, [ebp - 0x1a8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x42
push ecx
call fcn.0047ff00
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414890
Capabilities:
Create tcp socket
Create thread
Create udp socket
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x4148b8
xor al, al
jmp 0x414991
push 0
push 0
push 0
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x8c], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x8c], 0
jne 0x4148ee
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x414991
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.00405ee0
mov eax, dword [ebp - 0x18]
shl eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3c], 0
mov dword [ebp - 0x38], 0
jmp 0x414934
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x34]
jae 0x41498f
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x4149a0
push 0
push 0
call fcn.00481a76
add esp, 0x18
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x414974
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x8c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x414991
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x3c]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41492b
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x414bb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61978b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
push 0x18
call fcn.005f2f36
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x414bfa
push 1
mov ecx, dword [ebp - 0x28]
call fcn.00416610
mov dword [ebp - 0x2c], eax
jmp 0x414c01
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0x8000
push 0
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 1
mov edx, dword [ebp + 8]
add edx, 0x50
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x414c62
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x414c62
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00415560
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x415290
Capabilities:
Check for time delay via gettickcount
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6197eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x70
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
xor eax, eax
mov al, byte [0x88fa68]
and eax, 1
test eax, eax
jne 0x4152e4
mov cl, byte [0x88fa68]
or cl, 1
mov byte [0x88fa68], cl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x88fa60], eax
mov edx, dword [0x88fa74]
add edx, dword [ebp + 0xc]
mov dword [0x88fa74], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x88fa60]
cmp eax, 0x3e8
jb 0x41532e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x88fa60], eax
mov eax, dword [0x88fa74]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x2c
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [0x88fa74], 0
mov dword [ebp - 0x18], 0x8000
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403950
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403700
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x41537a
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403900
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x19080]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov al, 1
jmp 0x41546d
push 0x18
call fcn.005f2f36
add esp, 4
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x28], 0
je 0x4153ac
push 2
mov ecx, dword [ebp - 0x28]
call fcn.00416610
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
jmp 0x4153b3
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edx
push 3
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x14]
call dword [eax + 4]
push 0
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403930
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 0x1907c], edx
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403700
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x19078], ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x19078
push ecx
push 1
mov edx, dword [ebp + 8]
add edx, 0x19078
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_WSASend]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x41545c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x41545c
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00415560
jmp 0x415464
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8