Function at 0x45f3bc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [edx + 0x40]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], edi
mov eax, dword [edi + 8]
mov edx, dword [ecx + 0x20]
mov esi, dword [edi + 0x2c]
mov dword [ebp - 8], eax
movzx eax, word [ecx + 0x2a]
movzx ecx, word [ecx + 0x18]
mov dword [ebp - 0xc], eax
lea ebx, [esi + 1]
mov eax, dword [ebp + 0xc]
add eax, ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edi]
mov dword [ebp - 0x28], eax
add eax, esi
mov dword [ebp - 4], ebx
mov dword [edi + 0x2c], eax
call fcn.0044ecb2
mov ecx, dword [edi]
mov edx, eax
call fcn.0041a88c
mov edi, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], edi
test ax, ax
je 0x45f4b2
mov eax, dword [ebp - 0x10]
cmp dword [ebp + 8], 0
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
push 0x25
pop edx
mov dword [ebp + 0xc], eax
push 0x21
pop eax
cmovne edx, eax
call fcn.00431963
pop ecx
mov ecx, dword [ebp - 8]
push 0xd
pop edx
call fcn.00431955
mov ecx, dword [ebp - 8]
mov esi, eax
mov eax, dword [ebp - 0xc]
movzx eax, ax
push eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], ebx
push ebx
push dword [ebp + 0xc]
push 0x1b
pop edx
push 0x18
pop eax
cmovne edx, eax
call fcn.00431b6e
mov ecx, dword [ebp - 0x10]
add esp, 0x10
mov edx, esi
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 8]
call fcn.00431e98
cmp dword [ebp - 0x14], ebx
jbe 0x45f4af
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
lea eax, [ebx + esi]
mov ecx, edi
push eax
push ebx
push dword [ebp + 0xc]
push 0x62
pop edx
call fcn.004318f3
add esp, 0xc
inc ebx
cmp ebx, dword [ebp - 0x14]
jl 0x45f491
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
movzx esi, ax
cmp esi, dword [ebp - 0x1c]
jae 0x45f5a2
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + esi*4]
mov edx, ebx
mov eax, dword [ebp - 4]
add eax, esi
push eax
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
push esi
push dword [ebp - 0x10]
call fcn.0045f0a2
mov ecx, dword [ebp + 0xc]
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp eax, ecx
je 0x45f516
cmp dword [ebp - 0x28], 1
jne 0x45f507
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
call fcn.00443d22
mov edx, dword [ebp - 0x20]
mov dword [ebp - 4], edx
jmp 0x45f519
push ecx
mov ecx, dword [ebp - 8]
push eax
push 0x4c
pop edx
call fcn.00431977
pop ecx
pop ecx
mov edx, dword [ebp - 4]
movzx eax, word [ebx + 0xc]
test al, 1
je 0x45f531
mov eax, dword [ebx]
mov ecx, 0x800
test dword [eax + 4], ecx
je 0x45f598
test edi, edi
jmp 0x45f592
test eax, 0x100
jne 0x45f598
mov eax, dword [ebx]
mov ecx, 0x800
mov eax, dword [eax + 0x10]
mov dword [ebp + 0xc], eax
test word [ebx + 0xa], cx
jne 0x45f570
mov ecx, eax
call fcn.0044083e
test eax, eax
je 0x45f56d
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
push dword [eax + 0xc]
lea eax, [esi + edx]
push eax
push 0x32
pop edx
call fcn.00431977
pop ecx
pop ecx
mov eax, dword [ebp + 0xc]
test edi, edi
je 0x45f598
mov dl, byte [esi + edi]
mov ecx, eax
call fcn.0043f1e5
cmp al, 0x41
jne 0x45f585
mov byte [esi + edi], al
mov dl, byte [esi + edi]
mov ecx, dword [ebp + 0xc]
call fcn.00440895
test eax, eax
je 0x45f598
mov byte [esi + edi], 0x41
inc esi
cmp esi, dword [ebp - 0x1c]
jl 0x45f4be
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret