Function at 0x40ca91
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
push ebx
push esi
push edi
mov dword [ebp - 0x64], ecx
mov eax, 1
mov eax, 0xffffffff
nop
nop
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
and byte [ebp - 0x19], 0
lea eax, [ebp - 0x24]
mov ebx, 0x4013b0
push eax
push ebx
mov byte [ebp - 0x24], 0x43
mov byte [ebp - 0x23], 0x72
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], 0x61
mov byte [ebp - 0x20], 0x74
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x46
mov byte [ebp - 0x1d], 0x69
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x41
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
and dword [ebp - 8], 0
and dword [ebp - 4], 0
and byte [ebp - 0x3d], 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x50]
mov byte [ebp - 0x50], 0x47
push eax
push ebx
mov byte [ebp - 0x4f], 0x65
mov byte [ebp - 0x4e], 0x74
mov byte [ebp - 0x4d], 0x53
mov byte [ebp - 0x4c], 0x79
mov byte [ebp - 0x4b], 0x73
mov byte [ebp - 0x4a], 0x74
mov byte [ebp - 0x49], 0x65
mov byte [ebp - 0x48], 0x6d
mov byte [ebp - 0x47], 0x44
mov byte [ebp - 0x46], 0x69
mov byte [ebp - 0x45], 0x72
mov byte [ebp - 0x44], 0x65
mov byte [ebp - 0x43], 0x63
mov byte [ebp - 0x42], 0x74
mov byte [ebp - 0x41], 0x6f
mov byte [ebp - 0x40], 0x72
mov byte [ebp - 0x3f], 0x79
mov byte [ebp - 0x3e], 0x41
call esi
push eax
call edi
mov ecx, eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
lea eax, [ebp - 0x16c]
push 0x104
push eax
call ecx
and byte [ebp - 0xd], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x16c]
push eax
mov byte [ebp - 0x18], 0x5c
mov byte [ebp - 0x17], 0x6f
mov byte [ebp - 0x16], 0x75
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x6f
mov byte [ebp - 0x12], 0x67
mov byte [ebp - 0x11], 0x2e
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xe], 0x74
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 3
push 0
push 1
lea eax, [ebp - 0x16c]
push bind
push eax
call dword [ebp - 0xc]
and byte [ebp - 0x31], 0
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x3c], 0x47
mov byte [ebp - 0x3b], 0x65
mov byte [ebp - 0x3a], 0x74
mov byte [ebp - 0x39], 0x46
mov byte [ebp - 0x38], 0x69
mov byte [ebp - 0x37], 0x6c
mov byte [ebp - 0x36], 0x65
mov byte [ebp - 0x35], 0x53
mov byte [ebp - 0x34], 0x69
mov byte [ebp - 0x33], 0x7a
mov byte [ebp - 0x32], 0x65
mov eax, 1
mov eax, 0xffffffff
nop
nop
cmp dword [ebp - 0x54], 0xffffffff
je 0x40ccb0
lea eax, [ebp - 0x3c]
push eax
push ebx
call esi
push eax
call edi
and byte [ebp - 0x58], 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x60]
mov byte [ebp - 0x60], 0x52
push eax
push ebx
mov byte [ebp - 0x5f], 0x65
mov byte [ebp - 0x5e], 0x61
mov byte [ebp - 0x5d], 0x64
mov byte [ebp - 0x5c], 0x46
mov byte [ebp - 0x5b], 0x69
mov byte [ebp - 0x5a], 0x6c
mov byte [ebp - 0x59], 0x65
call esi
push eax
call edi
push 0
mov dword [ebp - 0x68], eax
push dword [ebp - 0x54]
call dword [ebp - 0xc]
push eax
mov dword [ebp - 8], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 4]
push 0
push ecx
push dword [ebp - 8]
push eax
push dword [ebp - 0x54]
call dword [ebp - 0x68]
xor ecx, ecx
cmp dword [ebp - 8], ecx
jbe 0x40cc96
mov eax, dword [ebp - 0xc]
add eax, ecx
xor byte [eax], 0x62
inc ecx
cmp ecx, dword [ebp - 8]
jb 0x40cc88
push dword [ebp - 8]
mov ecx, dword [ebp - 0x64]
push dword [ebp - 0xc]
call fcn.0040c9b2
push dword [ebp - 0xc]
mov dword [ebp - 8], eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
and byte [ebp - 0x25], 0
lea eax, [ebp - 0x30]
push eax
push ebx
mov byte [ebp - 0x30], 0x43
mov byte [ebp - 0x2f], 0x6c
mov byte [ebp - 0x2e], 0x6f
mov byte [ebp - 0x2d], 0x73
mov byte [ebp - 0x2c], 0x65
mov byte [ebp - 0x2b], 0x48
mov byte [ebp - 0x2a], 0x61
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x64
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x65
call esi
push eax
call edi
push dword [ebp - 0x54]
call eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret