Function at 0x45f11a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], edi
call fcn.00468189
mov esi, eax
mov eax, dword [edi + 0x28]
dec eax
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.00443528
cmp dword [ebp + 0x1c], 0
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], eax
jge 0x45f161
movzx ecx, byte [ebx + 0x18]
push eax
push ecx
push 0x2d
pop edx
mov ecx, esi
call fcn.0044337d
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov ebx, dword [ebx + 0x14]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
test ebx, ebx
jle 0x45f19e
mov edi, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp + 0x18]
inc ecx
add eax, ecx
mov ecx, esi
push eax
push 0x4b
pop edx
call fcn.0044337d
mov ebx, dword [edi + 0x14]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
jl 0x45f170
mov edi, dword [ebp - 0xc]
cmp dword [ebp + 0x20], 0
jne 0x45f3b4
cmp dword [ebp + 0xc], 0
mov ecx, edi
jne 0x45f27b
call fcn.004555aa
mov ebx, eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp + 0x20], ebx
mov ecx, dword [eax]
mov eax, dword [ebp + 0x18]
inc eax
add ecx, eax
push ecx
push 0x41
pop edx
mov ecx, esi
call fcn.0044337d
push 0
push ebx
push 0x11
pop edx
mov ecx, esi
call fcn.0044337d
mov ecx, dword [ebp + 8]
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
cmp ecx, dword [eax]
jne 0x45f21b
cmp dword [ebp + 0x1c], 1
jne 0x45f21b
push ebx
mov ebx, dword [ebp - 4]
mov ecx, esi
push ebx
push dword [ebp + 0x18]
push 0x4e
pop edx
call fcn.004432f9
add esp, 0xc
mov edx, 0x90
mov ecx, esi
call fcn.004437ff
jmp 0x45f21e
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, edi
push 0x6a
push dword [ebp + 8]
push dword [ebp - 0x14]
call fcn.004603e4
add esp, 0xc
mov ecx, esi
push dword [ebp + 0x20]
push 0
push dword [ebp - 8]
push 0x20
pop edx
call fcn.004432f9
add esp, 0xc
mov edx, ebx
mov ecx, esi
call fcn.00443392
mov ecx, esi
call fcn.004436d4
sub eax, 2
mov edx, eax
call fcn.00443817
mov edx, dword [ebp - 0x10]
mov ecx, esi
call fcn.00443817
mov edx, dword [ebp + 0x20]
mov ecx, edi
call fcn.004555c9
jmp 0x45f3b4
mov edx, ebx
call fcn.0045560c
mov ecx, edi
mov dword [ebp - 0x10], eax
call fcn.004555aa
push dword [ebp - 0x14]
mov dword [ebp + 0x20], eax
mov ecx, esi
mov eax, dword [ebp + 0xc]
push dword [eax + 0x2c]
push dword [ebp - 8]
push 0x6a
pop edx
call fcn.004432f9
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov ecx, edi
call fcn.00443ac0
and dword [ebp - 0x14], 0
test ebx, ebx
jle 0x45f2e4
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x18]
add eax, edi
push eax
mov eax, dword [ebp + 0x14]
inc ecx
mov eax, dword [eax + edi*4]
add eax, ecx
mov ecx, esi
push eax
push 0x40
pop edx
call fcn.0044337d
inc edi
pop ecx
pop ecx
cmp edi, ebx
jl 0x45f2bd
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax]
jne 0x45f367
cmp dword [ebp + 0x1c], 1
jne 0x45f367
mov ecx, esi
call fcn.004436d4
inc eax
xor ecx, ecx
add eax, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
test ebx, ebx
jle 0x45f35d
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebp + 0xc]
inc edx
add edx, edi
inc edi
mov eax, dword [eax + 4]
movzx ecx, word [eax + ecx*2]
movsx eax, cx
add eax, edi
mov edi, dword [ebp + 8]
cmp cx, word [edi + 0x28]
mov ecx, esi
mov edi, dword [ebp + 0x18]
cmove eax, edi
push eax
push dword [ebp - 0x18]
push edx
push 0x4d
pop edx
call fcn.004432f9
add esp, 0xc
mov ecx, esi
push 0x10
pop edx
call fcn.004437ff
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, ebx
jl 0x45f30d
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, esi
call fcn.00443392
mov edx, dword [ebp + 0xc]
push ebx
push ecx
mov ecx, dword [edi]
call fcn.00460468
pop ecx
push eax
push dword [ebp + 0x20]
mov ecx, esi
push ebx
push dword [ebp - 0x10]
push 0x65
pop edx
call fcn.00443422
add esp, 0x14
mov ecx, esi
push 0
push dword [ebp + 0x20]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x1e
pop edx
call fcn.004434d9
mov edx, dword [ebp + 0x20]
mov ecx, edi
call fcn.004555c9
mov edx, dword [ebp - 0x10]
push ebx
call fcn.00455642
add esp, 0x14
mov edx, dword [ebp + 0x10]
mov cl, byte [edx + 0x18]
test cl, cl
jne 0x45f3ed
mov eax, dword [edi]
test dword [eax + 0x18], 0x2000000
jne 0x45f3ed
cmp dword [edi + 0x7c], 0
jne 0x45f3ed
cmp byte [edi + 0x14], cl
jne 0x45f3ed
push 4
push 0xfffffffffffffffe
push 0
push 2
mov edx, 0x313
mov ecx, edi
call fcn.0045ba0c
add esp, 0x10
jmp 0x45f418
cmp dword [ebp + 0x1c], 0
mov al, cl
jle 0x45f403
test cl, cl
jne 0x45f403
mov ecx, edi
call fcn.0045b9ff
mov al, byte [edx + 0x18]
push dword [ebp + 0x1c]
movzx eax, al
mov edx, 0x93
push eax
mov ecx, esi
call fcn.0044337d
pop ecx
pop ecx
mov edx, dword [ebp - 4]
mov ecx, esi
call fcn.0044356a
push dword [ebp - 8]
push 0x72
pop edx
call fcn.00443369
pop ecx
pop edi
pop esi
pop ebx
leave
ret