Function at 0x40a2f0
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 0x42cab0
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.00419473
add esp, 4
push eax
call fcn.00418a17
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 0x40a368
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.00411700
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.0040d000
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.0040cf30
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 0x40aae3
test esi, esi
je 0x40a4d1
cmp esi, 0x1000
jb 0x40a491
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x40aae8
push eax
call fcn.0040f9cf
add esp, 4
test eax, eax
je 0x40ab53
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x40a49c
push esi
call fcn.0040f9cf
add esp, 4
mov edi, eax
push esi
push dword [ebp - 0x1c]
push edi
call fcn.004110c0
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 0x40a4db
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.0040e310
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x40a554
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x58]
push ecx
cmp eax, dword [ebp - 0x20]
je 0x40a52d
mov ecx, eax
call fcn.0040c790
add dword [ebp - 0x24], 0x18
jmp 0x40a536
push eax
lea ecx, [ebp - 0x28]
call fcn.0040dc30
push ecx
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x100]
call fcn.0040e310
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x40a514
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 0x40a6bf
mov ecx, dword [edi]
mov eax, dword [0x450ef8]
mov dword [ebp - 0x1c], 0x7b7d6160
mov word [ebp - 0x18], 0x2e6c
cmp eax, dword [ecx + 4]
jle 0x40a5d6
push 0x450ef8
call fcn.0040fb48
add esp, 4
cmp dword [0x450ef8], 0xffffffff
jne 0x40a5d6
mov eax, dword [ebp - 0x1c]
mov dword [0x450d10], eax
mov ax, word [ebp - 0x18]
push 0x42d510
mov word [0x450d14], ax
call fcn.0040fe5b
add esp, 4
push 0x450ef8
call fcn.0040fafe
add esp, 4
mov al, byte [0x450d15]
test al, al
je 0x40a609
xor byte [0x450d10], 0x2e
xor byte [0x450d11], 0x2e
xor byte [0x450d12], 0x2e
xor byte [0x450d13], 0x2e
xor byte [0x450d14], 0x2e
xor al, 0x2e
mov byte [0x450d15], al
mov ecx, 0x450d10
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 0x40a630
sub ecx, edx
push ecx
push 0x450d10
lea ecx, [ebp - 0x1cc]
call fcn.004032b0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x40a675
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 0x40a6bf
lea ecx, [ebp - 0x1cc]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040da50
mov edx, dword [ebp - 0x1b8]
cmp edx, 0x10
jb 0x40a6bf
mov ecx, dword [ebp - 0x1cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a6b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ab53
push edx
push ecx
call fcn.0040f9ff
add esp, 8
mov edi, dword [edi]
mov eax, dword [0x451004]
mov dword [ebp - 0x1c], 0x2e45464d
cmp eax, dword [edi + 4]
jle 0x40a70d
push 0x451004
call fcn.0040fb48
add esp, 4
cmp dword [0x451004], 0xffffffff
jne 0x40a70d
mov eax, dword [ebp - 0x1c]
push 0x42d500
mov dword [0x450f1c], eax
call fcn.0040fe5b
add esp, 4
push 0x451004
call fcn.0040fafe
add esp, 4
mov al, byte [0x450f1f]
test al, al
je 0x40a732
xor byte [0x450f1c], 0x2e
xor byte [0x450f1d], 0x2e
xor byte [0x450f1e], 0x2e
xor al, 0x2e
mov byte [0x450f1f], al
mov ecx, 0x450f1c
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 0x40a758
sub ecx, edx
push ecx
push 0x450f1c
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.0040d660
test al, al
jne 0x40a87e
mov eax, dword [0x450d3c]
mov dword [ebp - 0x1c], 0x45464d01
mov byte [ebp - 0x1b1], 0x2e
cmp eax, dword [edi + 4]
jle 0x40a7ef
push 0x450d3c
call fcn.0040fb48
add esp, 4
cmp dword [0x450d3c], 0xffffffff
jne 0x40a7ef
mov eax, dword [ebp - 0x1c]
mov dword [0x450dd4], eax
mov al, byte [ebp - 0x1b1]
push 0x42d4e0
mov byte [0x450dd8], al
call fcn.0040fe5b
add esp, 4
push 0x450d3c
call fcn.0040fafe
add esp, 4
mov al, byte [0x450dd8]
test al, al
je 0x40a81b
xor byte [0x450dd4], 0x2e
xor byte [0x450dd5], 0x2e
xor byte [0x450dd6], 0x2e
xor byte [0x450dd7], 0x2e
xor al, 0x2e
mov byte [0x450dd8], al
mov ecx, 0x450dd4
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 0x40a841
sub ecx, edx
push ecx
push 0x450dd4
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.0040d660
test al, al
jne 0x40a87e
mov byte [ebp - 0x1b1], al
jmp 0x40a88b
test byte [ebp - 0x1c], 2
mov byte [ebp - 0x1b1], 1
je 0x40a8c8
mov edx, dword [ebp - 0x1b8]
cmp edx, 0x10
jb 0x40a8c8
mov ecx, dword [ebp - 0x1cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a8bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ab53
push edx
push ecx
call fcn.0040f9ff
mov esi, dword [ebp - 0x28]
add esp, 8
mov edx, dword [ebp - 0x1d0]
cmp edx, 0x10
jb 0x40a905
mov ecx, dword [ebp - 0x1e4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a8f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ab53
push edx
push ecx
call fcn.0040f9ff
mov esi, dword [ebp - 0x28]
add esp, 8
cmp byte [ebp - 0x1b1], 0
jne 0x40aaed
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 0x40ab32
je 0x40ab37
cmp eax, 2
jne 0x40a9d8
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40a94a
mov eax, dword [esi]
cmp dword [esi + 0x10], 1
jne 0x40a979
movzx eax, byte [eax]
cmp al, 0x72
jne 0x40a95b
xor eax, eax
jmp 0x40a960
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40a979
call fcn.004189f6
cdq
mov ecx, 0xc350
idiv ecx
add edx, 0x2710
jmp 0x40a9b8
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x40a983
mov ecx, dword [esi]
cmp dword [esi + 0x10], 2
jne 0x40a9d8
movzx eax, byte [ecx]
cmp al, 0x72
jne 0x40a99c
movzx eax, byte [ecx + 1]
cmp al, 0x73
jne 0x40a99c
xor eax, eax
jmp 0x40a9a1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40a9d8
call fcn.004189f6
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.0040c790
call fcn.00409900
add esp, 0x18
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x40aa0c
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40aa02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ab53
push edx
push ecx
call fcn.0040f9ff
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.0040b110
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.0040f0d3
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.0040c530
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x40aac3
mov edx, dword [ebp - 0x40]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40aab9
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ab53
push ecx
push edx
call fcn.0040f9ff
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.0040f7bf
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.0040ebf9
call fcn.004024b0
push ecx
lea ecx, [ebp - 0x1b0]
call fcn.0040a2d0
sub esp, 0xc
call fcn.0040ab60
mov ecx, eax
call fcn.0040c420
push eax
lea ecx, [ebp - 0x1fc]
call fcn.00403110
push eax
lea ecx, [ebp - 0x1b0]
call fcn.0040c0e0
lea ecx, [ebp - 0x1fc]
call fcn.00403040
push 0
call fcn.004188ad
call fcn.004060c0
sub esp, 0x18
lea ecx, [ebp - 0x28]
mov esi, esp
push 0
call fcn.0040c510
push eax
mov ecx, esi
call fcn.0040c790
call fcn.0040a100
call fcn.00414127
int3