Function at 0x40e910
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495590
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x458
mov eax, dword [0x4a4194]
xor eax, dword [ebp + 4]
mov dword [ebp - 0x2c], eax
push esi
mov dword [ebp - 0x464], ecx
mov dword [ebp - 0x14], 0x3c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x464]
cmp dword [ecx + eax*4 + 0xe8], 0
je 0x40e993
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax + edx*4 + 0xe8]
mov dword [ebp - 0x438], ecx
mov edx, dword [ebp - 0x438]
push edx
call fcn.00467760
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x464]
mov dword [ecx + eax*4 + 0xe8], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x464]
cmp dword [eax + edx*4 + 0x1dc], 0
je 0x40e9df
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x464]
mov eax, dword [edx + ecx*4 + 0x1dc]
mov dword [ebp - 0x43c], eax
mov ecx, dword [ebp - 0x43c]
push ecx
call fcn.00467760
add esp, 4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x464]
mov dword [eax + edx*4 + 0x1dc], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x464]
cmp dword [edx + ecx*4 + 0x2d0], 0
je 0x40ea2b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x464]
mov edx, dword [ecx + eax*4 + 0x2d0]
mov dword [ebp - 0x440], edx
mov eax, dword [ebp - 0x440]
push eax
call fcn.00467760
add esp, 4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x464]
mov dword [edx + ecx*4 + 0x2d0], 0
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x18], eax
jmp 0x40ea3f
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jl 0x40eaa7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x464]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x464]
mov ecx, dword [esi + ecx*4 + 0xe8]
mov dword [eax + edx*4 + 0xec], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x464]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x464]
mov ecx, dword [esi + ecx*4 + 0x1dc]
mov dword [eax + edx*4 + 0x1e0], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x464]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x464]
mov ecx, dword [esi + ecx*4 + 0x2d0]
mov dword [eax + edx*4 + 0x2d4], ecx
jmp 0x40ea36
cmp dword [ebp + 8], 0
jne 0x40eabf
mov edx, dword [ebp - 0x464]
mov dword [edx + 0xe8], 0
jmp 0x40eb38
mov eax, dword [ebp + 8]
push eax
call dword [0x497128]
add eax, 1
push eax
call fcn.00468207
add esp, 4
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x464]
mov edx, dword [ebp - 0x444]
mov dword [ecx + 0xe8], edx
mov eax, dword [ebp - 0x464]
cmp dword [eax + 0xe8], 0
jne 0x40eb21
push 0x30
mov ecx, 0x4bd504
mov edx, dword [0x4bd504]
call dword [edx + 0xc]
push eax
push 0x49737c
push 0
call dword [0x497194]
push 0
call fcn.004681c7
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x464]
mov edx, dword [ecx + 0xe8]
push edx
call dword [0x49712c]
cmp dword [ebp + 0xc], 0
jne 0x40eb53
mov eax, dword [ebp - 0x464]
mov dword [eax + 0x1dc], 0
jmp 0x40ec6a
lea ecx, [ebp - 0x28]
call fcn.004526b0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x464]
call fcn.00412b70
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x450], eax
mov ecx, dword [ebp - 0x450]
add ecx, 1
push ecx
call fcn.00468207
add esp, 4
mov dword [ebp - 0x448], eax
mov edx, dword [ebp - 0x464]
mov eax, dword [ebp - 0x448]
mov dword [edx + 0x1dc], eax
mov ecx, dword [ebp - 0x464]
cmp dword [ecx + 0x1dc], 0
jne 0x40ebdc
push 0x30
mov ecx, 0x4bd504
mov edx, dword [0x4bd504]
call dword [edx + 0xc]
push eax
push 0x49737c
push 0
call dword [0x497194]
push 0
call fcn.004681c7
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x454], eax
mov ecx, dword [ebp - 0x454]
push ecx
mov edx, dword [ebp - 0x464]
mov eax, dword [edx + 0x1dc]
push eax
call dword [0x49712c]
cmp dword [ebp + 0x14], 0
je 0x40ec5b
mov ecx, dword [ebp - 0x464]
mov edx, dword [ecx + 0x1dc]
push edx
mov eax, dword [ebp + 0x14]
push eax
call dword [0x49712c]
cmp dword [ebp + 0x10], 0
jne 0x40ec24
jmp 0x40ec5b
mov ecx, dword [ebp + 0x10]
mov dl, byte [ecx]
mov byte [ebp - 0x38], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [eax + 1]
mov byte [ebp - 0x37], cl
mov byte [ebp - 0x36], 0
push 0x497650
lea edx, [ebp - 0x38]
push edx
call dword [0x497134]
test eax, eax
jne 0x40ec5b
push 0x497590
mov eax, dword [ebp + 0x14]
push eax
call dword [0x49712c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004526f0
cmp dword [ebp + 0x10], 0
jne 0x40ec85
mov ecx, dword [ebp - 0x464]
mov dword [ecx + 0x2d0], 0
jmp 0x40ed3f
lea ecx, [ebp - 0x48]
call fcn.004526b0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x464]
call fcn.00412b70
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x458], ecx
mov edx, dword [ebp - 0x458]
add edx, 1
push edx
call fcn.00468207
add esp, 4
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp - 0x464]
mov ecx, dword [ebp - 0x44c]
mov dword [eax + 0x2d0], ecx
mov edx, dword [ebp - 0x464]
cmp dword [edx + 0x2d0], 0
jne 0x40ed0d
push 0x30
mov ecx, 0x4bd504
mov eax, dword [0x4bd504]
call dword [eax + 0xc]
push eax
push 0x49737c
push 0
call dword [0x497194]
push 0
call fcn.004681c7
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x45c], ecx
mov edx, dword [ebp - 0x45c]
push edx
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax + 0x2d0]
push ecx
call dword [0x49712c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004526f0
mov dword [ebp - 0x10], 0xd377d0
mov edx, dword [ebp - 0x464]
cmp dword [edx + 0x1dc], 0
je 0x40ee08
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax + 0x1dc]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x11a
push edx
call dword [0x49712c]
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax + 0x2d0]
push ecx
call dword [0x497128]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x190
jl 0x40ede9
push 0x4975f8
lea edx, [ebp - 0x434]
push edx
call dword [0x49712c]
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax + 0x2d0]
push ecx
lea edx, [ebp - 0x434]
push edx
call dword [0x497104]
mov eax, dword [0x4bd4b0]
mov dword [ebp - 0x460], eax
push 0
push 0x4975ec
lea ecx, [ebp - 0x434]
push ecx
mov edx, dword [ebp - 0x460]
push edx
call dword [0x497194]
jmp 0x40ee06
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax + 0x2d0]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x11a
push edx
call dword [0x497104]
jmp 0x40ee25
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax + 0x2d0]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x11a
push edx
call dword [0x49712c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, dword [ebp + 4]
call fcn.00467ff6
pop esi
mov esp, ebp
pop ebp
ret 0x10