Function at 0x405724
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push 0x2c
call fcn.00427919
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
add ebx, 0x14
push ebx
push 0x88
call fcn.00427919
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x432a13
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x20
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0x28
call fcn.00427919
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
add ebx, 0x20
push ebx
push 0x108
call fcn.00427919
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4329cd
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x108
call fcn.00427919
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4329cd
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 8], 4
jne 0x405823
push 1
push 2
call fcn.004064e5
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x406465
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 0x9c
mov dword [ebp - 0x20], esp
mov eax, dword [ebp - 4]
push eax
push 0x9c
call fcn.00427919
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x80
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
xor eax, eax
call dword [0x433a17]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4058ef
push 0x93
push 0x4014fa1
push 6
call fcn.0042792b
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.00427ed0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x405958
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x405956
imul eax, dword [edi]
jmp 0x40594b
mov ecx, eax
cmp ecx, 0x80
jle 0x405965
mov ecx, 0x80
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x80
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
call fcn.0042791f
add esp, 4
pop eax
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 0
push 1
push 0x14
xor eax, eax
call dword [0x4339fb]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4059f2
push 0xad
push 0x4014fa1
push 6
call fcn.0042792b
add esp, 0xc
mov dword [ebp - 0x20], esp
push dword [ebp + 8]
push 0
push 0x400
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x405a28
push 0xf1
push 0x4014fa1
push 6
call fcn.0042792b
add esp, 0xc
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x1bc
call fcn.00428e40
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x405a60
push ebx
call fcn.0042791f
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
cmp dword [ebx], 5
jge 0x405b3a
mov dword [ebp - 0x20], esp
push 0x400
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x405a8b
add eax, 8
push eax
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x405aba
push 0x199
push 0x4014fa1
push 6
call fcn.0042792b
add esp, 0xc
push 0
push 0
push 0
push 0x80000301
push 0
push 0xa
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x405adf
mov eax, 0x432422
push eax
push 3
mov ebx, 0x19c
call fcn.00428110
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
cmp ecx, reloc.WS2_32.dll_connect
je 0x405b1d
push 0x1e5
push 0x4014fa1
push 5
call fcn.0042792b
add esp, 0xc
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x405b31
push ebx
call fcn.0042791f
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x405d14
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx], 6
jg 0x405c27
mov dword [ebp - 0x20], esp
push 0x400
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x405b61
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x405b8b
push 0x259
push 0x4014fa1
push 6
call fcn.0042792b
add esp, 0xc
push 0
push 0
push 0
push 0x80000301
push 0
push 0xa
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x405bb0
mov eax, 0x432422
push eax
push 3
mov ebx, 0x19c
call fcn.00428110
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
cmp ecx, reloc.WS2_32.dll_connect
je 0x405bee
push 0x2ae
push 0x4014fa1
push 5
call fcn.0042792b
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
call fcn.00406869
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x405c0a
push ebx
call fcn.0042791f
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x405c1e
push ebx
call fcn.0042791f
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x405d14
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
cmp dword [ebx], 6
jle 0x405d14
mov dword [ebp - 0x20], esp
push 0x400
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x405c4e
add eax, 8
push eax
push 0
push dword [ebp - 8]
xor eax, eax
call dword [0x433a1b]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x405c7d
push 0x317
push 0x4014fa1
push 6
call fcn.0042792b
add esp, 0xc
push 0
push 0
push 0
push 0x80000301
push 0
push 0xa
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x405ca2
mov eax, 0x432422
push eax
push 3
mov ebx, 0x19c
call fcn.00428110
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
cmp ecx, reloc.WS2_32.dll_connect
je 0x405ce0
push 0x375
push 0x4014fa1
push 5
call fcn.0042792b
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
call fcn.00406869
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x405cfc
push ebx
call fcn.0042791f
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x405d10
push ebx
call fcn.0042791f
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x405d40
push 0x3ae
push 0x4014fa1
push 6
call fcn.0042792b
add esp, 0xc
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x432a09
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x405d71
mov eax, 0x4328ae
push eax
push 4
mov ebx, 0x148
call fcn.004282b0
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x4061d9
mov dword [ebp - 0x20], esp
push dword [ebp + 8]
push 8
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x405dc2
push 0x44e
push 0x4014fa1
push 6
call fcn.0042792b
add esp, 0xc
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 0x400
mov dword [ebp - 0x20], esp
mov eax, dword [ebp - 0x14]
push eax
push 0x220
call fcn.00427919
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_Module32First]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x405e97
push 0x49e
push 0x4014fa1
push 6
call fcn.0042792b
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.00427ed0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x405f1e
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x405f1c
imul eax, dword [edi]
jmp 0x405f11
mov ecx, eax
cmp ecx, 0x100
jle 0x405f2b
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x100
push ebx
push edi
push 1
mov eax, 2
call fcn.00427ed0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x405f69
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x405f67
imul eax, dword [edi]
jmp 0x405f5c
mov ecx, eax
cmp ecx, 0x100
jle 0x405f76
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x100
call fcn.0042791f
add esp, 4
pop eax
mov ebx, dword [ebp - 0x14]
add ebx, 0x24
mov dword [ebp - 0x20], ebx
push 0xa0000101
push 0
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push 1
mov ebx, 0x198
call fcn.00428c50
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x405fcc
push ebx
call fcn.0042791f
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_connect
push 0
push 0x432a09
push 1
mov ebx, 0x198
call fcn.00428c50
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40600a
mov eax, 0x432422
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40601e
mov eax, 0x432422
push eax
push 3
mov ebx, 0x1ac
call fcn.004294d0
add esp, 0x28
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x406044
push ebx
call fcn.0042791f
add esp, 4
cmp dword [ebp - 0x24], 0xffffffff
je 0x4061ad
push 0
push 0
push 0
push 0x80000301
push 0
push 0xa
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x406073
mov eax, 0x432422
push eax
push 3
mov ebx, 0x19c
call fcn.00428110
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
cmp ecx, reloc.WS2_32.dll_connect
je 0x4060b1
push 0x57a
push 0x4014fa1
push 5
call fcn.0042792b
add esp, 0xc
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4060c5
push ebx
call fcn.0042791f
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4060e8
mov eax, 0x4328ae
push eax
push 2
mov ebx, 0x134
call fcn.00428710
add esp, 0x1c
mov dword [ebp - 0x20], eax
push str.___
push dword [ebp - 0x20]
call fcn.00401193
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40612c
push ebx
call fcn.0042791f
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x4061ad
push reloc.WS2_32.dll_bind
push 0
push 0
push 0x80000301
push 0
push 1
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4328ae
push reloc.WS2_32.dll_connect
push 0
push str.___
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40617f
mov eax, 0x4328ae
push eax
push 6
mov ebx, 0x180
call fcn.004284b0
add esp, 0x4c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4061a9
push ebx
call fcn.0042791f
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4061d9
push 0x656
push 0x4014fa1
push 6
call fcn.0042792b
add esp, 0xc
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x432a09
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40620a
mov eax, 0x4328ae
push eax
push 4
mov ebx, 0x148
call fcn.004282b0
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x406444
push dword [ebp + 8]
call fcn.00404840
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x406249
push ebx
call fcn.0042791f
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_bind
push 0
push 0
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_connect
push 0
push 0x432a11
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x406284
mov eax, 0x4328ae
push eax
push 4
mov ebx, 0x148
call fcn.004282b0
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x406353
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4328b9
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4062d5
mov eax, 0x4328ae
push eax
push 4
mov ebx, 0x148
call fcn.004282b0
add esp, 0x34
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [0x4328b1]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.00401164
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x406320
mov eax, 0x4328ae
push eax
push 2
mov ebx, 0x134
call fcn.00428710
add esp, 0x1c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40634a
push ebx
call fcn.0042791f
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
jmp 0x4063c2
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [0x432977]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401164
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x406394
mov eax, 0x4328ae
push eax
push 3
mov ebx, 0x13c
call fcn.004283e0
add esp, 0x28
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4063be
push ebx
call fcn.0042791f
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x432a09
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4063f3
mov eax, 0x4328ae
push eax
push 4
mov ebx, 0x148
call fcn.004282b0
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x406444
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40642f
push eax
mov ebx, eax
call fcn.00401269
inc eax
push eax
call fcn.00427919
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x406440
push ebx
call fcn.0042791f
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x406460
push eax
mov ebx, eax
call fcn.00401269
inc eax
push eax
call fcn.00427919
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x406465
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0x14
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0042791f
add esp, 4
pop ebx
call fcn.0042791f
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x406492
push ebx
call fcn.0042791f
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4064a2
push ebx
call fcn.0042791f
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
add ebx, 0x20
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0042791f
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0042791f
add esp, 4
pop ebx
call fcn.0042791f
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4064de
push ebx
call fcn.0042791f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4