Function at 0x40a610
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 fcn.0042ced0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1f0
mov eax, dword [0x43d054]
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, dword [ebx + 0x10]
push 0
mov dword [ebp - 0x1c], 0
call fcn.00419826
add esp, 4
push eax
call fcn.00418dca
mov ecx, esi
mov dword [ebp - 0x40], 0
add esp, 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a688
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.004032b0
push 0xa8
lea eax, [ebp - 0x100]
mov dword [ebp - 0x28], 0
push 0
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.00411ab0
add esp, 8
mov dword [ebp - 0x100], 0x439ce8
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x98], 0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x74], 0
push eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0xa0], 0x439ca4
mov dword [ebp - 0xa4], 0x48
movlpd qword [ebp - 0xf8], xmm0
call fcn.0040d3b0
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x100], 0x439cfc
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x104], eax
lea ecx, [ebp - 0xf0]
call fcn.0040d2e0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov esi, dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
mov eax, 2
mov dword [ebp - 0xf0], 0x439c3c
cmp esi, 0x7fffffff
ja 0x40ae03
test esi, esi
je 0x40a7f1
cmp esi, 0x1000
jb 0x40a7b1
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x40ae08
push eax
call fcn.0040fd80
add esp, 4
test eax, eax
je 0x40ae73
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x40a7bc
push esi
call fcn.0040fd80
add esp, 4
mov edi, eax
push esi
push dword [ebp - 0x1c]
push edi
call fcn.00411470
mov eax, dword [ebp - 0xe4]
lea ecx, [esi + edi]
mov dword [ebp - 0xb8], ecx
add esp, 0xc
mov dword [eax], edi
mov eax, dword [ebp - 0xd4]
mov dword [eax], edi
mov eax, dword [ebp - 0xc4]
mov dword [eax], esi
mov eax, 3
jmp 0x40a7fb
mov dword [ebp - 0xb8], 0
push ecx
lea edx, [ebp - 0x58]
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
call fcn.0040e6c0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x40a874
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x58]
push ecx
cmp eax, dword [ebp - 0x20]
je 0x40a84d
mov ecx, eax
call fcn.0040cb40
add dword [ebp - 0x24], 0x18
jmp 0x40a856
push eax
lea ecx, [ebp - 0x28]
call fcn.0040dfe0
push ecx
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x100]
call fcn.0040e6c0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x40a834
mov ecx, dword [ebp - 0x24]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x28]
mov edi, dword fs:[0x2c]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x40a9df
mov ecx, dword [edi]
mov eax, dword [0x450f24]
mov dword [ebp - 0x1c], 0x7b7d6160
mov word [ebp - 0x18], 0x2e6c
cmp eax, dword [ecx + 4]
jle 0x40a8f6
push 0x450f24
call fcn.0040fef9
add esp, 4
cmp dword [0x450f24], 0xffffffff
jne 0x40a8f6
mov eax, dword [ebp - 0x1c]
mov dword [0x450d30], eax
mov ax, word [ebp - 0x18]
push 0x42d9a0
mov word [0x450d34], ax
call fcn.0041020b
add esp, 4
push 0x450f24
call fcn.0040feaf
add esp, 4
mov al, byte [0x450d35]
test al, al
je 0x40a929
xor byte [0x450d30], 0x2e
xor byte [0x450d31], 0x2e
xor byte [0x450d32], 0x2e
xor byte [0x450d33], 0x2e
xor byte [0x450d34], 0x2e
xor al, 0x2e
mov byte [0x450d35], al
mov ecx, 0x450d30
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 0xf
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a950
sub ecx, edx
push ecx
push 0x450d30
lea ecx, [ebp - 0x1cc]
call fcn.004032b0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x40a995
movups xmm0, xmmword [ebp - 0x1cc]
mov dword [eax], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1bc]
movq qword [eax + 0x10], xmm0
add dword [ebp - 0x24], 0x18
jmp 0x40a9df
lea ecx, [ebp - 0x1cc]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040de00
mov edx, dword [ebp - 0x1b8]
cmp edx, 0x10
jb 0x40a9df
mov ecx, dword [ebp - 0x1cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a9d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ae73
push edx
push ecx
call fcn.0040fdb0
add esp, 8
mov edi, dword [edi]
mov eax, dword [0x451048]
mov dword [ebp - 0x1c], 0x2e45464d
cmp eax, dword [edi + 4]
jle 0x40aa2d
push 0x451048
call fcn.0040fef9
add esp, 4
cmp dword [0x451048], 0xffffffff
jne 0x40aa2d
mov eax, dword [ebp - 0x1c]
push 0x42d990
mov dword [0x450f4c], eax
call fcn.0041020b
add esp, 4
push 0x451048
call fcn.0040feaf
add esp, 4
mov al, byte [0x450f4f]
test al, al
je 0x40aa52
xor byte [0x450f4c], 0x2e
xor byte [0x450f4d], 0x2e
xor byte [0x450f4e], 0x2e
xor al, 0x2e
mov byte [0x450f4f], al
mov ecx, 0x450f4c
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 0xf
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40aa78
sub ecx, edx
push ecx
push 0x450f4c
lea ecx, [ebp - 0x1e4]
call fcn.004032b0
mov esi, dword [ebp - 0x28]
lea edx, [ebp - 0x1e4]
mov ecx, esi
mov dword [ebp - 0x1c], 5
call fcn.0040da10
test al, al
jne 0x40ab9e
mov eax, dword [0x450d5c]
mov dword [ebp - 0x1c], 0x45464d01
mov byte [ebp - 0x1b1], 0x2e
cmp eax, dword [edi + 4]
jle 0x40ab0f
push 0x450d5c
call fcn.0040fef9
add esp, 4
cmp dword [0x450d5c], 0xffffffff
jne 0x40ab0f
mov eax, dword [ebp - 0x1c]
mov dword [0x450df4], eax
mov al, byte [ebp - 0x1b1]
push 0x42d970
mov byte [0x450df8], al
call fcn.0041020b
add esp, 4
push 0x450d5c
call fcn.0040feaf
add esp, 4
mov al, byte [0x450df8]
test al, al
je 0x40ab3b
xor byte [0x450df4], 0x2e
xor byte [0x450df5], 0x2e
xor byte [0x450df6], 0x2e
xor byte [0x450df7], 0x2e
xor al, 0x2e
mov byte [0x450df8], al
mov ecx, 0x450df4
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 0xf
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ab61
sub ecx, edx
push ecx
push 0x450df4
lea ecx, [ebp - 0x1cc]
call fcn.004032b0
mov esi, dword [ebp - 0x28]
lea edx, [ebp - 0x1cc]
mov ecx, esi
mov dword [ebp - 0x1c], 7
call fcn.0040da10
test al, al
jne 0x40ab9e
mov byte [ebp - 0x1b1], al
jmp 0x40abab
test byte [ebp - 0x1c], 2
mov byte [ebp - 0x1b1], 1
je 0x40abe8
mov edx, dword [ebp - 0x1b8]
cmp edx, 0x10
jb 0x40abe8
mov ecx, dword [ebp - 0x1cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40abdb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ae73
push edx
push ecx
call fcn.0040fdb0
mov esi, dword [ebp - 0x28]
add esp, 8
mov edx, dword [ebp - 0x1d0]
cmp edx, 0x10
jb 0x40ac25
mov ecx, dword [ebp - 0x1e4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ac18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ae73
push edx
push ecx
call fcn.0040fdb0
mov esi, dword [ebp - 0x28]
add esp, 8
cmp byte [ebp - 0x1b1], 0
jne 0x40ae0d
mov ecx, dword [ebp - 0x24]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jb 0x40ae52
je 0x40ae57
cmp eax, 2
jne 0x40acf8
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40ac6a
mov eax, dword [esi]
cmp dword [esi + 0x10], 1
jne 0x40ac99
movzx eax, byte [eax]
cmp al, 0x72
jne 0x40ac7b
xor eax, eax
jmp 0x40ac80
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40ac99
call fcn.00418da9
cdq
mov ecx, 0xc350
idiv ecx
add edx, 0x2710
jmp 0x40acd8
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x40aca3
mov ecx, dword [esi]
cmp dword [esi + 0x10], 2
jne 0x40acf8
movzx eax, byte [ecx]
cmp al, 0x72
jne 0x40acbc
movzx eax, byte [ecx + 1]
cmp al, 0x73
jne 0x40acbc
xor eax, eax
jmp 0x40acc1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40acf8
call fcn.00418da9
cdq
mov ecx, 0xc350
idiv ecx
add edx, 0x11170
push edx
call dword [0x42e084]
mov eax, dword [ebp - 0x28]
sub esp, 0x18
add eax, 0x18
mov ecx, esp
push eax
call fcn.0040cb40
call fcn.00409900
add esp, 0x18
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x40ad2c
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ad22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ae73
push edx
push ecx
call fcn.0040fdb0
add esp, 8
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x100], 0x439cfc
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x104], eax
lea ecx, [ebp - 0xf0]
call fcn.0040b430
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x100], 0x439ca4
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x104], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0xa0], 0x439bdc
call fcn.0040f483
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.0040c8e0
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x40ade3
mov edx, dword [ebp - 0x40]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40add9
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ae73
push ecx
push edx
call fcn.0040fdb0
add esp, 8
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.0040fb6f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.0040efa9
call fcn.004024b0
push ecx
lea ecx, [ebp - 0x1b0]
call fcn.0040a5f0
sub esp, 0xc
call fcn.0040ae80
mov ecx, eax
call fcn.0040c7a0
push eax
lea ecx, [ebp - 0x1fc]
call fcn.00403110
push eax
lea ecx, [ebp - 0x1b0]
call fcn.0040c400
lea ecx, [ebp - 0x1fc]
call fcn.00403040
push 0
call fcn.00418c60
call fcn.004060c0
sub esp, 0x18
lea ecx, [ebp - 0x28]
mov esi, esp
push 0
call fcn.0040c8c0
push eax
mov ecx, esi
call fcn.0040cb40
call fcn.0040a0b0
call fcn.004144d7
int3