Function at 0x45ce6a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
and dword [esp], 0
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [esp + 0x1c], esi
mov edi, dword [esi + 8]
mov ecx, edi
call fcn.00443528
mov ecx, dword [ebx + 0x24]
mov edx, eax
push 0x20
pop eax
and ecx, eax
mov dword [esp + 0x18], edx
cmp byte [ebp + 0x24], 0
mov dword [esp + 0x24], ecx
jne 0x45cec6
mov ax, word [ebp + 0x18]
test ecx, ecx
cwde
mov ecx, edi
push eax
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push 0x1d
pop edx
push 0x20
pop eax
cmove edx, eax
call fcn.004434d9
add esp, 0x10
push 0
push 0
mov edx, ebx
mov ecx, esi
call fcn.0045fe07
pop ecx
pop ecx
test eax, eax
jne 0x45ceea
cmp dword [ebp + 8], eax
jne 0x45ceea
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x14], eax
jmp 0x45d013
movzx eax, byte [ebp + 0x20]
mov ecx, esi
mov edx, dword [ebp + 8]
push eax
push ebx
push 3
push 0
push 0
mov dword [esp + 0x34], eax
call fcn.0046d3ea
add esp, 0x14
mov dword [esp + 0x10], eax
mov edx, ebx
mov ecx, esi
call fcn.0045fd3a
mov ecx, dword [esi + 0x2c]
or dword [esp + 0x10], eax
movsx eax, word [ebx + 0x2a]
lea edx, [ecx + 1]
inc ecx
push edx
push dword [ebp + 0x14]
add eax, ecx
mov dword [esp + 0x14], edx
push 0x40
pop edx
mov ecx, edi
mov dword [esi + 0x2c], eax
call fcn.0044337d
pop ecx
pop ecx
xor ecx, ecx
or eax, 0xffffffff
xor esi, esi
mov dword [esp + 0x14], eax
cmp cx, word [ebx + 0x2a]
jge 0x45cf8d
mov edx, dword [esp + 0x10]
cmp edx, eax
je 0x45cf65
cmp esi, 0x1f
jg 0x45cf81
xor eax, eax
mov ecx, esi
inc eax
shl eax, cl
test edx, eax
je 0x45cf81
mov eax, dword [esp + 0xc]
mov edx, ebx
inc eax
mov ecx, edi
add eax, esi
push eax
push esi
push dword [ebp + 0xc]
call fcn.00453703
mov edx, dword [esp + 0x1c]
add esp, 0xc
movsx eax, word [ebx + 0x2a]
inc esi
push 0xffffffffffffffff
cmp esi, eax
pop eax
jl 0x45cf51
mov ecx, edi
call fcn.004436d4
push dword [esp + 0x18]
mov edx, dword [ebp + 8]
mov esi, eax
push dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
push dword [esp + 0x14]
push ebx
push 1
push 0
push 0x6d
call fcn.0046d396
add esp, 0x1c
mov ecx, edi
call fcn.004436d4
cmp esi, eax
jge 0x45cfef
mov ax, word [ebp + 0x18]
cmp dword [esp + 0x24], 0
cwde
push eax
push dword [ebp + 0x14]
push dword [esp + 0x20]
push dword [ebp + 0xc]
push 0x1d
pop eax
push 0x20
pop ecx
cmove eax, ecx
mov ecx, edi
mov edx, eax
call fcn.004434d9
add esp, 0x10
jmp 0x45cff6
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
push eax
push eax
push eax
push dword [esp + 0x18]
mov edx, ebx
mov ecx, esi
call fcn.0045f973
mov eax, dword [esp + 0x24]
add esp, 0x10
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
jne 0x45d093
push eax
push ecx
push dword [ebp + 0x10]
mov edx, ebx
mov ecx, esi
push dword [ebp + 0xc]
call fcn.0045d0d6
xor eax, eax
mov ecx, edi
cmp byte [ebp + 0x1c], al
setne al
push eax
push dword [ebp + 0xc]
push 0x78
pop edx
call fcn.0044337d
add esp, 0x18
cmp byte [esi + 0x12], 0
jne 0x45d056
push 0xfffffffffffffff1
mov edx, ebx
mov ecx, edi
call fcn.00443a8c
pop ecx
cmp byte [ebp + 0x24], 0
je 0x45d066
push 4
pop edx
mov ecx, edi
call fcn.004437ff
mov eax, dword [esp + 0x14]
test eax, eax
js 0x45d07f
cmp eax, dword [ebp + 0xc]
je 0x45d07f
push eax
push 0x78
pop edx
mov ecx, edi
call fcn.00443369
pop ecx
push 2
pop edx
xor eax, eax
mov ecx, edi
cmp byte [ebp + 0x24], dl
cmovne edx, eax
call fcn.004437ff
xor ecx, ecx
push ecx
push ecx
push dword [esp + 0x14]
mov edx, ebx
push ecx
mov ecx, esi
call fcn.004602ef
push dword [esp + 0x28]
movzx eax, byte [ebp + 0x20]
mov ecx, esi
mov edx, dword [ebp + 8]
push eax
push dword [esp + 0x24]
push ebx
push 2
push 0
push 0x6d
call fcn.0046d396
mov edx, dword [esp + 0x44]
add esp, 0x2c
mov ecx, edi
call fcn.0044356a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret