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

Disassembly:
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x3c]
mov ecx, dword [ebx + 0x190]
push esi
mov esi, 1
xor eax, eax
cmp ecx, esi
mov ecx, dword [ebp + 0x190]
setne al
push edi
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1188]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x10], ecx
je 0x445317
cmp dword [ebp + 0x115c], edi
jne 0x445831
push ebx
push ebp
call fcn.004465f0
add esp, 8
mov dword [ebp + 0x115c], esi
mov dword [esp + 0x44], edi
xor edx, edx
lea ecx, [ebx + 0x10a8]
cmp dword [ecx], edi
je 0x44533b
mov eax, dword [ecx + 4]
and eax, dword [ebp + 0x1164]
test al, 7
je 0x44533b
test eax, 0xfffffff8
jne 0x445346
inc edx
add ecx, 0x14
cmp edx, 8
jge 0x44534a
jmp 0x445323
mov dword [esp + 0x44], esi
mov eax, dword [ebp + 0x11e8]
lea esi, [ebp + 0x1158]
cmp eax, 0xffffffff
jne 0x445361
mov dword [esp + 0x44], edi
jmp 0x44536b
cmp dword [esp + 0x44], edi
jne 0x445425
mov edx, dword [ebp + 0x220]
push ebx
push edx
call fcn.0043a050
add esp, 8
cmp eax, edi
mov dword [esp + 0x48], eax
jne 0x445413
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.00418f20
mov eax, dword [ebp + 0x220]
mov ecx, dword [ebp + 0x64]
push edi
lea edx, [esp + 0x2c]
push edi
push edx
push eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ecx
call fcn.00408a90
mov edi, eax
add esp, 0x18
cmp edi, 0xffffffff
je 0x445831
mov ecx, dword [ebp + 0x220]
test edi, edi
mov dword [esp + 0x48], ecx
jl 0x4453d2
cmp edi, dword [ecx + 0xc]
jl 0x445402
push 0x6e
push 0x4a9ea0
call fcn.00418f50
add esp, 4
push eax
push 0x4a9eb8
push 0x4b6d60
call fcn.00492257
push 0x4b6d60
call fcn.004187d0
mov ecx, dword [esp + 0x5c]
add esp, 0x14
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x14]
imul eax, edi
add eax, edx
xor edi, edi
mov dword [esp + 0x48], eax
mov dword [eax + 0x18], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0xc], edi
mov ecx, dword [esi + 0x10]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x9c]
mov ecx, dword [esp + 0x10]
mov dword [ebp + 0x1cc], edx
mov eax, dword [esi + 0xa0]
mov dword [ebx + 0x1cc], eax
mov eax, dword [ebx + 0x190]
cmp eax, ecx
push edi
je 0x445469
push 1
push ebp
call fcn.00439e30
mov edx, dword [ebx + 0x1248]
mov ecx, dword [esi + 0xf0]
add eax, edx
add esp, 0xc
add eax, ecx
jmp 0x445486
push 2
push ebp
call fcn.00439e30
mov edi, dword [ebx + 0x1248]
mov edx, dword [esi + 0xf0]
add eax, edi
add esp, 0xc
add eax, edx
neg eax
mov ecx, dword [ebp + 0x1c0]
mov edi, dword [0x4b5b4c]
sub eax, ecx
imul eax, dword [ebp + 0x190]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [ebp + 0x1348]
fiadd dword [edi + 0xb430]
fadd dword [ebp + 0x1354]
call fcn.004922ac
mov edx, dword [ebx + 0x124c]
mov ecx, dword [esi + 0xf4]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x1c4]
sub edx, eax
add edx, ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul dword [ebx + 0x1348]
fiadd dword [edi + 0xb434]
fadd dword [ebx + 0x1358]
call fcn.004922ac
mov edi, dword [esp + 0x44]
xor edx, edx
cmp edi, edx
mov dword [esp + 0x14], eax
jne 0x445568
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x1a4]
push edx
push edx
mov edx, dword [ebp + 0x1a0]
push eax
mov eax, dword [ebp + 0x19c]
push ecx
push edx
push eax
push esi
push ebx
push ebp
call fcn.00444260
mov eax, dword [ebx + 0x1070]
add esp, 0x24
test eax, eax
jne 0x445538
test byte [esi + 0x78], 1
je 0x44554e
mov eax, dword [esp + 0x48]
mov ecx, dword [esi + 0x34]
mov edx, dword [eax + 4]
sub edx, ecx
mov dword [eax + 4], edx
mov dword [esi + 0x34], 0
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x445566
mov edx, dword [ebp + 0x190]
neg edx
mov dword [ebp + 0x194], edx
xor edx, edx
mov eax, dword [esi + 0x54]
mov dword [ebp + 0xe1c], eax
mov ecx, dword [esi + 0x50]
mov dword [ebx + 0xe1c], ecx
mov eax, dword [0x4b5b4c]
mov eax, dword [eax + 0xbc30]
cmp eax, 3
je 0x4455ba
cmp eax, 4
je 0x4455ba
mov eax, dword [ebp + 0x170]
mov ecx, dword [esi + 0x40]
add dword [eax], ecx
mov eax, dword [ebp + 0x170]
cmp dword [eax], edx
jge 0x4455a6
mov dword [eax], edx
mov ecx, dword [ebp + 0x174]
mov eax, dword [ebp + 0x170]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x4455ba
mov dword [eax], ecx
mov eax, 0xfff
mov dword [ebx + 0xe30], 4
mov dword [ebx + 0xe34], edx
mov dword [ebx + 0x1000], eax
mov dword [ebx + 0xffc], eax
mov dword [ebx + 0x1004], edx
mov dword [ebx + 0x1008], edx
mov eax, dword [esi + 0x54]
mov dword [ebx + 0xff8], eax
mov eax, dword [esi + 0xc]
test eax, 0x1c0
je 0x445603
mov ecx, dword [esi + 0x54]
mov dword [ebp + 0xff8], ecx
mov eax, dword [esi + 0x58]
mov ecx, dword [ebp + 0x1398]
add ecx, eax
mov eax, dword [ebp + 0x139c]
mov dword [ebp + 0x1398], ecx
mov ecx, dword [esi + 0x58]
add eax, ecx
mov ecx, dword [ebp + 0x13a0]
mov dword [ebp + 0x139c], eax
mov eax, dword [esi + 0x58]
add ecx, eax
mov dword [ebp + 0xe30], 2
mov dword [ebp + 0x13a0], ecx
mov dword [ebp + 0xe34], edx
mov ecx, dword [esi + 0x58]
mov edx, dword [ebp + 0xc]
push ecx
push edx
call fcn.00421ef0
add esp, 8
test edi, edi
jne 0x445680
mov eax, dword [esi + 0x19c]
test eax, eax
jg 0x445669
cmp eax, 0xffffffff
jne 0x445680
add esi, 0x198
lea edi, [ebx + 0x25dc]
mov ecx, 0xf
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x123c]
mov edx, dword [esp + 0x14]
lea esi, [ebp + 0x1158]
push 0
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esi + 0xe0]
push edx
push eax
push ecx
push ebp
call fcn.00446750
add esp, 0x1c
test edi, edi
jne 0x445819
mov eax, dword [esi + 0x8c]
cmp eax, 0xffffffff
je 0x4456cd
mov dword [ebp + 0xbf4], eax
mov dword [ebp + 0xdfc], edi
mov eax, dword [esi + 0x94]
test eax, eax
je 0x445743
mov edx, dword [ebp + 0xbe8]
mov dword [ebx + 0xbec], edx
mov eax, dword [ebp + 8]
mov dword [ebx + 0xbf0], eax
mov ecx, dword [ebp + 0x964]
lea edx, [ebx + 0x968]
mov dword [ebx + 0x964], ecx
push edx
call fcn.00414300
mov eax, dword [ebp + 0xbec]
add esp, 4
test eax, eax
je 0x445723
mov dword [ebx + 0xbec], eax
mov eax, dword [ebp + 0xbf0]
mov dword [ebx + 0xbf0], eax
mov eax, dword [ebp + 0x13c0]
test eax, eax
jne 0x44573d
mov ecx, dword [ebp + 0x13bc]
mov edx, dword [ecx]
mov dword [ebx + 0x13c0], edx
jmp 0x445743
mov dword [ebx + 0x13c0], eax
cmp dword [esi + 0x90], 0xffffffff
je 0x4457f1
push 0
push ebx
call fcn.004465f0
mov ecx, dword [0x4b5b4c]
mov eax, dword [ebx + 4]
push eax
mov edx, dword [ecx + 0xa2e4]
push edx
call fcn.0041a6d0
mov ebp, dword [esi + 0x90]
add esp, 0x10
test ebp, ebp
mov edi, 1
je 0x4457b5
mov eax, dword [ebx + 0xbec]
push 0
test eax, eax
push ebp
jne 0x4457a4
mov eax, dword [ebx + 0xbe8]
mov ecx, dword [eax]
push ecx
call fcn.004090f0
add esp, 0xc
test eax, eax
jne 0x4457b5
jmp 0x4457b3
mov edx, dword [eax]
push edx
call fcn.004090f0
add esp, 0xc
test eax, eax
jne 0x4457b5
xor edi, edi
mov eax, dword [ebx + 0xbf4]
mov dword [ebx + 0xbf4], ebp
test edi, edi
mov dword [ebx + 0xbf8], eax
mov dword [ebx + 0xdfc], 0
jne 0x4457e7
mov ecx, eax
push ecx
push ebp
push str.changed_to_invalid_state__i__from_state__i__n
push ebx
call fcn.00415630
add esp, 0x10
mov dword [ebx + 0xe0c], 0
mov eax, dword [esp + 0x48]
mov edx, dword [esi + 0x98]
mov dword [eax + 0x18], edx
mov ecx, dword [esi + 0x10c]
mov dword [eax + 0xc], ecx
mov edx, dword [esi + 0x110]
mov dword [eax + 0x10], edx
mov ecx, dword [esi + 0x114]
mov dword [eax + 0x14], ecx
mov dword [ebx + 0x1158], 0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x445831
mov dword [esi + 4], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret