Function at 0x405df0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
jmp 0x405e35
cmp dword [0x63ee87], 0
jne 0x405f23
push 0xa0000101
push 0
push 0x52cdfa
push 1
mov ebx, 0x168
call fcn.0042a9d0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0xa0000101
push 0
push 0x52ce1e
push 1
mov ebx, 0x168
call fcn.0042a9d0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x405e9d
mov eax, 0x52c8fc
push eax
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x405ebd
mov eax, 0x52c8fc
push eax
push 4
mov ebx, 0x300
call fcn.0042a6b0
add esp, 0x34
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x405ee0
push ebx
call fcn.00429d3f
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x405ef0
push ebx
call fcn.00429d3f
add esp, 4
mov dword [ebp - 0x1c], esp
push 0
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x405f23
push 0x1b0
push 0x4088061
push 6
call fcn.00429d45
add esp, 0xc
push dword [0x63ee7b]
push 0x63ee77
push 0x63ee8b
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x405f54
mov eax, 0x52c93d
jmp 0x406415
cmp dword [ebp + 0xc], 1
jne 0x405fc5
mov eax, 0x52ce2a
test eax, eax
je 0x405f7a
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00429d33
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 0x405f8b
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x405fab
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00429d33
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x405fbc
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x406019
mov eax, 0x52ce38
test eax, eax
je 0x405fe1
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00429d33
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 0x405ff2
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.0040647d
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406015
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov dword [ebp - 8], eax
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40602c
mov eax, 0x52c93d
push eax
push 1
mov ebx, 0x194
call fcn.0042ba00
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.0042b330
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 8]
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 3
call fcn.004049b3
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x406085
push ebx
call fcn.00429d3f
add esp, 4
lea eax, [ebp - 0x24]
push eax
push 0x63ee8b
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4060ab
push ebx
call fcn.00429d3f
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x40637d
push 1
lea eax, [ebp - 0x10]
push eax
push 1
push 0xa
push 0x63ee8b
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4060e8
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push htons
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4060ff
mov eax, 0x52c93d
push eax
push 1
mov ebx, 0x194
call fcn.0042ba00
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xa
jne 0x40637d
push 0x80000301
push 0
push 7
push 0x80000301
push 0
push 3
push htons
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40614a
mov eax, 0x52c93d
push eax
push 3
mov ebx, 0x19c
call fcn.0042bb10
add esp, 0x28
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
cmp ecx, 0x80000101
jne 0x40617e
and eax, 0xff
jmp 0x4061d3
cmp ecx, 0x80000201
jne 0x406189
cwde
jmp 0x4061d3
cmp ecx, 0x80000301
je 0x4061d3
cmp ecx, 0x80000401
je 0x4061d3
mov dword [ebp - 0x2c], eax
cmp ecx, 0x80000501
je 0x4061c3
cmp ecx, 0x80000601
je 0x4061c8
push 0x4bf
push 0x4088061
push 2
call fcn.00429d45
add esp, 0xc
fld dword [ebp - 0x2c]
jmp 0x4061ce
mov dword [ebp - 0x28], edx
fld qword [ebp - 0x2c]
call fcn.0040420b
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 6
push htons
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4061f5
mov eax, 0x52c93d
push eax
push 2
mov ebx, 0x1a0
call fcn.0042b7a0
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40621f
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, 0x52c93d
test eax, eax
je 0x40623f
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00429d33
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x406250
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
push 0x200
push 0x63ee8b
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x406287
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x10], 0
jne 0x40629a
jmp 0x4062fd
push dword [ebp - 0x18]
push dword [ebp - 0xc]
mov ecx, 2
call fcn.004049b3
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4062c4
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push htons
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4062db
mov eax, 0x52c93d
push eax
push 1
mov ebx, 0x194
call fcn.0042ba00
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x24], eax
jl 0x406254
push htons
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x406310
mov eax, 0x52c93d
push eax
push 1
mov ebx, 0x194
call fcn.0042ba00
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x20], eax
jle 0x40637d
push 0x80000301
push 0
push dword [ebp - 0x14]
push htons
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40634f
mov eax, 0x52c93d
push eax
push 2
mov ebx, 0x1a0
call fcn.0042b7a0
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x406379
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x63ee8b
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov eax, 0x52ce2a
xor ecx, ecx
test eax, eax
je 0x40639a
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 4]
xor ebx, ebx
test eax, eax
je 0x4063ab
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4063c2
dec eax
test ecx, ecx
je 0x4063c2
call fcn.00405d44
add esp, 0xc
test eax, eax
jne 0x4063f1
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4063e7
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00429d33
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x406415
lea eax, [ebp - 0xc]
push eax
call fcn.00406f9d
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
jmp 0x406415
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406426
push ebx
call fcn.00429d3f
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406436
push ebx
call fcn.00429d3f
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x406446
push ebx
call fcn.00429d3f
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x406456
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc