Function at 0x406e90
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 0x4cbffe
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1228
call fcn.0049fde0
mov eax, dword [0x4f6440]
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.004045d0
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1190]
call fcn.004045d0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x11c0]
cmp dword [ebp - 0x11ac], 0xf
cmova eax, dword [ebp - 0x11c0]
push eax
call fcn.00482860
mov edi, eax
add esp, 4
test edi, edi
je 0x40765f
push edi
call fcn.00482750
add esp, 4
test eax, eax
jne 0x407656
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.00482690
add esp, 0x20
test eax, eax
jne 0x407656
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 0x406f91
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x1148]
call fcn.0041f3b0
mov edx, dword [ebp - 0x1234]
lea ecx, [ebp - 0x1178]
mov byte [ebp - 4], 2
call fcn.004045d0
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 0x406fee
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0xf
jbe 0x406fe6
mov eax, dword [ecx]
mov word [eax + edx], 0x5c
jmp 0x40700b
push 1
push 0x4ea944
mov byte [ebp - 0x1238], 0
push dword [ebp - 0x1238]
push 1
call fcn.0041f170
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.004207e0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x114c]
cmp ecx, 0xf
jbe 0x407094
mov edx, dword [ebp - 0x1160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40708a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407715
push ecx
push edx
call fcn.0049f19c
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1164]
cmp ecx, 0xf
jbe 0x4070d2
mov edx, dword [ebp - 0x1178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4070c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407715
push ecx
push edx
call fcn.0049f19c
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 0x40712b
mov edx, dword [ebp - 0x1148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407121
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407715
push ecx
push edx
call fcn.0049f19c
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 0x407152
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x1148]
call fcn.0041f3b0
lea edx, [ebp - 0x1148]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x11a8]
call fcn.00404680
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 0x40771a
cmp dword [eax + 0x14], 7
mov ecx, eax
jbe 0x4071ac
mov ecx, dword [eax]
push 1
push 0x4ea948
push edx
push ecx
push ecx
push dword [ebp - 0x1230]
lea ecx, [ebp - 0x1160]
call fcn.00420570
push esi
lea eax, [ebp - 0x1160]
mov byte [ebp - 4], 0xb
push eax
push dword [ebp - 0x1230]
lea ecx, [ebp - 0x1130]
call fcn.004203c0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x114c]
cmp ecx, 7
jbe 0x407228
mov edx, dword [ebp - 0x1160]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40721e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407715
push ecx
push edx
call fcn.0049f19c
add esp, 8
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x1194]
cmp ecx, 7
jbe 0x40726c
mov edx, dword [ebp - 0x11a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407262
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407715
push ecx
push edx
call fcn.0049f19c
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 0x4072c7
mov edx, dword [ebp - 0x1148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4072bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407715
push ecx
push edx
call fcn.0049f19c
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 0x407310
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x1178]
call fcn.0041f3b0
lea edx, [ebp - 0x1178]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1160]
call fcn.00404680
mov ecx, dword [ebp - 0x1230]
push eax
call fcn.004193f0
mov ecx, dword [ebp - 0x114c]
cmp ecx, 7
jbe 0x40738d
mov edx, dword [ebp - 0x1160]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407383
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407715
push ecx
push edx
call fcn.0049f19c
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 0x4073e8
mov edx, dword [ebp - 0x1178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4073de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407715
push ecx
push edx
call fcn.0049f19c
add esp, 8
cmp dword [ebp - 0x117c], 0xf
lea eax, [ebp - 0x1190]
cmova eax, dword [ebp - 0x1190]
push eax
push edi
call fcn.00482cc0
add esp, 8
test eax, eax
jne 0x4075b4
cmp dword [ebp - 0x111c], 7
lea eax, [ebp - 0x1130]
push 0x4ea94c
cmova eax, dword [ebp - 0x1130]
push eax
call fcn.004af3ef
mov esi, eax
add esp, 8
test esi, esi
jne 0x40748d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4075ab
cmp dword [ebp - 0x111c], 7
lea eax, [ebp - 0x1130]
cmova eax, dword [ebp - 0x1130]
push eax
call fcn.004aed0f
cmp dword [ebp - 0x111c], 7
lea eax, [ebp - 0x1130]
push 0x4ea94c
cmova eax, dword [ebp - 0x1130]
push eax
call fcn.004af3ef
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4075ab
push 0x1000
lea eax, [ebp - 0x1118]
push eax
push edi
call fcn.004832f0
add esp, 0xc
test eax, eax
jle 0x4074cf
push esi
push 1
push eax
lea eax, [ebp - 0x1118]
push eax
call fcn.004af762
push 0x1000
lea eax, [ebp - 0x1118]
push eax
push edi
call fcn.004832f0
add esp, 0x1c
test eax, eax
jg 0x4074a6
push esi
call fcn.004af8c1
push edi
call fcn.00482600
add esp, 8
test eax, eax
jne 0x4075b4
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x111c]
cmp ecx, 7
jbe 0x40752a
mov edx, dword [ebp - 0x1130]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407520
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407715
push ecx
push edx
call fcn.0049f19c
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 0x407585
mov edx, dword [ebp - 0x11d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40757b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407715
push ecx
push edx
call fcn.0049f19c
add esp, 8
push edi
call fcn.004827b0
add esp, 4
test eax, eax
je 0x406f46
push edi
call fcn.004825c0
add esp, 4
mov byte [ebp - 0x1229], 1
jmp 0x407666
push edi
call fcn.00482600
add esp, 4
push edi
call fcn.004825c0
mov ecx, dword [ebp - 0x111c]
add esp, 4
cmp ecx, 7
jbe 0x4075fd
mov edx, dword [ebp - 0x1130]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4075f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407715
push ecx
push edx
call fcn.0049f19c
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 0x40765f
mov edx, dword [ebp - 0x11d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40764a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407715
push ecx
push edx
call fcn.0049f19c
add esp, 8
jmp 0x40765f
push edi
call fcn.004825c0
add esp, 4
mov byte [ebp - 0x1229], 0
mov ecx, dword [ebp - 0x117c]
cmp ecx, 0xf
jbe 0x4076a0
mov edx, dword [ebp - 0x1190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407696
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40771f
push ecx
push edx
call fcn.0049f19c
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 0x4076f1
mov edx, dword [ebp - 0x11c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4076e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40771f
push ecx
push edx
call fcn.0049f19c
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.0049f18e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004a47f6
call fcn.00401360
call fcn.004a47f6
int3