Function at 0x450e70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
mov ecx, 0xc
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0xc], esi
mov esi, 0x4cc320
mov dword [esp + 0x10], edi
lea edi, [esp + 0x54]
mov dword [esp + 4], ebx
mov dword [esp + 0x8c], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x7c], ecx
xor ebx, ebx
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x80], edx
push ebp
lea eax, [esp + 0x58]
call fcn.0043a77c
test al, al
je 0x4511c0
cmp ebx, 2
jne 0x450f15
cmp byte [esp + 0x69], 0
jne 0x450f15
cmp dword [esp + 0x9c], 0
sete cl
mov edx, 0x4511dc
mov edi, 0x4cc290
push ecx
lea esi, [esp + 0x94]
mov eax, 0x1e7
push edx
push esi
push edi
push 0x37
call fcn.00411320
jmp 0x4511c0
mov ecx, dword [esp + 0x54]
cmp ecx, 0x7fffffff
jne 0x450f5b
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov eax, esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
push ebx
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.00451214
mov edi, eax
test eax, eax
jns 0x450f54
or byte [esp + 0x6b], 1
neg edi
mov dword [esp + 0x54], edi
inc ebx
jmp 0x450fb2
test ecx, ecx
jns 0x450fb2
mov edx, dword [esp + 0x94]
neg ecx
mov eax, esi
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x28], edx
lea edx, [ecx - 1]
mov dword [esp + 0x88], ecx
push edx
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.00451214
mov edi, eax
cmp ebx, dword [esp + 0x88]
jae 0x450fa3
mov ebx, dword [esp + 0x88]
test edi, edi
jns 0x450fae
or byte [esp + 0x6b], 1
neg edi
mov dword [esp + 0x54], edi
mov ecx, dword [esp + 0x58]
cmp ecx, 0x7fffffff
jne 0x450ffb
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov eax, esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
push ebx
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.00451324
mov edi, eax
test eax, eax
js 0x450ff0
mov dword [esp + 0x58], edi
jmp 0x450ff8
mov dword [esp + 0x58], 0x7ffffffe
inc ebx
jmp 0x451052
test ecx, ecx
jns 0x451052
mov edx, dword [esp + 0x94]
mov edi, ecx
neg edi
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x98]
lea ecx, [edi - 1]
mov dword [esp + 0x40], edx
mov eax, esi
push ecx
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.00451324
cmp ebx, edi
mov dword [esp + 0x84], eax
jae 0x451039
mov ebx, edi
mov edi, dword [esp + 0x84]
test edi, edi
js 0x45104a
mov dword [esp + 0x58], edi
jmp 0x451052
mov dword [esp + 0x58], 0x7ffffffe
cmp dword [esp + 0x5c], 0x7fffffff
jne 0x451087
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov eax, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
push ebx
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.00451434
inc ebx
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x60], 0x7fffffff
jne 0x4510ac
push ebx
mov eax, esi
push dword [esp + 0x9c]
push dword [esp + 0x9c]
call fcn.00451544
inc ebx
mov dword [esp + 0x64], eax
cmp ebx, 2
jne 0x4510e9
cmp byte [esp + 0x69], 0
jne 0x4510e9
cmp dword [esp + 0x9c], 0
sete cl
mov edx, 0x4511f8
mov edi, 0x4cc290
push ecx
lea esi, [esp + 0x94]
mov eax, 0x22c
push edx
push esi
push edi
push 0x37
call fcn.00411320
jmp 0x4511c0
cmp byte [esp + 0x69], 0
mov eax, ebx
je 0x4510fa
movzx eax, byte [esp + 0x69]
dec eax
jmp 0x4510fb
inc ebx
test eax, eax
je 0x451106
cmp eax, 1
je 0x45114d
jmp 0x45116e
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
push ebp
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x5c]
call fcn.0043affc
movzx edx, byte [esp + 0x6a]
cmp ebx, edx
jae 0x451142
mov ebx, edx
cmp byte [esp + 0x6a], 1
jbe 0x450ec6
push ebp
push esi
lea eax, [esp + 0x5c]
call fcn.00451654
movzx ecx, byte [esp + 0x6a]
cmp ebx, ecx
jae 0x451163
mov ebx, ecx
cmp byte [esp + 0x6a], 2
jbe 0x450ec6
mov dword [esp], 0x4d7d90
call fcn.00462d20
mov esi, 0x4cc2d0
mov edi, 0x4cc2f0
push esi
mov ebx, eax
mov eax, 2
push 0x16
push dword [esp + 0x71]
push 0x24
push dword [esp + 0x78]
push edi
push 0xf
call fcn.00415484
push edx
mov edx, 0x4cc290
push eax
mov eax, ebx
push edx
push 0x37
push 0x253
push 0
call fcn.00466af4
mov dword [esp], eax
call fcn.00463074
mov eax, ebx
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
add esp, 0x90
ret 0x14