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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x52ac58
push eax
mov dword fs:[0], esp
sub esp, 0x380
push ebx
push ebp
push esi
mov esi, dword [esp + 0x39c]
mov eax, 2
sub eax, esi
mov ebp, ecx
mov dword [ebp + 0x1f4], eax
mov eax, dword [ebp + 0x21c]
xor ebx, ebx
inc esi
cmp eax, ebx
push edi
je 0x45e49b
push eax
call fcn.0051647d
add esp, 4
push esi
lea ecx, [esp + 0x94]
push 0x538998
push ecx
mov dword [ebp + 0x21c], ebx
mov dword [ebp + 0x220], ebx
mov dword [ebp + 0x224], ebx
call fcn.00516fa5
lea edx, [esp + 0x19c]
push edx
lea eax, [esp + 0xa0]
push eax
call fcn.00410df0
push esi
lea ecx, [esp + 0xa8]
push 0x53897c
push ecx
call fcn.00516fa5
lea edx, [esp + 0xb0]
push edx
call fcn.004d40c0
push esi
mov dword [ebp + 0x1f8], eax
lea eax, [esp + 0xb8]
push 0x538960
push eax
call fcn.00516fa5
lea ecx, [esp + 0xc0]
push ecx
call fcn.004d40c0
mov edx, dword [eax + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x1f8]
mov ecx, dword [eax + 4]
mov dword [esp + 0x64], edx
mov dword [ebp + 0x200], ecx
mov edx, dword [eax + 8]
push 0x108
mov dword [ebp + 0x204], edx
call fcn.00516d2a
mov edi, eax
add esp, 0x38
mov dword [esp + 0x10], edi
cmp edi, ebx
mov dword [esp + 0x398], ebx
je 0x45e5cc
push 0x1c
call fcn.00515ff0
mov ebx, eax
add esp, 4
mov dword [esp + 0x24], ebx
xor eax, eax
cmp ebx, eax
mov byte [esp + 0x398], 1
je 0x45e5b8
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
lea eax, [esp + 0x1ac]
mov dword [esp + 0x30], esp
push eax
call fcn.00517b9f
add esp, 4
push eax
lea ecx, [esp + 0x1b0]
push ecx
mov ecx, esi
call fcn.0045c040
mov ecx, ebx
call fcn.00482e60
push 0
push eax
mov ecx, edi
mov byte [esp + 0x3a0], 0
call fcn.0046dd90
jmp 0x45e5ce
xor eax, eax
mov edx, dword [ebp + 0x1f4]
add edx, 6
imul edx, edx, 0x34
mov dword [edx + ebp], eax
mov eax, dword [ebp + 0x204]
cdq
sub eax, edx
sar eax, 1
add eax, 0x32
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x200]
cdq
fild dword [esp + 0x14]
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
mov ecx, 7
lea esi, [esp + 0x3c]
fild dword [esp + 0x14]
lea edi, [esp + 0x58]
lea edx, [esp + 0x3c]
mov dword [esp + 0x398], 0xffffffff
fstp dword [esp + 0x3c]
fst dword [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x3c]
fchs
fstp dword [esp + 0x58]
fchs
fstp dword [esp + 0x5c]
mov ecx, 7
lea esi, [esp + 0x58]
lea edi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x78]
fadd dword [0x533058]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0x44160000
mov ecx, 7
lea esi, [esp + 0x3c]
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x5c]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x1f4]
add eax, 6
imul eax, eax, 0x34
mov ecx, 7
lea esi, [esp + 0x58]
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [eax + ebp]
push edx
call fcn.0046f2b0
mov edx, dword [ebp + 0x1f4]
mov ecx, dword [ebp + 0x1b4]
add edx, 6
imul edx, edx, 0x34
push 0
push ecx
mov ecx, dword [edx + ebp]
call fcn.00470e20
mov eax, dword [ebp + 0x204]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x14], ecx
je 0x45e988
lea ebx, [ebx]
mov edx, dword [ebp + 0x200]
xor eax, eax
test edx, edx
mov dword [esp + 0x1c], eax
je 0x45e975
jmp 0x45e700
cmp eax, dword [ebp + 0x200]
mov edx, dword [ebp + 0x1f8]
mov esi, dword [edx + 0x14]
jge 0x45e962
cmp ecx, dword [ebp + 0x204]
jge 0x45e962
test eax, eax
jl 0x45e962
test ecx, ecx
jl 0x45e962
mov edx, dword [edx + 0x10]
imul edx, ecx
add edx, esi
mov dl, byte [edx + eax]
cmp dl, 0x80
mov byte [esp + 0x24], dl
je 0x45e962
mov edx, dword [esp + 0x24]
push edx
push ecx
push eax
mov ecx, ebp
call fcn.0045e260
mov edx, dword [ebp + 0x1f4]
mov eax, dword [ebp + 0x20c]
imul edx, edx, 0x34
mov ecx, dword [ebp + 0x208]
lea esi, [edx + ebp + 0x128]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x34], ecx
jne 0x45e786
xor edx, edx
jmp 0x45e78e
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 3
test eax, eax
je 0x45e7bf
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 3
cmp edx, ecx
jae 0x45e7bf
mov eax, dword [esp + 0x10]
mov edi, dword [esi + 8]
push eax
push esi
lea ecx, [esp + 0x3c]
push ecx
push 1
push edi
call fcn.0045d5f0
add esp, 0x14
add edi, 8
mov dword [esi + 8], edi
jmp 0x45e7d1
mov eax, dword [esi + 8]
lea edx, [esp + 0x34]
push edx
push 1
push eax
mov ecx, esi
call fcn.0045dbe0
mov esi, dword [ebp + 0x210]
mov edx, dword [ebp + 0x208]
mov eax, dword [ebp + 0x20c]
mov ebx, dword [ebp + 0x214]
sub esi, edx
sub ebx, eax
inc esi
inc ebx
mov eax, ebx
imul eax, esi
lea edi, [eax*4]
push edi
mov dword [esp + 0x14], ebx
call fcn.00516094
mov edx, eax
mov ecx, edi
mov edi, edx
mov dword [esp + 0x1c], edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
xor eax, eax
mov edx, dword [ebp + 0x21c]
test edx, edx
mov dword [esp + 0x28], eax
jne 0x45e836
xor ecx, ecx
jmp 0x45e841
mov ecx, dword [ebp + 0x220]
sub ecx, edx
sar ecx, 3
cmp eax, ecx
je 0x45e8b9
mov ecx, dword [ebp + 0x21c]
mov edx, dword [esp + 0x20]
mov edx, dword [edx + 0x10]
mov edi, dword [esp + 0x30]
mov ebx, dword [ebp + 0x208]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
imul edx, eax
shr edx, 2
add edx, ecx
mov edx, dword [edi + edx*4]
sub eax, dword [ebp + 0x20c]
mov edi, edx
imul eax, esi
shr edi, 0x18
sub ecx, ebx
movzx ebx, dl
shl edi, 8
or edi, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
movzx edx, dh
shl edi, 8
or edi, edx
mov edx, dword [esp + 0x2c]
shr edx, 0x10
movzx edx, dl
add eax, ecx
mov ecx, dword [esp + 0x18]
shl edi, 8
or edi, edx
mov dword [ecx + eax*4], edi
mov eax, dword [esp + 0x28]
inc eax
jmp 0x45e824
push 0x1c
call fcn.00515ff0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x398], 2
je 0x45e8e8
mov edx, dword [esp + 0x18]
push 0x20
push ebx
push esi
push edx
mov ecx, eax
call fcn.00482bf0
jmp 0x45e8ea
xor eax, eax
mov ecx, dword [ebp + 0x1f4]
imul ecx, ecx, 0x34
mov esi, dword [ecx + ebp + 0x11c]
test esi, esi
lea ecx, [ecx + ebp + 0x118]
mov dword [esp + 0x398], 0xffffffff
mov dword [esp + 0x10], eax
jne 0x45e918
xor edi, edi
jmp 0x45e920
mov edi, dword [ecx + 8]
sub edi, esi
sar edi, 2
test esi, esi
je 0x45e93d
mov edx, dword [ecx + 0xc]
sub edx, esi
sar edx, 2
cmp edi, edx
jae 0x45e93d
mov edx, dword [ecx + 8]
mov dword [edx], eax
add edx, 4
mov dword [ecx + 8], edx
jmp 0x45e94d
mov eax, dword [ecx + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
call fcn.0045de30
mov eax, dword [esp + 0x18]
push eax
call fcn.00517a24
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
add esp, 4
mov edx, dword [ebp + 0x200]
inc eax
cmp eax, edx
mov dword [esp + 0x1c], eax
jne 0x45e700
mov eax, dword [ebp + 0x204]
inc ecx
cmp ecx, eax
mov dword [esp + 0x14], ecx
jne 0x45e6e0
xor ebx, ebx
lea ebx, [ebx]
mov ecx, dword [ebp + 0x1f4]
imul ecx, ecx, 0x34
lea eax, [ecx + ebp + 0x118]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x45e9ab
xor eax, eax
jmp 0x45e9b3
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
je 0x45ea6b
push 0x118
call fcn.00516d2a
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x398], 3
je 0x45e9fc
mov edx, dword [ebp + 0x1f4]
imul edx, edx, 0x34
lea ecx, [edx + ebp + 0x118]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + ebx*4]
push ebx
push ecx
mov ecx, eax
call fcn.0045d1d0
jmp 0x45e9fe
xor eax, eax
mov edx, dword [ebp + 0x1f4]
imul edx, edx, 0x34
mov esi, dword [edx + ebp + 0x10c]
test esi, esi
lea ecx, [edx + ebp + 0x108]
mov dword [esp + 0x398], 0xffffffff
mov dword [esp + 0x10], eax
jne 0x45ea2c
xor edi, edi
jmp 0x45ea34
mov edi, dword [ecx + 8]
sub edi, esi
sar edi, 2
test esi, esi
je 0x45ea55
mov edx, dword [ecx + 0xc]
sub edx, esi
sar edx, 2
cmp edi, edx
jae 0x45ea55
mov edx, dword [ecx + 8]
mov dword [edx], eax
add edx, 4
mov dword [ecx + 8], edx
inc ebx
jmp 0x45e990
mov eax, dword [ecx + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
call fcn.0045de30
inc ebx
jmp 0x45e990
mov eax, dword [esp + 0x20]
push eax
call fcn.004d38a0
mov ecx, dword [ebp + 0x1f8]
push ecx
call fcn.004d38a0
mov ecx, dword [esp + 0x398]
add esp, 8
pop edi
pop esi
mov dword [ebp + 0x1f8], 0
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38c
ret 4