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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x94
mov ebx, edx
mov edi, ecx
mov eax, dword [0x4c1074]
xor eax, esp
mov dword [esp + 0x90], eax
mov esi, 0x1400
mov dword [esp + 0x44], esi
xor ebp, ebp
mov dword [esp + 0x48], ebp
push ebp
push 2
push esi
call fcn.004116c4
add esp, 0xc
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
push ebp
push 4
push esi
call fcn.004116c4
add esp, 0xc
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
push ebp
mov ebp, dword [esp + 0xac]
push 8
push esi
call fcn.004116c4
add esp, 0xc
cmp byte [esp + 0xb4], 0
mov ecx, 0
cmovne ecx, ebp
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp ebp, dword [esp + 0xb0]
setl cl
xor edx, edx
cmp ebx, dword [esp + 0xac]
setl dl
mov dword [esp + 0x18], edx
cmove edx, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
lea eax, [edi + 0x60]
mov dword [esp + 0x1c], eax
sete byte [esp + 3]
cmp dl, 1
mov dword [esp + 4], edi
jne 0x45107e
lea esi, [esp + 0x44]
mov ecx, edi
mov edx, ebx
push 0
push 0x1890
call fcn.0044f60a
add esp, 8
mov dword [esp + 0x24], ebx
mov ecx, dword [edi + 0x12c]
mov dword [esp + 0x14], ecx
movzx edx, word [eax]
test dl, 0x10
mov dword [esp + 8], eax
mov dword [esp + 0x20], ebx
jne 0x450c86
xor eax, eax
test ecx, ecx
je 0x450cdd
mov edx, dword [esp + 8]
mov edx, dword [edx + 0x14]
lea edi, [ecx + ecx*4]
lea edx, [edx + edi*4]
add edx, 0xfffffffc
mov edi, dword [edx - 0x10]
cmp edi, 0x20
je 0x450c73
and edi, 0xfffffcff
cmp edi, 0xd820
jne 0x450cd7
cmp dword [edx], 0
jne 0x450cd7
cmp ebp, ecx
jge 0x450cd7
dec ecx
add edx, 0xffffffec
test ecx, ecx
jne 0x450c5d
jmp 0x450cd9
cmp byte [eax + 0x18], 0
mov eax, ecx
je 0x450ca8
lea eax, [ecx - 3]
cmp ecx, 3
mov dword [esp + 0xc], ebp
mov ebp, 0
cmovl eax, ebp
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x14], eax
test dl, 0x20
je 0x450cc2
lea edx, [esp + 0x14]
test eax, eax
jne 0x450cbf
mov dword [esp + 0x14], ecx
mov eax, ebx
lea edx, [esp + 0x24]
dec eax
mov dword [edx], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xb0]
jmp 0x450d08
mov eax, ecx
mov edi, dword [esp + 4]
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x14], eax
xor edx, edx
cmp eax, ecx
setl dl
xor eax, eax
cmp ebx, dword [esp + 0xac]
setl al
cmove eax, edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 8]
mov ebx, ecx
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
mov eax, ecx
cmovg eax, ebx
cmp byte [esp + 0xb4], 0
cmove eax, ecx
mov dword [esp + 0x38], eax
movzx eax, byte [esp + 0x10]
movzx ecx, byte [esp + 0x18]
cmovne eax, ecx
mov dword [esp + 0x2c], eax
xor eax, eax
cmp ebp, ebx
setl al
test byte [esp + 3], 1
mov dword [esp + 0x34], ecx
cmove eax, ecx
test al, 1
mov ebx, dword [esp + 0x20]
je 0x450fe2
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], eax
xor eax, eax
cmp ebp, dword [esp + 0x38]
setl al
xor ecx, ecx
cmp ebx, dword [esp + 0x30]
setl cl
cmove ecx, eax
cmp cl, 1
jne 0x450fe2
mov eax, dword [edx + 0x14]
lea ecx, [ebp*4]
add ecx, ebp
mov ecx, dword [eax + ecx*4]
cmp ecx, 0xdfff
jne 0x450d9b
mov ecx, dword [esp + 0xb0]
jmp 0x450fc8
mov dword [esp + 0xc], ebp
mov edx, ebp
mov ebx, ecx
lea ecx, [edx + edx*4]
mov ebp, dword [eax + ecx*4 + 4]
mov dword [esp + 0x18], ecx
movsd xmm0, qword [eax + ecx*4 + 8]
movsd qword [esp + 0x3c], xmm0
mov eax, ebx
and eax, 0xffffff00
cmp eax, 0xd800
mov ecx, ebx
je 0x450de1
cmp eax, 0xda00
je 0x450df4
cmp eax, 0xd900
jne 0x450e19
cmp byte [edi + 0x10f3], 0
je 0x450e05
mov eax, dword [edi + 0x1064]
movzx ecx, cl
lea eax, [eax + ecx*2]
add eax, 0x210
jmp 0x450e16
mov eax, dword [edi + 0x1064]
movzx ecx, cl
lea eax, [eax + ecx*2]
add eax, 0x10
jmp 0x450e16
mov eax, dword [edi + 0x1064]
movzx ecx, cl
lea eax, [eax + ecx*2]
add eax, 0x610
movzx ecx, word [eax]
mov eax, ecx
and eax, 0xffffff00
cmp eax, 0xdc00
je 0x450e41
cmp eax, 0xdd00
jne 0x450e55
mov eax, dword [edi + 0x1064]
movzx ecx, cl
lea eax, [eax + ecx*2]
add eax, 0x410
jmp 0x450e52
mov eax, dword [edi + 0x1064]
movzx ecx, cl
lea eax, [eax + ecx*2]
add eax, 0x810
movzx ecx, word [eax]
mov dword [esp + 0x10], edx
lea eax, [ecx - 0x10001]
cmp eax, 0xffffe
ja 0x450e91
lea ebx, [ecx + 0xff0000]
shr ebx, 0xa
or ebx, 0xd800
mov word [esp + 0x70], bx
mov eax, ecx
and eax, 0x3ff
or eax, 0xdc00
mov word [esp + 0x72], ax
lea eax, [esp + 0x74]
jmp 0x450e9c
mov word [esp + 0x70], cx
lea eax, [esp + 0x72]
mov ebx, ecx
mov word [eax], 0
mov eax, ecx
and eax, 0xfffffe00
cmp eax, 0xdc00
jne 0x450f5a
movzx eax, cl
cmp eax, 0x20
jb 0x450f5a
cmp eax, 0x7f
je 0x450f5a
mov eax, dword [edi + 0x1064]
mov edx, ecx
movsx ecx, dl
mov edi, edx
push ecx
push dword [eax + 8]
call fcn.00473c73
add esp, 8
mov ecx, edi
mov byte [esp + 0x64], cl
test al, al
je 0x450f0c
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xc], ecx
lea ecx, [ecx + ecx*4]
mov al, byte [eax + ecx*4]
mov byte [esp + 0x65], al
mov eax, 2
jmp 0x450f0f
xor eax, eax
inc eax
lea edx, [esp + 0x68]
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 0x1064]
push 4
push edx
push eax
lea eax, [esp + 0x70]
push eax
push 0
push dword [ecx + 8]
call fcn.00473ab2
add esp, 0x18
test eax, eax
jle 0x450f5a
mov edi, eax
add eax, edi
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00478390
add esp, 0xc
mov word [esp + edi*2 + 0x70], 0
movzx ebx, word [esp + 0x70]
test bx, bx
je 0x450f8d
lea edi, [esp + 0x72]
sub esp, 0xc
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 4], xmm0
mov dword [esp], ebp
movzx edx, bx
mov ecx, esi
call fcn.0045803a
add esp, 0xc
movzx ebx, word [edi]
add edi, 2
test bx, bx
jne 0x450f63
mov edx, dword [esp + 8]
mov eax, dword [edx + 0x14]
mov ecx, dword [esp + 0x18]
mov ecx, dword [eax + ecx*4 + 0x10]
test ecx, ecx
je 0x450fb5
mov edx, dword [esp + 0x10]
add edx, ecx
lea ecx, [edx + edx*4]
mov ebx, dword [eax + ecx*4]
mov edi, dword [esp + 4]
jmp 0x450da3
mov edi, dword [esp + 4]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xc]
inc ebp
xor eax, eax
cmp ebp, ecx
setl al
test byte [esp + 3], 1
cmove eax, dword [esp + 0x34]
test al, 1
jne 0x450d5a
test byte [esp + 0x2c], 1
je 0x45102f
sub esp, 0xc
mov ebp, dword [esp + 0x28]
movsd xmm0, qword [ebp]
movsd qword [esp + 4], xmm0
xor eax, eax
mov dword [esp], eax
mov ecx, esi
mov edx, 0xd
call fcn.0045803a
movsd xmm0, qword [ebp]
movsd qword [esp + 4], xmm0
xor eax, eax
mov dword [esp], eax
mov ecx, esi
mov edx, 0xa
call fcn.0045803a
mov edx, dword [esp + 0x14]
add esp, 0xc
inc ebx
cmp byte [edx + 0xc], 0
je 0x45104c
push dword [edx + 0x14]
mov ebp, edx
call fcn.00411739
add esp, 4
push ebp
call fcn.00411739
add esp, 4
xor eax, eax
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0xb0]
setl al
xor ecx, ecx
cmp ebx, dword [esp + 0xac]
sete byte [esp + 3]
setl cl
mov dword [esp + 0x18], ecx
cmove ecx, eax
mov ebp, edx
test cl, cl
jne 0x450c12
sub esp, 0xc
mov eax, dword [esp + 0x28]
movsd xmm0, qword [eax]
movsd qword [esp + 4], xmm0
mov dword [esp], 0
lea ecx, [esp + 0x50]
xor esi, esi
xor edx, edx
call fcn.0045803a
add esp, 0xc
mov edx, dword [esp + 0xc0]
test edx, edx
jle 0x45110e
mov edi, dword [esp + 0xbc]
movzx ebp, byte [esp + 0xb8]
xor ecx, ecx
mov ebx, ecx
mov eax, dword [edi + esi*4]
test eax, eax
je 0x4510fe
mov cl, 1
cmp eax, 1
je 0x451100
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 0x105c]
mov edx, dword [ecx]
push ebp
push dword [esp + 0x4c]
push dword [esp + 0x64]
push dword [esp + 0x60]
push dword [esp + 0x5c]
push eax
push ecx
call dword [edx + 0x2c]
mov edx, dword [esp + 0xdc]
add esp, 0x1c
mov ecx, ebx
inc esi
cmp edx, esi
jne 0x4510c2
test cl, 1
mov esi, dword [esp + 4]
jne 0x451134
push dword [esp + 0x4c]
call fcn.00411739
add esp, 4
push dword [esp + 0x54]
call fcn.00411739
add esp, 4
push dword [esp + 0x5c]
call fcn.00411739
add esp, 4
jmp 0x451186
push dword [esi + 0x1104]
call fcn.00411739
add esp, 4
push dword [esi + 0x1108]
call fcn.00411739
add esp, 4
push dword [esi + 0x110c]
call fcn.00411739
add esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x1104], eax
mov eax, dword [esp + 0x54]
mov dword [esi + 0x1108], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x110c], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x1110], eax
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00475893
add esp, 0x94
pop esi
pop edi
pop ebx
pop ebp
ret