Function at 0x45f0a2
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ecx + 8]
mov eax, edx
push esi
push edi
mov dword [ebp - 0x28], eax
mov edi, dword [eax]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ebx
mov al, byte [edi]
cmp al, 0x35
je 0x45f39a
cmp al, 0x2d
je 0x45f39a
cmp al, 0x32
jne 0x45f0e7
mov esi, dword [ebp + 0x14]
mov ecx, ebx
push esi
push 0
push 0x46
pop edx
call fcn.00431977
pop ecx
jmp 0x45f3a7
mov ebx, dword [ebp + 8]
and dword [ebp - 0xc], 0
and dword [ebp - 0x1c], 0
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebx + 0x40]
mov dword [ebp - 0x14], 5
mov dword [ebp - 0x30], ebx
test dword [ebx + 0x24], 0x400
jne 0x45f128
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x45f128
mov eax, dword [eax + 0x1c]
cmp byte [ecx + eax], 0
je 0x45f128
xor edx, edx
cmp dword [ebp + 0x10], edx
sete dl
mov dword [ebp - 8], edx
jmp 0x45f12e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov esi, dword [ebp + 0x14]
xor eax, eax
test ecx, ecx
jle 0x45f14e
mov edx, dword [ebx + 0x30]
mov edx, dword [edx + eax*4]
test edx, edx
je 0x45f149
cmp dword [edx], edi
je 0x45f3a8
inc eax
cmp eax, ecx
jl 0x45f137
movzx edx, word [ebx + 0x28]
cmp ecx, edx
jge 0x45f181
mov eax, dword [ebx + 0x30]
sub edx, ecx
mov ebx, dword [ebp - 0xc]
lea esi, [eax + ecx*4]
mov eax, dword [esi]
lea ecx, [ebx + 1]
lea esi, [esi + 4]
cmp dword [eax], edi
cmovne ecx, ebx
mov ebx, ecx
sub edx, 1
jne 0x45f161
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0x30]
test dword [edi + 4], 0x800
je 0x45f207
mov eax, dword [edi + 0x14]
mov eax, dword [eax]
cmp dword [eax], 1
je 0x45f207
mov eax, dword [ebp - 0x10]
mov edx, ecx
push edi
mov edi, dword [ebp - 0x10]
mov ecx, edi
push ebx
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
call fcn.0045ef74
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
cmp byte [ecx + 0x49], 0
jne 0x45f1f3
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
shl eax, 2
push 0
push eax
call fcn.0041a6c0
mov edx, dword [ebp - 0x18]
mov ecx, edi
push eax
push 0
push 4
mov dword [ebp - 0x1c], eax
call fcn.00440a07
mov edi, dword [ebp - 0x28]
add esp, 0x14
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [edi]
mov eax, dword [eax + 0x1c]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x18]
jmp 0x45f1f6
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, eax
call fcn.0043fbd7
mov edi, dword [edi]
mov eax, dword [ebp - 0x14]
jmp 0x45f21d
mov ecx, dword [ebp - 0x10]
mov edx, edi
push 0
push 0
push 4
call fcn.00440a07
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp eax, 4
jne 0x45f22f
xor eax, eax
cmp dword [ebp - 8], eax
sete al
mov dword [ebp - 8], eax
jmp 0x45f232
mov eax, dword [ebp - 8]
mov ecx, dword [edi + 0x1c]
test eax, eax
push 0
push ecx
push 0x25
pop edx
mov dword [ebp - 0x20], ecx
push 0x21
pop ecx
cmovne edx, ecx
mov ecx, dword [ebp - 4]
call fcn.00431977
or dword [ebx + 0x24], 0x800
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x38], 0
jne 0x45f26e
mov ecx, dword [ebp - 4]
call fcn.00431bbd
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x30], eax
add eax, dword [ebp - 0xc]
mov dword [ecx + 0x38], eax
imul eax, eax, 0xc
push 0
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call fcn.0041a85d
mov edx, eax
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov dword [eax + 0x3c], edx
test edx, edx
je 0x45f387
imul eax, dword [ebp - 0x30], 0xc
mov ecx, dword [ebp + 0xc]
add edx, eax
movzx eax, word [ebx + 0x28]
cmp ecx, eax
jge 0x45f38b
lea eax, [edx + 8]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], eax
mov edx, esi
mov eax, ecx
shl eax, 2
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, ecx
sub eax, esi
mov esi, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + eax]
cmp dword [eax], edi
jne 0x45f369
cmp dword [ebp - 0x14], 1
jne 0x45f300
mov ecx, dword [ebp - 4]
push edx
push dword [ebp - 0x20]
push 0x7d
pop edx
call fcn.00431977
pop ecx
pop ecx
jmp 0x45f328
cmp dword [ebp - 0x1c], 0
je 0x45f313
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx]
add ecx, 4
mov dword [ebp - 0x2c], ecx
jmp 0x45f315
xor eax, eax
mov ecx, dword [ebp - 4]
push edx
push eax
push dword [ebp - 0x20]
push 0x62
pop edx
call fcn.004318f3
add esp, 0xc
mov ecx, dword [ebp - 0xc]
push dword [ebp - 0x18]
push 0x32
mov dword [ecx - 4], eax
mov ecx, dword [ebp - 4]
pop edx
call fcn.00431963
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0xc]
pop ecx
cmp eax, esi
jne 0x45f35d
cmp dword [ebp - 8], 0
mov eax, dword [ebp - 0x20]
mov dword [edx - 8], eax
sete al
add al, 4
mov byte [edx], al
jmp 0x45f360
mov byte [edx], 0xa9
add edx, 0xc
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x18]
add dword [ebp - 0x24], 4
inc edx
mov ecx, dword [ebp - 0x30]
movzx eax, word [ebx + 0x28]
add ecx, edx
mov dword [ebp - 0x18], edx
cmp ecx, eax
jl 0x45f2d6
mov esi, dword [ebp + 0x14]
jmp 0x45f38b
and dword [eax + 0x38], 0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
call fcn.0041a50a
jmp 0x45f3a8
push dword [ebp + 0x14]
mov edx, dword [edi + 0x10]
call fcn.00441ee9
mov esi, eax
pop ecx
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
call fcn.0045ee61
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret