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

Disassembly:
push 0xffffffffffffffff
push 0x45ead3
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47a468]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x128]
mov edi, ecx
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0x44]
push eax
xor ebx, ebx
push ecx
mov dword [esp + 0x4c], ebx
call fcn.0042f994
mov edx, dword [esp + 0x44]
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], edx
lea eax, [esp + 0x58]
mov dword [esp + 0x110], ebx
push eax
mov dword [esp + 0x5c], ebx
call fcn.0042f9a0
mov dword [esp + 0x5c], eax
mov byte [esp + 0x110], 1
fld1
cmp byte [0x47dadb], bl
je 0x45b5c9
fst dword [0x47fb58]
mov byte [0x47dadb], bl
fst dword [0x47fb70]
fst dword [0x47fb88]
fst dword [0x47fbb8]
fldz
fld st(0)
fld dword [esp + 0x134]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x45b645
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x45b604
fstp st(0)
fstp st(0)
fld dword [0x46e0c0]
fstp dword [esp + 0x134]
fld dword [esp + 0x134]
jmp 0x45b621
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x45b61f
fstp st(0)
fstp dword [esp + 0x134]
fld dword [esp + 0x134]
jmp 0x45b621
fstp st(1)
mov ecx, dword [esp + 0x58]
fstp dword [0x47fba0]
push ebx
push ebx
push 0x47fb58
push 1
push ebx
push ecx
call fcn.0042f9ac
cmp eax, ebx
je 0x45b64b
mov dword [esp + 0x5c], eax
jmp 0x45b64b
fstp st(0)
fstp st(1)
fstp st(0)
cmp edi, ebx
je 0x45b7ae
mov eax, dword [edi + 4]
lea edx, [esp + 0x78]
push edx
push eax
mov dword [esp + 0x80], ebx
call fcn.0042f9b8
cmp eax, ebx
je 0x45b66f
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x9c]
push edx
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0xa4], ebx
call fcn.0042f9be
cmp eax, ebx
je 0x45b696
mov dword [edi + 8], eax
mov esi, dword [esp + 0x120]
fild dword [esi]
mov ecx, dword [esp + 0x9c]
test ecx, ecx
fstp dword [esp + 0x3c]
fild dword [esi + 4]
fstp dword [esp + 0x2c]
fild dword [esp + 0x9c]
jge 0x45b6c2
fadd dword [0x46e0a8]
mov edx, dword [esp + 0x18]
fstp dword [esp + 0x24]
test edx, edx
fild dword [esp + 0x18]
jge 0x45b6d8
fadd dword [0x46e0a8]
mov ecx, dword [edi + 4]
fstp dword [esp + 0x54]
lea eax, [esp + 0x90]
push eax
push ecx
mov dword [esp + 0x98], ebx
call fcn.0042f9b8
cmp eax, ebx
je 0x45b6fb
mov dword [edi + 8], eax
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x90]
lea eax, [esp + 0x8c]
push eax
push ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x94], ebx
call fcn.0042f9be
cmp eax, ebx
je 0x45b725
mov dword [edi + 8], eax
mov edx, dword [esp + 0x8c]
fild dword [esp + 0x8c]
test edx, edx
jge 0x45b73d
fadd dword [0x46e0a8]
mov eax, dword [esp + 0x18]
fstp dword [esp + 0x20]
test eax, eax
fild dword [esp + 0x18]
push ebx
push ebx
push ebx
push 2
jge 0x45b758
fadd dword [0x46e0a8]
mov ecx, dword [edi + 4]
sub esp, 0x20
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x74]
fld dword [esp + 0x50]
fstp dword [esp + 0x18]
fldz
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [esp + 0x84]
fstp dword [esp + 0xc]
fld dword [esp + 0x54]
fstp dword [esp + 8]
fld dword [esp + 0x5c]
fstp dword [esp + 4]
fld dword [esp + 0x6c]
fstp dword [esp]
push ecx
push edx
call fcn.0042f9b2
cmp eax, ebx
je 0x45b7b5
mov dword [esp + 0x88], eax
jmp 0x45b7b5
mov esi, dword [esp + 0x120]
cmp ebp, ebx
je 0x45b944
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x98]
push eax
push ecx
mov dword [esp + 0xa0], ebx
call fcn.0042f9b8
cmp eax, ebx
je 0x45b7dc
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x98]
lea eax, [esp + 0xa0]
push eax
push ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0xa8], ebx
call fcn.0042f9be
cmp eax, ebx
je 0x45b806
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0xa0]
lea eax, [esp + 0xa4]
push eax
push ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0xac], ebx
call fcn.0042f9be
cmp eax, ebx
je 0x45b830
mov dword [ebp + 8], eax
mov edx, dword [esi + 8]
sub edx, dword [esp + 0xa4]
test edx, edx
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
jge 0x45b84c
fadd dword [0x46e0a8]
mov eax, dword [esp + 0x18]
fstp dword [esp + 0x2c]
test eax, eax
fild dword [esi + 4]
fstp dword [esp + 0x24]
fild dword [esp + 0x18]
jge 0x45b869
fadd dword [0x46e0a8]
mov ecx, dword [esp + 0x20]
fstp dword [esp + 0x50]
test ecx, ecx
fild dword [esp + 0x20]
jge 0x45b87f
fadd dword [0x46e0a8]
mov eax, dword [ebp + 4]
fstp dword [esp + 0x54]
lea edx, [esp + 0x74]
push edx
push eax
mov dword [esp + 0x7c], ebx
call fcn.0042f9b8
cmp eax, ebx
je 0x45b89c
mov dword [ebp + 8], eax
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x7c]
push edx
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x84], ebx
call fcn.0042f9be
cmp eax, ebx
je 0x45b8c0
mov dword [ebp + 8], eax
mov ecx, dword [esp + 0x7c]
fild dword [esp + 0x7c]
test ecx, ecx
jge 0x45b8d2
fadd dword [0x46e0a8]
mov edx, dword [esp + 0x18]
fstp dword [esp + 0x20]
test edx, edx
fild dword [esp + 0x18]
push ebx
push ebx
push ebx
push 2
jge 0x45b8ed
fadd dword [0x46e0a8]
mov eax, dword [ebp + 4]
sub esp, 0x20
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x74]
fld dword [esp + 0x50]
fstp dword [esp + 0x18]
fldz
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [esp + 0x84]
fstp dword [esp + 0xc]
fld dword [esp + 0x80]
fstp dword [esp + 8]
fld dword [esp + 0x54]
fstp dword [esp + 4]
fld dword [esp + 0x5c]
fstp dword [esp]
push eax
push ecx
call fcn.0042f9b2
cmp eax, ebx
je 0x45b944
mov dword [esp + 0x88], eax
cmp dword [esp + 0x124], ebx
je 0x45beea
cmp edi, ebx
jne 0x45b95b
mov dword [esp + 0x38], ebx
jmp 0x45b985
mov eax, dword [edi + 4]
lea edx, [esp + 0xa8]
push edx
push eax
mov dword [esp + 0xb0], ebx
call fcn.0042f9be
cmp eax, ebx
je 0x45b97a
mov dword [edi + 8], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x38], ecx
cmp ebp, ebx
jne 0x45b98d
xor eax, eax
jmp 0x45b9b3
mov eax, dword [ebp + 4]
lea edx, [esp + 0x94]
push edx
push eax
mov dword [esp + 0x9c], ebx
call fcn.0042f9be
cmp eax, ebx
je 0x45b9ac
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x94]
mov ebp, dword [esi + 8]
sub ebp, dword [esi]
mov edx, dword [esp + 0x124]
sub ebp, eax
mov eax, dword [edx + 4]
sub ebp, dword [esp + 0x38]
lea ecx, [esp + 0x70]
push ecx
push eax
mov dword [esp + 0x78], ebx
call fcn.0042f9b8
cmp eax, ebx
mov edi, dword [esp + 0x124]
je 0x45b9e5
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
cmp dword [esp + 0x70], eax
ja 0x45ba0e
mov edx, dword [edi + 4]
lea ecx, [esp + 0x30]
push ecx
push edx
mov dword [esp + 0x38], ebx
call fcn.0042f9b8
cmp eax, ebx
je 0x45ba0a
mov dword [edi + 8], eax
mov eax, dword [esp + 0x30]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x80]
push ecx
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x88], ebx
call fcn.0042f9be
cmp eax, ebx
je 0x45ba31
mov dword [edi + 8], eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
cmp dword [esp + 0x80], eax
ja 0x45ba5c
mov ecx, dword [edi + 4]
lea eax, [esp + 0x3c]
push eax
push ecx
mov dword [esp + 0x44], ebx
call fcn.0042f9be
cmp eax, ebx
je 0x45ba58
mov dword [edi + 8], eax
mov eax, dword [esp + 0x3c]
mov edx, dword [esi]
add edx, dword [esp + 0x38]
test eax, eax
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
mov dword [esp + 0x1c], eax
fstp dword [esp + 0x20]
fild dword [esi + 4]
fstp dword [esp + 0x18]
fld dword [esp + 0x20]
fstp dword [esp + 0x60]
fld dword [esp + 0x18]
fstp dword [esp + 0x64]
fild dword [esp + 0x1c]
jge 0x45ba97
fadd dword [0x46e0a8]
mov eax, dword [esp + 0x30]
fstp dword [esp + 0x68]
test eax, eax
fild dword [esp + 0x30]
jge 0x45baad
fadd dword [0x46e0a8]
mov ecx, dword [esp + 0x60]
fstp dword [esp + 0x6c]
fld dword [esp + 0x68]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
fld st(0)
fld qword [esp + 0x138]
mov dword [esp + 0x50], eax
fmul st(1), st(0)
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x6c]
fxch st(1)
mov dword [esp + 0x54], ecx
fstp dword [esp + 0x50]
mov dword [esp + 0x4c], edx
fmul dword [esp + 0x54]
fstp dword [esp + 0x54]
fldz
fld dword [esp + 0x134]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x45be52
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
fstp st(2)
or eax, 0xc00
fstp st(0)
mov dword [esp + 0x18], eax
fmul qword [0x46e0b0]
mov eax, dword [esp + 0x118]
fldcw word [esp + 0x18]
push eax
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3b], bl
fistp dword [esp + 0x1c]
mov dl, byte [esp + 0x1c]
mov byte [esp + 0x3a], dl
fldcw word [esp + 0x2c]
call dword [0x465494]
mov edi, eax
push edi
call dword [0x465070]
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x124]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov dword [esp + 0x34], ebx
call fcn.0042f9b8
cmp eax, ebx
je 0x45bb82
mov ecx, dword [esp + 0x124]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x124]
lea eax, [esp + 0x24]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 4]
push eax
push edx
mov dword [esp + 0x2c], ebx
call fcn.0042f9be
cmp eax, ebx
je 0x45bbb1
mov ecx, dword [esp + 0x124]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push edx
push eax
push edi
call dword [0x465074]
mov ecx, dword [esp + 0x40]
push eax
push ecx
mov dword [esp + 0x24], eax
call dword [0x465094]
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x30], ebx
call fcn.0042f994
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xac], ecx
mov eax, dword [esp + 0x124]
mov byte [esp + 0x110], 4
mov ecx, dword [eax + 4]
lea edx, [esp + 0x20]
push edx
push ecx
mov dword [esp + 0x28], ebx
call fcn.0042f9b8
cmp eax, ebx
je 0x45bc26
mov edx, dword [esp + 0x124]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x124]
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 4]
push ecx
push eax
mov dword [esp + 0x20], ebx
call fcn.0042f9be
cmp eax, ebx
je 0x45bc55
mov ecx, dword [esp + 0x124]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x18]
fild dword [esp + 0x18]
test edx, edx
jge 0x45bc67
fadd dword [0x46e0a8]
mov eax, dword [esp + 0x24]
fstp dword [esp + 0x18]
test eax, eax
fild dword [esp + 0x24]
jge 0x45bc7d
fadd dword [0x46e0a8]
fstp dword [esp + 0x54]
push ebx
fld dword [esp + 0x70]
push ebx
mov ecx, dword [esp + 0x12c]
push ebx
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x34]
push 2
sub esp, 0x20
fstp dword [esp + 0x1c]
fld dword [esp + 0x98]
fstp dword [esp + 0x18]
fild dword [esp + 0x160]
fstp dword [esp + 0x14]
fild dword [esp + 0x15c]
fstp dword [esp + 0x10]
fld dword [esp + 0x84]
fstp dword [esp + 0xc]
fld dword [esp + 0x48]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
push edx
push eax
call fcn.0042f9b2
cmp eax, ebx
je 0x45bcee
mov dword [esp + 0xb0], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x44]
sub eax, ecx
push eax
push ebp
push ebx
push ebx
push edx
push eax
mov eax, dword [esi]
add eax, dword [esp + 0x54]
push ebp
push ecx
mov ecx, dword [esp + 0x140]
push eax
push ecx
call dword [0x465308]
mov edx, dword [esp + 0x118]
push edi
push edx
call dword [0x465498]
movzx eax, byte [esp + 0x36]
push eax
lea esi, [esp + 0xf0]
call fcn.0042bcc0
push eax
mov ecx, str.AlphaBlend_
lea edi, [esp + 0xd8]
mov byte [esp + 0x118], 5
call fcn.00422b60
add esp, 8
mov edi, 0x10
mov byte [esp + 0x110], 6
cmp dword [eax + 0x18], edi
jb 0x45bd71
mov edx, dword [eax + 4]
jmp 0x45bd74
lea edx, [eax + 4]
mov ebp, 0xf
mov eax, edx
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x45bd93
sub eax, esi
push eax
push edx
lea ecx, [esp + 0xbc]
call fcn.00405eb1
cmp dword [esp + 0xcc], edi
jb 0x45bdc5
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.0042fa12
add esp, 4
cmp dword [esp + 0xe8], edi
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
jb 0x45bdf3
mov edx, dword [esp + 0xd4]
push edx
call fcn.0042fa12
add esp, 4
cmp dword [esp + 0x104], edi
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
jb 0x45be21
mov eax, dword [esp + 0xf0]
push eax
call fcn.0042fa12
add esp, 4
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0042f99a
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x45be3a
push eax
call dword [0x4650a0]
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x45beea
push eax
call dword [0x465090]
jmp 0x45beea
fucompp
fnstsw ax
test ah, 0x44
jnp 0x45be5f
lea ebx, [esp + 0x58]
fld dword [esp + 0x6c]
sub esp, 0x10
fstp dword [esp + 0xc]
mov ecx, ebx
lea eax, [esp + 0x58]
fstp dword [esp + 8]
lea esi, [esp + 0x94]
fild dword [esp + 0x140]
fstp dword [esp + 4]
fild dword [esp + 0x13c]
fstp dword [esp]
call fcn.00422c90
mov edi, dword [esp + 0x120]
fld dword [esp + 0x6c]
mov esi, dword [edi + 4]
push 0xcc0020
call fcn.0045e3d0
fld dword [esp + 0x6c]
push eax
call fcn.0045e3d0
fld dword [esp + 0x20]
push eax
call fcn.0045e3d0
fld dword [esp + 0x2c]
push eax
call fcn.0045e3d0
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
add ecx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x130]
push eax
sub edx, esi
push edx
push ebp
push esi
push ecx
push eax
call dword [0x46506c]
mov edx, dword [esp + 0x58]
push edx
call fcn.0042f9a6
mov eax, dword [esp + 0x84]
push eax
call fcn.0042f99a
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 0x28