Function at 0x406a60
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c971e
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1228
call fcn.0049df10
mov eax, dword [0x4f3480]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, dword [ebx + 8]
mov edx, ecx
mov dword [ebp - 0x1234], eax
lea ecx, [ebp - 0x11c0]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x1230], eax
call fcn.004069b0
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1190]
call fcn.004069b0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x11c0]
cmp dword [ebp - 0x11ac], 0xf
cmova eax, dword [ebp - 0x11c0]
push eax
call fcn.00480af0
mov edi, eax
add esp, 4
test edi, edi
je 0x40722f
push edi
call fcn.004809e0
add esp, 4
test eax, eax
jne 0x407226
push 0
push 0
push 0
push 0
push 0x100
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x1228]
push eax
push edi
call fcn.00480920
add esp, 0x20
test eax, eax
jne 0x407226
xorps xmm0, xmm0
mov dword [ebp - 0x1138], eax
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x1134], eax
movups xmmword [ebp - 0x1148], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406b61
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x1148]
call fcn.0041d980
mov edx, dword [ebp - 0x1234]
lea ecx, [ebp - 0x1178]
mov byte [ebp - 4], 2
call fcn.004069b0
mov ecx, eax
mov byte [ebp - 4], 3
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x406bbe
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0xf
jbe 0x406bb6
mov eax, dword [ecx]
mov word [eax + edx], 0x5c
jmp 0x406bdb
push 1
push 0x4e79f8
mov byte [ebp - 0x1238], 0
push dword [ebp - 0x1238]
push 1
call fcn.0041d820
mov ecx, eax
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x1160], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x1150], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
lea eax, [ebp - 0x1148]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x1160]
push eax
push dword [ebp - 0x1230]
lea ecx, [ebp - 0x11d8]
call fcn.0041ed30
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x114c]
cmp ecx, 0xf
jbe 0x406c64
mov edx, dword [ebp - 0x1160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406c5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072e5
push ecx
push edx
call fcn.0049d2cb
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1164]
cmp ecx, 0xf
jbe 0x406ca2
mov edx, dword [ebp - 0x1178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406c98
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072e5
push ecx
push edx
call fcn.0049d2cb
add esp, 8
mov dword [ebp - 0x1168], 0
mov dword [ebp - 0x1164], 0xf
mov byte [ebp - 0x1178], 0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1134]
cmp ecx, 0xf
jbe 0x406cfb
mov edx, dword [ebp - 0x1148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406cf1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072e5
push ecx
push edx
call fcn.0049d2cb
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x1138], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x1134], 0
movups xmmword [ebp - 0x1148], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406d22
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x1148]
call fcn.0041d980
lea edx, [ebp - 0x1148]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x11a8]
call fcn.00405d10
mov esi, eax
mov eax, dword [ebp - 0x1234]
mov ecx, accept
mov byte [ebp - 4], 0xa
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 1
jb 0x4072ea
cmp dword [eax + 0x14], 7
mov ecx, eax
jbe 0x406d7c
mov ecx, dword [eax]
push 1
push 0x4e79fc
push edx
push ecx
push ecx
push dword [ebp - 0x1230]
lea ecx, [ebp - 0x1160]
call fcn.0041eb00
push esi
lea eax, [ebp - 0x1160]
mov byte [ebp - 4], 0xb
push eax
push dword [ebp - 0x1230]
lea ecx, [ebp - 0x1130]
call fcn.0041e950
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x114c]
cmp ecx, 7
jbe 0x406df8
mov edx, dword [ebp - 0x1160]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406dee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072e5
push ecx
push edx
call fcn.0049d2cb
add esp, 8
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x1194]
cmp ecx, 7
jbe 0x406e3c
mov edx, dword [ebp - 0x11a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406e32
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072e5
push ecx
push edx
call fcn.0049d2cb
add esp, 8
xor eax, eax
mov dword [ebp - 0x1198], 0
mov dword [ebp - 0x1194], 7
mov word [ebp - 0x11a8], ax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1134]
cmp ecx, 0xf
jbe 0x406e97
mov edx, dword [ebp - 0x1148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406e8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072e5
push ecx
push edx
call fcn.0049d2cb
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x1138], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x1134], 0xf
mov byte [ebp - 0x1148], 0
lea edx, [ecx + 1]
movups xmmword [ebp - 0x1178], xmm0
mov dword [ebp - 0x1168], 0
mov dword [ebp - 0x1164], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406ee0
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x1178]
call fcn.0041d980
lea edx, [ebp - 0x1178]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1160]
call fcn.00405d10
mov ecx, dword [ebp - 0x1230]
push eax
call fcn.00417bc0
mov ecx, dword [ebp - 0x114c]
cmp ecx, 7
jbe 0x406f5d
mov edx, dword [ebp - 0x1160]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406f53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072e5
push ecx
push edx
call fcn.0049d2cb
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1164]
mov dword [ebp - 0x1150], 0
mov dword [ebp - 0x114c], 7
mov word [ebp - 0x1160], ax
cmp ecx, 0xf
jbe 0x406fb8
mov edx, dword [ebp - 0x1178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406fae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072e5
push ecx
push edx
call fcn.0049d2cb
add esp, 8
cmp dword [ebp - 0x117c], 0xf
lea eax, [ebp - 0x1190]
cmova eax, dword [ebp - 0x1190]
push eax
push edi
call fcn.00480f50
add esp, 8
test eax, eax
jne 0x407184
cmp dword [ebp - 0x111c], 7
lea eax, [ebp - 0x1130]
push 0x4e7a00
cmova eax, dword [ebp - 0x1130]
push eax
call fcn.004acb3b
mov esi, eax
add esp, 8
test esi, esi
jne 0x40705d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40717b
cmp dword [ebp - 0x111c], 7
lea eax, [ebp - 0x1130]
cmova eax, dword [ebp - 0x1130]
push eax
call fcn.004ac450
cmp dword [ebp - 0x111c], 7
lea eax, [ebp - 0x1130]
push 0x4e7a00
cmova eax, dword [ebp - 0x1130]
push eax
call fcn.004acb3b
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40717b
push 0x1000
lea eax, [ebp - 0x1118]
push eax
push edi
call fcn.00481580
add esp, 0xc
test eax, eax
jle 0x40709f
push esi
push 1
push eax
lea eax, [ebp - 0x1118]
push eax
call fcn.004aceae
push 0x1000
lea eax, [ebp - 0x1118]
push eax
push edi
call fcn.00481580
add esp, 0x1c
test eax, eax
jg 0x407076
push esi
call fcn.004ad00d
push edi
call fcn.00480890
add esp, 8
test eax, eax
jne 0x407184
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x111c]
cmp ecx, 7
jbe 0x4070fa
mov edx, dword [ebp - 0x1130]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4070f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072e5
push ecx
push edx
call fcn.0049d2cb
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x11c4]
mov dword [ebp - 0x1120], 0
mov dword [ebp - 0x111c], 7
mov word [ebp - 0x1130], ax
cmp ecx, 0xf
jbe 0x407155
mov edx, dword [ebp - 0x11d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40714b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072e5
push ecx
push edx
call fcn.0049d2cb
add esp, 8
push edi
call fcn.00480a40
add esp, 4
test eax, eax
je 0x406b16
push edi
call fcn.00480850
add esp, 4
mov byte [ebp - 0x1229], 1
jmp 0x407236
push edi
call fcn.00480890
add esp, 4
push edi
call fcn.00480850
mov ecx, dword [ebp - 0x111c]
add esp, 4
cmp ecx, 7
jbe 0x4071cd
mov edx, dword [ebp - 0x1130]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4071c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072e5
push ecx
push edx
call fcn.0049d2cb
add esp, 8
mov ecx, dword [ebp - 0x11c4]
xor eax, eax
mov dword [ebp - 0x1120], 0
mov dword [ebp - 0x111c], 7
mov word [ebp - 0x1130], ax
cmp ecx, 0xf
jbe 0x40722f
mov edx, dword [ebp - 0x11d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40721a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072e5
push ecx
push edx
call fcn.0049d2cb
add esp, 8
jmp 0x40722f
push edi
call fcn.00480850
add esp, 4
mov byte [ebp - 0x1229], 0
mov ecx, dword [ebp - 0x117c]
cmp ecx, 0xf
jbe 0x407270
mov edx, dword [ebp - 0x1190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407266
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072ef
push ecx
push edx
call fcn.0049d2cb
add esp, 8
mov ecx, dword [ebp - 0x11ac]
mov dword [ebp - 0x1180], 0
mov dword [ebp - 0x117c], 0xf
mov byte [ebp - 0x1190], 0
cmp ecx, 0xf
jbe 0x4072c1
mov edx, dword [ebp - 0x11c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4072b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072ef
push ecx
push edx
call fcn.0049d2cb
add esp, 8
mov al, byte [ebp - 0x1229]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049d2bd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004a2926
call fcn.00401350
call fcn.004a2926
int3