Function at 0x45cf5f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4b900c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x48], eax
push edi
mov edi, ecx
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
mov ebx, dword [edi + 8]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x34], eax
xor eax, eax
push eax
push eax
push eax
push 0x21
pop edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], eax
call fcn.0044bd79
add esp, 0xc
test eax, eax
jne 0x45d22e
mov ecx, ebx
call fcn.0043696d
mov ecx, 0x140
mov dword [ebp - 0x38], eax
mov word [esi + 6], cx
mov edx, esi
push eax
mov ecx, edi
call fcn.0045cd3f
mov eax, dword [esi + 0x38]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x10]
pop ecx
xor ecx, ecx
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x28], eax
mov eax, ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0xc], ecx
cmp dword [edx], eax
jle 0x45d016
lea ecx, [edx + 0x30]
test byte [ecx], 0x20
jne 0x45d00c
inc eax
add ecx, 0x48
cmp eax, dword [edx]
jl 0x45cffd
jmp 0x45d016
imul eax, eax, 0x48
mov eax, dword [eax + edx + 0x34]
mov dword [ebp - 0x30], eax
mov ecx, dword [edi + 0x28]
mov dword [ebp - 0x2c], ecx
lea eax, [ecx + 1]
mov dword [edi + 0x28], eax
cmp byte [esi + 4], 0x74
jne 0x45d043
cmp dword [ebp - 0x28], 0
push 6
pop edx
mov dword [ebp - 0x24], 8
cmovne edx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
inc eax
mov dword [edi + 0x28], eax
jmp 0x45d050
cmp dword [ebp - 0x28], 0
push 5
pop edx
push 7
pop eax
cmovne edx, eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.0045b0ac
add esp, 4
mov ecx, ebx
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x40]
push eax
push dword [ebp - 0x30]
push 0x71
pop edx
call fcn.0043669d
add esp, 0xc
cmp dword [ebp - 0x28], 0
je 0x45d0b0
push ecx
mov edx, esi
mov ecx, edi
call fcn.0045cea2
pop ecx
push 0xfffffffffffffff7
push eax
mov eax, dword [ebp - 0x28]
mov ecx, ebx
push 0
mov eax, dword [eax]
add eax, 2
push eax
push dword [ebp - 0x2c]
push 0x6e
pop edx
call fcn.004367ed
mov eax, dword [ebp - 0x28]
add esp, 0x14
mov dword [ebp - 0xc], eax
jmp 0x45d0c2
push dword [ebp - 0x40]
mov ecx, ebx
push dword [ebp - 0x2c]
push 0x6e
pop edx
call fcn.00436721
pop ecx
pop ecx
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x45d0df
push 0
push eax
push 0x6e
pop edx
mov ecx, ebx
call fcn.00436721
pop ecx
mov dword [esi + 0x14], eax
or dword [esi + 8], 0x20
pop ecx
mov ecx, dword [ebp - 0x34]
and dword [esi + 0x2c], 0
push 0x4b04ac
push 1
and dword [ecx + 0x34], 0
push edi
call fcn.0043687e
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x20]
add esp, 0xc
mov ecx, edi
push eax
call fcn.0045fbf7
pop ecx
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x34], esi
test eax, eax
jne 0x45d218
push dword [ebp - 0x38]
mov ecx, ebx
push dword [ebp - 0x2c]
push 0x25
pop edx
call fcn.00436721
push dword [ebp - 0x30]
mov ecx, ebx
mov dword [ebp - 0x3c], eax
push 0x7e
pop edx
call fcn.0043670d
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov ecx, ebx
push dword [ebp - 0x24]
test eax, eax
je 0x45d15a
mov eax, dword [eax]
inc eax
push eax
push dword [ebp - 0x2c]
push 0x62
pop edx
call fcn.0043669d
add esp, 0xc
jmp 0x45d167
push dword [ebp - 0x2c]
push 0x7c
pop edx
call fcn.00436721
pop ecx
pop ecx
push dword [ebp - 0x2c]
mov ecx, ebx
push 0x78
pop edx
call fcn.0043670d
pop ecx
mov ecx, ebx
call fcn.0043696d
mov edx, dword [ebp - 0x44]
mov ecx, ebx
push eax
mov dword [ebp - 0x24], eax
call fcn.0045b9ff
pop ecx
push dword [ebp - 0x38]
mov edx, esi
mov ecx, edi
push dword [ebp - 0x24]
push dword [ebp - 0x48]
push 0
push 0
push dword [ebp - 0x30]
call fcn.0045ba8c
mov eax, dword [ebp - 0x4c]
add esp, 0x18
test eax, eax
je 0x45d1be
push dword [ebp - 0x38]
mov ecx, ebx
push eax
push 0x3b
pop edx
call fcn.00436721
pop ecx
pop ecx
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.004369af
test byte [esi + 8], 8
je 0x45d1dc
push 0x4b04b4
push edi
call fcn.00420c98
pop ecx
jmp 0x45d203
and dword [esi + 0x30], 0
push 0x4b04e0
push 1
push edi
call fcn.0043687e
add esp, 0xc
lea eax, [ebp - 0x20]
mov edx, esi
mov ecx, edi
push eax
call fcn.0045fbf7
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x30], eax
mov edx, dword [ebp - 0x3c]
pop ecx
mov ecx, ebx
call fcn.00436736
mov edx, dword [ebp - 0x38]
mov ecx, ebx
call fcn.004369af
mov edx, dword [esi + 0x2c]
mov ecx, dword [edi]
call fcn.0044611f
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x38], eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476874
mov esp, ebp
pop ebp
ret