Function at 0x40d160
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55080a
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x5c0078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xb8
lea eax, [ebp - 0x184]
push 0
push eax
call fcn.00527720
push ecx
lea ecx, [ebp - 0x184]
call fcn.004145d0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x128], 0
jne 0x40d242
push 0xb0
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.00527720
push ecx
lea ecx, [ebp - 0xcc]
call fcn.00414400
mov byte [ebp - 4], 1
cmp dword [ebp - 0x7c], 0
je 0x40d23b
mov edx, str.Err0r:_FxXuk_yoU_:__.
lea ecx, [ebp - 0xcc]
call fcn.00407340
push eax
call fcn.00419fe0
add esp, 4
lea ecx, [ebp - 0xc8]
call fcn.004180e0
test eax, eax
jne 0x40d23b
mov eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0xcc]
push 0
mov eax, dword [eax + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], 0
cmovne eax, edx
push eax
call fcn.00402410
push 0
call fcn.0052e5d8
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
call fcn.0040beb0
mov edx, 1
lea ecx, [ebp - 0x1c]
call fcn.0040c200
mov edx, 2
mov dword [0x5cbc00], eax
lea ecx, [ebp - 0x1c]
call fcn.0040c200
mov edx, 3
mov dword [0x5cbe08], eax
lea ecx, [ebp - 0x1c]
call fcn.0040c200
push 4
lea edx, [ebp - 0x1c]
mov dword [0x5cbc04], eax
lea ecx, [ebp - 0x19c]
call fcn.0040c470
add esp, 8
mov esi, eax
cmp esi, 0x5cbf14
je 0x40d308
mov eax, dword [0x5cbf28]
cmp eax, 0x10
jb 0x40d2e2
inc eax
mov ecx, 0x5cbf14
push eax
push dword [0x5cbf14]
call fcn.00404f30
push esi
mov ecx, 0x5cbf14
mov dword [0x5cbf28], 0xf
mov dword [0x5cbf24], 0
mov byte [0x5cbf14], 0
call fcn.00404cb0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x188]
cmp eax, 0x10
jb 0x40d32a
inc eax
lea ecx, [ebp - 0x19c]
push eax
push dword [ebp - 0x19c]
call fcn.00404f30
push 5
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x19c]
call fcn.0040c470
add esp, 4
mov esi, eax
cmp esi, 0x5cbfbc
je 0x40d389
mov eax, dword [0x5cbfd0]
cmp eax, 0x10
jb 0x40d363
inc eax
mov ecx, 0x5cbfbc
push eax
push dword [0x5cbfbc]
call fcn.00404f30
push esi
mov ecx, 0x5cbfbc
mov dword [0x5cbfd0], 0xf
mov dword [0x5cbfcc], 0
mov byte [0x5cbfbc], 0
call fcn.00404cb0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x188]
cmp eax, 0x10
jb 0x40d3ab
inc eax
lea ecx, [ebp - 0x19c]
push eax
push dword [ebp - 0x19c]
call fcn.00404f30
mov edx, 1
lea ecx, [ebp - 0x1c]
call fcn.0040c200
test eax, eax
je 0x40d23b
mov edx, 1
lea ecx, [ebp - 0x1c]
call fcn.0040c200
test eax, eax
je 0x40d23b
mov edx, 1
lea ecx, [ebp - 0x1c]
call fcn.0040c200
mov ecx, eax
call fcn.0040c630
cmp eax, 6
jne 0x40d23b
lea edx, [eax - 4]
lea ecx, [ebp - 0x1c]
call fcn.0040c200
test eax, eax
je 0x40d23b
mov edx, 2
lea ecx, [ebp - 0x1c]
call fcn.0040c200
test eax, eax
je 0x40d23b
mov edx, 2
lea ecx, [ebp - 0x1c]
call fcn.0040c200
mov ecx, eax
call fcn.0040c630
cmp eax, 6
jne 0x40d23b
lea edx, [eax - 3]
lea ecx, [ebp - 0x1c]
call fcn.0040c200
test eax, eax
je 0x40d23b
mov edx, 3
lea ecx, [ebp - 0x1c]
call fcn.0040c200
test eax, eax
je 0x40d23b
mov edx, 3
lea ecx, [ebp - 0x1c]
call fcn.0040c200
mov ecx, eax
call fcn.0040c630
cmp eax, 6
jne 0x40d23b
lea ecx, [ebp - 0x1c]
call fcn.00413010
lea ecx, [ebp - 0x184]
call fcn.0040c0c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004351b3
mov esp, ebp
pop ebp
ret