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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x190
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 8]
mov dword [esp + 0x34], ecx
lea ecx, [ebp + 0xc]
mov dword [esp + 0x38], ecx
xorps xmm0, xmm0
movaps xmmword [esp + 0x170], xmm0
movaps xmmword [esp + 0x160], xmm0
movaps xmmword [esp + 0x150], xmm0
movaps xmmword [esp + 0x140], xmm0
mov word [esp + 0x46], 0
mov word [esp + 0x44], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x44]
lea edx, [esp + 0x46]
lea esi, [esp + 0x140]
lea edi, [esp + 0x48]
push ecx
push edx
push esi
push eax
push edi
call fcn.0045eaa0
add esp, 0x14
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x7c], 0x4853d0
mov dword [esp + 0x80], 0x580d20
mov dword [esp + 0x84], ebp
mov dword [esp + 0x8c], esp
mov dword [esp + 0x88], 0x45d9df
mov dword [esp + 0x68], 1
lea eax, [esp + 0x64]
push eax
call fcn.004863b0
add esp, 4
lea ecx, [esp + 0x20]
push 0
push 0xa
call fcn.00480060
fldz
fstp st(0)
test byte [esp + 0x20], 1
lea eax, [esp + 0x21]
je 0x45d472
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
mov dword [esp + 0x5c], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x130], xmm0
movaps xmmword [esp + 0x120], xmm0
movaps xmmword [esp + 0x110], xmm0
movaps xmmword [esp + 0x100], xmm0
movaps xmmword [esp + 0xf0], xmm0
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
lea eax, [esp + 0xa0]
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], 0
mov byte [esp + 0x17], 1
mov byte [esp + 0x1f], 0x45
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ecx, dword [eax]
mov esi, dword [edx]
jmp 0x45d782
fstp st(0)
test ecx, ecx
je 0x45d520
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x45d530
movzx eax, word [eax]
jmp 0x45d55b
mov dl, 1
xor ecx, ecx
jmp 0x45d56a
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x68], 2
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], ecx
call eax
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
fldz
fstp st(0)
cmp ax, 0xffff
sete dl
mov eax, 0
cmove ecx, eax
mov ebx, dword [esp + 0xc]
mov dword [esp + 8], ecx
test esi, esi
je 0x45d5d0
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x45d590
movzx eax, word [eax]
cmp ax, 0xffff
je 0x45d5d0
test dl, dl
jne 0x45d5da
jmp 0x45d78d
mov byte [esp + 0x30], dl
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x68], 3
mov ecx, esi
mov dword [esp + 0x10], esi
call eax
mov esi, dword [esp + 0x10]
fldz
fstp st(0)
mov ebx, dword [esp + 0xc]
movzx edx, byte [esp + 0x30]
cmp ax, 0xffff
jne 0x45d587
nop dword [eax]
xor esi, esi
test dl, dl
jne 0x45d78d
mov dword [esp + 0x18], esi
movzx ecx, byte [esp + 0x20]
test cl, 1
je 0x45d5f0
mov ecx, dword [esp + 0x24]
jmp 0x45d5f2
shr ecx, 1
lea eax, [ebx + ecx]
cmp dword [esp + 0x5c], eax
jne 0x45d662
mov dword [esp + 0xc], ecx
lea eax, [ecx + ecx]
mov dword [esp + 0x68], 4
lea ecx, [esp + 0x20]
push 0
push eax
call fcn.00480060
fldz
fstp st(0)
mov eax, dword [esp + 0x20]
and eax, 0xfffffffe
add eax, 0xffffffff
test byte [esp + 0x20], 1
mov ecx, 0xa
cmove eax, ecx
mov dword [esp + 0x68], 5
lea ecx, [esp + 0x20]
push 0
push eax
call fcn.00480060
fldz
fstp st(0)
test byte [esp + 0x20], 1
lea ebx, [esp + 0x21]
je 0x45d658
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
add eax, ebx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 8]
cmp eax, dword [ecx + 0x10]
mov dword [esp + 0xc], ebx
je 0x45d680
movzx eax, word [eax]
jmp 0x45d6af
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x68], 6
call eax
fldz
fstp st(0)
mov ebx, dword [esp + 0xc]
movzx ecx, word [esp + 0x46]
movzx edx, word [esp + 0x44]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x68], 7
movzx eax, ax
lea esi, [esp + 0x140]
push esi
lea esi, [esp + 0x64]
push esi
lea esi, [esp + 0x60]
push esi
lea esi, [esp + 0xac]
push esi
lea esi, [esp + 0x58]
push esi
push edx
push ecx
lea ecx, [esp + 0x78]
push ecx
push ebx
lea ecx, [esp + 0x43]
push ecx
lea ecx, [esp + 0x3f]
push ecx
push eax
call fcn.0045ec10
add esp, 0x30
fldz
fstp st(0)
mov esi, dword [esp + 0x18]
test eax, eax
jne 0x45d789
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 8]
cmp eax, dword [ecx + 0x10]
jne 0x45d770
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 8]
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x68], 8
call eax
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
fldz
jmp 0x45d500
add eax, 2
mov ecx, dword [esp + 8]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x18]
fldz
jmp 0x45d500
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 8]
mov dword [ecx], edx
mov dword [eax], esi
movzx eax, byte [esp + 0x48]
test al, 1
je 0x45d7ac
mov eax, dword [esp + 0x4c]
jmp 0x45d7ae
shr eax, 1
mov dword [esp + 0x10], esi
test eax, eax
je 0x45d7e1
cmp byte [esp + 0x17], 0
je 0x45d7e1
mov eax, dword [esp + 0x58]
mov ecx, eax
lea edx, [esp + 0xa0]
sub ecx, edx
cmp ecx, 0x9f
jg 0x45d7e1
mov ecx, dword [esp + 0x60]
lea edx, [eax + 4]
mov dword [esp + 0x58], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x68], 9
push dword [ebp + 0x14]
push eax
push ebx
call fcn.0047b390
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x18]
fstp xword [eax]
movzx edx, byte [esp + 0x48]
mov edi, edx
shr edi, 1
and dl, 1
mov esi, dword [esp + 0x4c]
mov eax, esi
cmove eax, edi
test eax, eax
je 0x45d8ed
mov ebx, edi
mov edi, dword [esp + 0x58]
lea ecx, [edi - 4]
lea eax, [esp + 0xa0]
cmp eax, edi
mov dword [esp + 0xc], ecx
je 0x45d876
cmp ecx, eax
jbe 0x45d876
lea ecx, [esp + 0xa4]
mov edx, dword [esp + 0xc]
nop word [eax + eax]
mov esi, dword [ecx - 4]
mov edi, dword [edx]
mov dword [ecx - 4], edi
mov dword [edx], esi
add edx, 0xfffffffc
lea esi, [ecx + 4]
cmp ecx, edx
mov ecx, esi
jb 0x45d850
movzx ebx, byte [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov edx, ebx
and dl, 1
shr ebx, 1
test dl, dl
mov ecx, dword [esp + 0x10]
je 0x45d88c
mov edx, dword [esp + 0x50]
mov ebx, esi
cmp dword [esp + 0xc], eax
ja 0x45d896
jmp 0x45d8cc
lea edx, [esp + 0x49]
cmp dword [esp + 0xc], eax
jbe 0x45d8cc
mov edi, ebx
add edi, edx
jmp 0x45d8b9
mov eax, edi
sub eax, edx
xor ebx, ebx
cmp eax, 2
setge bl
add edx, ebx
mov eax, esi
add eax, 4
cmp eax, dword [esp + 0xc]
jae 0x45d8cc
mov esi, eax
movzx ebx, byte [edx]
mov eax, ebx
add al, 0xff
cmp al, 0x7d
ja 0x45d8a0
cmp dword [esi], ebx
je 0x45d8a0
jmp 0x45d8e4
movzx edx, byte [edx]
mov eax, edx
add al, 0xff
cmp al, 0x7d
ja 0x45d8ed
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
add eax, 0xffffffff
cmp eax, edx
jb 0x45d8ed
mov eax, dword [ebp + 0x14]
mov dword [eax], 4
cmp dword [esp + 8], 0
je 0x45d944
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 8]
cmp eax, dword [edx + 0x10]
je 0x45d909
movzx eax, word [eax]
jmp 0x45d928
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], 0xa
call eax
mov ecx, dword [esp + 0x10]
fldz
fstp st(0)
xor edx, edx
mov esi, dword [esp + 8]
cmp ax, 0xffff
je 0x45d93a
test ecx, ecx
jne 0x45d94c
jmp 0x45d996
mov eax, dword [esp + 0x34]
mov dword [eax], 0
xor esi, esi
mov dl, 1
test ecx, ecx
je 0x45d996
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x45d963
movzx eax, word [eax]
cmp ax, 0xffff
je 0x45d98c
test dl, dl
je 0x45d99a
jmp 0x45d9a0
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x68], 0xb
call eax
fldz
fstp st(0)
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
cmp ax, 0xffff
jne 0x45d95d
mov eax, dword [esp + 0x38]
mov dword [eax], 0
test dl, dl
je 0x45d9a0
mov eax, dword [ebp + 0x14]
or byte [eax], 2
test byte [esp + 0x20], 1
je 0x45d9b3
push dword [esp + 0x28]
call fcn.00422980
add esp, 4
test byte [esp + 0x48], 1
je 0x45d9c6
push dword [esp + 0x50]
call fcn.00422980
add esp, 4
lea eax, [esp + 0x64]
push eax
call fcn.00486410
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14