Function at 0x4091a0
Capabilities:
Create process on windows
Resolve dns
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4f4
mov eax, dword [0x4d9700]
xor eax, esp
mov dword [esp + 0x4f0], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
cmp eax, 9
ja 0x4094ce
imul eax, eax, 0x58
lea ebx, [eax + esi]
lea eax, [ebx + 0xc90c]
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x409225
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
movzx ecx, byte [eax + 3]
movzx edx, byte [eax + 2]
push ecx
movzx ecx, byte [eax + 1]
push edx
movzx edx, byte [eax]
push ecx
push edx
push str._d._d._d._d
lea eax, [esp + 0x44]
push 0x40
push eax
call fcn.0047c074
add esp, 0x1c
lea edi, [esp + 0x30]
jmp 0x409247
lea edi, [ebx + 0xc92c]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409230
sub eax, edx
je 0x40949c
test edi, edi
je 0x40949c
mov esi, dword [ebx + 0xc93c]
cmp esi, dword [ebx + 0xc940]
jg 0x40926d
lea ecx, [esp + 0x78]
push ecx
push esi
call fcn.00409500
test eax, eax
jg 0x4092a1
inc esi
cmp esi, dword [ebx + 0xc940]
jle 0x409255
cmp dword [ebp + 0x10], 1
jne 0x409285
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0x4cbdec
call fcn.0045c07f
mov eax, 0xfffffffc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4f0]
xor ecx, esp
call fcn.0047bc57
mov esp, ebp
pop ebp
ret 0xc
lea edx, [esp + 0x78]
push edx
call fcn.0047c77c
add esp, 4
test eax, eax
je 0x40926d
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004096b0
mov edi, eax
test edi, edi
je 0x40926d
test esi, esi
je 0x40926d
push 0x44
xor ebx, ebx
lea edx, [esp + 0x34]
push ebx
push edx
call fcn.0047e5b0
xor eax, eax
add esp, 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], 0x44
mov dword [esp + 0x34], ebx
mov dword [esp + 0x64], ebx
mov word [esp + 0x62], ax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x5c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x28]
push eax
push edi
push esi
mov esi, dword [esp + 0x2c]
push ecx
push esi
push str.__sClient.exe___s__d__k__d__t__d
lea edx, [esp + 0x110]
push 0x400
push edx
call fcn.0047c074
add esp, 0x20
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
push ecx
push esi
push ebx
push 0x4000004
push ebx
push ebx
push ebx
lea edx, [esp + 0x118]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40943d
push 0x400
lea eax, [esp + 0xfc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0xf8]
push 0x5c
push ecx
call fcn.0047c6b0
add esp, 8
cmp eax, ebx
je 0x4093c4
push 0x4cbb14
lea edx, [esp + 0xfc]
push 0x400
push edx
mov byte [eax], bl
call fcn.0047bf1b
mov eax, dword [esp + 0x18]
add esp, 0xc
add eax, 0x12323
push eax
lea ecx, [esp + 0xfc]
push 0x400
push ecx
call fcn.0047bf1b
add esp, 0xc
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
add edx, 0x12323
push edx
push eax
call fcn.00408250
add esp, 8
test eax, eax
jne 0x4093f4
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xf8]
push ecx
call fcn.004080d0
add esp, 4
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x409421
mov edx, dword [esp + 0x18]
mov dword [eax], edx
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4f0]
xor ecx, esp
call fcn.0047bc57
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0x10], 1
jne 0x409480
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push ebx
cmp eax, 3
jne 0x409476
push 0x4cbd08
call fcn.00463c48
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4f0]
xor ecx, esp
call fcn.0047bc57
mov esp, ebp
pop ebp
ret 0xc
push 0x4cbddc
call fcn.00463c48
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4f0]
xor ecx, esp
call fcn.0047bc57
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0x10], 1
jne 0x4094b2
push 0
push 0
push 0x4cbd94
mov ecx, esi
call fcn.0045c07f
mov eax, 0xfffffffd
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4f0]
xor ecx, esp
call fcn.0047bc57
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0x10], 1
jne 0x4094e4
push 0
push 0
push 0x4cbda8
mov ecx, esi
call fcn.0045c07f
mov ecx, dword [esp + 0x4fc]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 0xfffffffb
call fcn.0047bc57
mov esp, ebp
pop ebp
ret 0xc