Function at 0x406ae0
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 0x4c9a2e
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1228
call fcn.0049e5e0
mov eax, dword [0x4f2480]
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.00406a30
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1190]
call fcn.00406a30
mov byte [ebp - 4], 1
lea eax, [ebp - 0x11c0]
cmp dword [ebp - 0x11ac], 0xf
cmova eax, dword [ebp - 0x11c0]
push eax
call fcn.00480f60
mov edi, eax
add esp, 4
test edi, edi
je 0x4072af
push edi
call fcn.00480e50
add esp, 4
test eax, eax
jne 0x4072a6
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.00480d90
add esp, 0x20
test eax, eax
jne 0x4072a6
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 0x406be1
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x1148]
call fcn.0041dad0
mov edx, dword [ebp - 0x1234]
lea ecx, [ebp - 0x1178]
mov byte [ebp - 4], 2
call fcn.00406a30
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 0x406c3e
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0xf
jbe 0x406c36
mov eax, dword [ecx]
mov word [eax + edx], 0x5c
jmp 0x406c5b
push 1
push 0x4e79a8
mov byte [ebp - 0x1238], 0
push dword [ebp - 0x1238]
push 1
call fcn.0041d970
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.0041ef00
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x114c]
cmp ecx, 0xf
jbe 0x406ce4
mov edx, dword [ebp - 0x1160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406cda
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407365
push ecx
push edx
call fcn.0049d99f
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1164]
cmp ecx, 0xf
jbe 0x406d22
mov edx, dword [ebp - 0x1178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406d18
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407365
push ecx
push edx
call fcn.0049d99f
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 0x406d7b
mov edx, dword [ebp - 0x1148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406d71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407365
push ecx
push edx
call fcn.0049d99f
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 0x406da2
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x1148]
call fcn.0041dad0
lea edx, [ebp - 0x1148]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x11a8]
call fcn.00405d80
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 0x40736a
cmp dword [eax + 0x14], 7
mov ecx, eax
jbe 0x406dfc
mov ecx, dword [eax]
push 1
push 0x4e79ac
push edx
push ecx
push ecx
push dword [ebp - 0x1230]
lea ecx, [ebp - 0x1160]
call fcn.0041ec90
push esi
lea eax, [ebp - 0x1160]
mov byte [ebp - 4], 0xb
push eax
push dword [ebp - 0x1230]
lea ecx, [ebp - 0x1130]
call fcn.0041eae0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x114c]
cmp ecx, 7
jbe 0x406e78
mov edx, dword [ebp - 0x1160]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406e6e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407365
push ecx
push edx
call fcn.0049d99f
add esp, 8
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x1194]
cmp ecx, 7
jbe 0x406ebc
mov edx, dword [ebp - 0x11a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406eb2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407365
push ecx
push edx
call fcn.0049d99f
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 0x406f17
mov edx, dword [ebp - 0x1148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406f0d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407365
push ecx
push edx
call fcn.0049d99f
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 0x406f60
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x1178]
call fcn.0041dad0
lea edx, [ebp - 0x1178]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1160]
call fcn.00405d80
mov ecx, dword [ebp - 0x1230]
push eax
call fcn.00417d30
mov ecx, dword [ebp - 0x114c]
cmp ecx, 7
jbe 0x406fdd
mov edx, dword [ebp - 0x1160]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406fd3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407365
push ecx
push edx
call fcn.0049d99f
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 0x407038
mov edx, dword [ebp - 0x1178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40702e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407365
push ecx
push edx
call fcn.0049d99f
add esp, 8
cmp dword [ebp - 0x117c], 0xf
lea eax, [ebp - 0x1190]
cmova eax, dword [ebp - 0x1190]
push eax
push edi
call fcn.004813c0
add esp, 8
test eax, eax
jne 0x407204
cmp dword [ebp - 0x111c], 7
lea eax, [ebp - 0x1130]
push 0x4e79b0
cmova eax, dword [ebp - 0x1130]
push eax
call fcn.004ad050
mov esi, eax
add esp, 8
test esi, esi
jne 0x4070dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4071fb
cmp dword [ebp - 0x111c], 7
lea eax, [ebp - 0x1130]
cmova eax, dword [ebp - 0x1130]
push eax
call fcn.004ac965
cmp dword [ebp - 0x111c], 7
lea eax, [ebp - 0x1130]
push 0x4e79b0
cmova eax, dword [ebp - 0x1130]
push eax
call fcn.004ad050
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4071fb
push 0x1000
lea eax, [ebp - 0x1118]
push eax
push edi
call fcn.004819f0
add esp, 0xc
test eax, eax
jle 0x40711f
push esi
push 1
push eax
lea eax, [ebp - 0x1118]
push eax
call fcn.004ad3c6
push 0x1000
lea eax, [ebp - 0x1118]
push eax
push edi
call fcn.004819f0
add esp, 0x1c
test eax, eax
jg 0x4070f6
push esi
call fcn.004ad525
push edi
call fcn.00480d00
add esp, 8
test eax, eax
jne 0x407204
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x111c]
cmp ecx, 7
jbe 0x40717a
mov edx, dword [ebp - 0x1130]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407170
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407365
push ecx
push edx
call fcn.0049d99f
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 0x4071d5
mov edx, dword [ebp - 0x11d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4071cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407365
push ecx
push edx
call fcn.0049d99f
add esp, 8
push edi
call fcn.00480eb0
add esp, 4
test eax, eax
je 0x406b96
push edi
call fcn.00480cc0
add esp, 4
mov byte [ebp - 0x1229], 1
jmp 0x4072b6
push edi
call fcn.00480d00
add esp, 4
push edi
call fcn.00480cc0
mov ecx, dword [ebp - 0x111c]
add esp, 4
cmp ecx, 7
jbe 0x40724d
mov edx, dword [ebp - 0x1130]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407243
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407365
push ecx
push edx
call fcn.0049d99f
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 0x4072af
mov edx, dword [ebp - 0x11d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40729a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407365
push ecx
push edx
call fcn.0049d99f
add esp, 8
jmp 0x4072af
push edi
call fcn.00480cc0
add esp, 4
mov byte [ebp - 0x1229], 0
mov ecx, dword [ebp - 0x117c]
cmp ecx, 0xf
jbe 0x4072f0
mov edx, dword [ebp - 0x1190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4072e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40736f
push ecx
push edx
call fcn.0049d99f
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 0x407341
mov edx, dword [ebp - 0x11c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407337
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40736f
push ecx
push edx
call fcn.0049d99f
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.0049d991
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004a2f76
call fcn.00401350
call fcn.004a2f76
int3