Function at 0x45c319
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x1c], edx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], ebx
mov esi, dword [ebx + 8]
mov ecx, esi
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x18], eax
call fcn.0043696d
mov dword [ebp - 0x28], eax
xor edx, edx
mov eax, dword [edi]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], edx
mov ebx, dword [eax + 4]
movzx ecx, byte [eax]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x20]
cmp dword [edi + 0x10], edx
je 0x45c39a
push dword [edi + 0x10]
mov ecx, esi
push dword [edi + 0xc]
push 0xe
pop edx
call fcn.00436721
mov edx, dword [ebp - 0x18]
pop ecx
pop ecx
mov ecx, esi
call fcn.00436736
mov edx, dword [edi + 0x10]
mov ecx, esi
call fcn.004369af
mov eax, dword [ebp + 0x10]
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov edi, dword [edi + 8]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp + 0xc]
cmp ecx, 9
je 0x45c3c7
cmp ecx, 0xd
je 0x45c3c7
cmp ecx, 0xa
je 0x45c3c7
mov ecx, ebx
call fcn.00449971
mov edx, edi
mov dword [ebp - 8], eax
call fcn.004499d3
xor edx, edx
jmp 0x45c3cd
mov eax, dword [eax + 8]
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
sub eax, dword [ecx + 4]
test byte [ecx + 0x1c], 1
mov dword [ebp - 0x34], eax
je 0x45c478
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x14], eax
inc eax
mov dword [ebx + 0x28], eax
cmp dword [ecx + 0x10], edx
je 0x45c40d
push 0x14
pop edx
mov ecx, esi
call fcn.004366ff
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x34]
inc ecx
add ecx, edi
push ecx
push dword [ebp - 0x30]
mov ecx, esi
push dword [ebp - 0x14]
push 0x71
pop edx
call fcn.0043669d
mov eax, dword [ebp - 0x2c]
add esp, 0xc
test eax, eax
je 0x45c437
mov edx, eax
mov ecx, esi
call fcn.00436c48
push dword [ebp - 0x18]
mov ecx, esi
push dword [ebp - 0x10]
push 0x23
pop edx
call fcn.00436721
push dword [ebp - 0x28]
inc eax
mov ecx, esi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x10]
call fcn.0045b9ff
add esp, 0xc
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x30]
push dword [ebp - 0x10]
push 0x7b
pop edx
call fcn.0043669d
add esp, 0xc
xor ecx, ecx
jmp 0x45c4a8
push dword [ebp - 0x18]
mov ecx, esi
push dword [ebp - 0x10]
push 0x24
pop edx
call fcn.00436721
push dword [ebp - 0x28]
inc eax
mov ecx, esi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x10]
call fcn.0045b9ff
mov eax, dword [ebp - 0x10]
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x14], eax
inc ecx
mov edx, dword [ebp - 0x34]
dec edx
add edx, ecx
mov dword [ebp - 0x1c], edx
test edi, edi
jle 0x45c4da
mov ebx, dword [ebp - 0x38]
add ebx, 0x14
movzx eax, word [ebx]
lea ecx, [edx + 1]
test ax, ax
lea ebx, [ebx + 0x18]
cmovne ecx, edx
mov edx, ecx
sub edi, 1
jne 0x45c4bb
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
lea eax, [edi - 1]
mov dword [ebp - 0x34], eax
test eax, eax
js 0x45c536
mov ecx, dword [ebp - 0x38]
mov ebx, eax
mov edi, dword [ebp - 4]
add ecx, 0x14
imul eax, ebx, 0x18
add eax, ecx
mov dword [ebp - 0x38], eax
movzx eax, word [eax]
test ax, ax
je 0x45c504
lea ecx, [eax - 1]
jmp 0x45c50a
mov ecx, edx
dec edx
mov dword [ebp - 0x1c], edx
lea eax, [ebx + edi]
push eax
push ecx
push dword [ebp - 0x14]
mov ecx, esi
push 0x62
pop edx
call fcn.0043669d
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov edx, dword [ebp - 0x1c]
sub eax, 0x18
sub ebx, 1
mov dword [ebp - 0x38], eax
jns 0x45c4f7
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov eax, ecx
sub eax, 0xa
je 0x45c603
sub eax, 1
je 0x45c5c0
sub eax, 1
je 0x45c58e
dec eax
sub eax, 1
je 0x45c58e
mov eax, dword [ebp + 0x10]
cmp ecx, 9
mov ecx, esi
jne 0x45c580
push edi
push dword [eax + 8]
push 0x4e
pop edx
call fcn.00436721
mov eax, dword [ebp + 0x10]
mov ecx, ebx
push edi
mov edx, dword [eax + 8]
call fcn.004479d1
add esp, 0xc
jmp 0x45c600
push dword [eax + 4]
push 0x10
pop edx
call fcn.0043670d
pop ecx
jmp 0x45c600
push dword [ebp - 8]
mov ecx, esi
push dword [ebp - 0x24]
push 0x75
pop edx
call fcn.00436721
push dword [ebp - 8]
mov ecx, esi
push dword [ebp - 4]
push dword [ebp - 0x24]
push 0x76
pop edx
call fcn.0043669d
add esp, 0x14
mov ecx, esi
push 8
pop edx
call fcn.00436c30
jmp 0x45c600
mov eax, dword [ebp + 0x10]
mov ecx, esi
push edi
push dword [eax + 0x10]
push dword [ebp - 8]
push edi
push dword [ebp - 4]
push 0x65
pop edx
call fcn.004367ed
mov edx, dword [ebp - 4]
add esp, 0x14
mov ecx, ebx
push edi
call fcn.004479d1
pop ecx
push edi
push dword [ebp - 4]
mov edx, 0x81
mov ecx, esi
push dword [ebp - 8]
push dword [ebp - 0x24]
call fcn.0043691e
add esp, 0x10
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 8], 0
je 0x45c62b
mov edx, dword [ebp - 4]
cmp ecx, 0xb
mov ecx, ebx
jne 0x45c61c
push edi
call fcn.00449a09
pop ecx
jmp 0x45c621
call fcn.00449990
mov edx, dword [ebp - 8]
mov ecx, ebx
call fcn.00449990
mov edx, dword [ebp - 0x28]
mov ecx, esi
call fcn.004369af
mov edi, dword [ebp + 8]
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
test byte [edi + 0x1c], 1
je 0x45c648
push 3
jmp 0x45c64a
push 7
pop edx
call fcn.00436721
cmp dword [edi + 0xc], 0
pop ecx
pop ecx
je 0x45c666
push dword [edi + 0xc]
mov ecx, esi
push 0x3f
pop edx
call fcn.0043670d
pop ecx
mov edx, dword [ebp - 0x18]
mov ecx, esi
call fcn.004369af
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret