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

Disassembly:
push 0xffffffffffffffff
push 0x47fb29
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a6554]
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.0044536c
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.00445378
mov dword [esp + 0x5c], eax
mov byte [esp + 0x110], 1
fld1
cmp byte [0x4a7b55], bl
je 0x474269
fst dword [0x4a9c08]
mov byte [0x4a7b55], bl
fst dword [0x4a9c20]
fst dword [0x4a9c38]
fst dword [0x4a9c68]
fldz
fld st(0)
fld dword [esp + 0x134]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x4742e5
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x4742a4
fstp st(0)
fstp st(0)
fld dword [0x4900d8]
fstp dword [esp + 0x134]
fld dword [esp + 0x134]
jmp 0x4742c1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4742bf
fstp st(0)
fstp dword [esp + 0x134]
fld dword [esp + 0x134]
jmp 0x4742c1
fstp st(1)
mov ecx, dword [esp + 0x58]
fstp dword [0x4a9c50]
push ebx
push ebx
push 0x4a9c08
push 1
push ebx
push ecx
call fcn.00445384
cmp eax, ebx
je 0x4742eb
mov dword [esp + 0x5c], eax
jmp 0x4742eb
fstp st(0)
fstp st(1)
fstp st(0)
cmp edi, ebx
je 0x47444e
mov eax, dword [edi + 4]
lea edx, [esp + 0x78]
push edx
push eax
mov dword [esp + 0x80], ebx
call fcn.00445390
cmp eax, ebx
je 0x47430f
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.00445396
cmp eax, ebx
je 0x474336
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 0x474362
fadd dword [0x4900c8]
mov edx, dword [esp + 0x18]
fstp dword [esp + 0x24]
test edx, edx
fild dword [esp + 0x18]
jge 0x474378
fadd dword [0x4900c8]
mov ecx, dword [edi + 4]
fstp dword [esp + 0x54]
lea eax, [esp + 0x90]
push eax
push ecx
mov dword [esp + 0x98], ebx
call fcn.00445390
cmp eax, ebx
je 0x47439b
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.00445396
cmp eax, ebx
je 0x4743c5
mov dword [edi + 8], eax
mov edx, dword [esp + 0x8c]
fild dword [esp + 0x8c]
test edx, edx
jge 0x4743dd
fadd dword [0x4900c8]
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 0x4743f8
fadd dword [0x4900c8]
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.0044538a
cmp eax, ebx
je 0x474455
mov dword [esp + 0x88], eax
jmp 0x474455
mov esi, dword [esp + 0x120]
cmp ebp, ebx
je 0x4745e4
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x98]
push eax
push ecx
mov dword [esp + 0xa0], ebx
call fcn.00445390
cmp eax, ebx
je 0x47447c
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.00445396
cmp eax, ebx
je 0x4744a6
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.00445396
cmp eax, ebx
je 0x4744d0
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 0x4744ec
fadd dword [0x4900c8]
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 0x474509
fadd dword [0x4900c8]
mov ecx, dword [esp + 0x20]
fstp dword [esp + 0x50]
test ecx, ecx
fild dword [esp + 0x20]
jge 0x47451f
fadd dword [0x4900c8]
mov eax, dword [ebp + 4]
fstp dword [esp + 0x54]
lea edx, [esp + 0x74]
push edx
push eax
mov dword [esp + 0x7c], ebx
call fcn.00445390
cmp eax, ebx
je 0x47453c
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.00445396
cmp eax, ebx
je 0x474560
mov dword [ebp + 8], eax
mov ecx, dword [esp + 0x7c]
fild dword [esp + 0x7c]
test ecx, ecx
jge 0x474572
fadd dword [0x4900c8]
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 0x47458d
fadd dword [0x4900c8]
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.0044538a
cmp eax, ebx
je 0x4745e4
mov dword [esp + 0x88], eax
cmp dword [esp + 0x124], ebx
je 0x474b98
cmp edi, ebx
jne 0x4745fb
mov dword [esp + 0x38], ebx
jmp 0x474625
mov eax, dword [edi + 4]
lea edx, [esp + 0xa8]
push edx
push eax
mov dword [esp + 0xb0], ebx
call fcn.00445396
cmp eax, ebx
je 0x47461a
mov dword [edi + 8], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x38], ecx
cmp ebp, ebx
jne 0x47462d
xor eax, eax
jmp 0x474653
mov eax, dword [ebp + 4]
lea edx, [esp + 0x94]
push edx
push eax
mov dword [esp + 0x9c], ebx
call fcn.00445396
cmp eax, ebx
je 0x47464c
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.00445390
cmp eax, ebx
mov edi, dword [esp + 0x124]
je 0x474685
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
cmp dword [esp + 0x70], eax
ja 0x4746ae
mov edx, dword [edi + 4]
lea ecx, [esp + 0x30]
push ecx
push edx
mov dword [esp + 0x38], ebx
call fcn.00445390
cmp eax, ebx
je 0x4746aa
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.00445396
cmp eax, ebx
je 0x4746d1
mov dword [edi + 8], eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
cmp dword [esp + 0x80], eax
ja 0x4746fc
mov ecx, dword [edi + 4]
lea eax, [esp + 0x3c]
push eax
push ecx
mov dword [esp + 0x44], ebx
call fcn.00445396
cmp eax, ebx
je 0x4746f8
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 0x474737
fadd dword [0x4900c8]
mov eax, dword [esp + 0x30]
fstp dword [esp + 0x68]
test eax, eax
fild dword [esp + 0x30]
jge 0x47474d
fadd dword [0x4900c8]
mov ecx, dword [esp + 0x60]
fstp dword [esp + 0x6c]
fld qword [esp + 0x138]
mov eax, dword [esp + 0x68]
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x64]
fld dword [esp + 0x24]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x6c]
fld st(0)
fld dword [esp + 0x68]
mov dword [esp + 0x50], eax
fld st(0)
mov dword [esp + 0x54], ecx
fmulp st(2)
mov dword [esp + 0x4c], edx
fxch st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x54]
fldz
fld dword [esp + 0x134]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x474b00
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 [0x4900d0]
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 [0x484434]
mov edi, eax
push edi
call dword [0x484094]
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.00445390
cmp eax, ebx
je 0x474830
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.00445396
cmp eax, ebx
je 0x47485f
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 [0x484098]
mov ecx, dword [esp + 0x40]
push eax
push ecx
mov dword [esp + 0x24], eax
call dword [0x484084]
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x30], ebx
call fcn.0044536c
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.00445390
cmp eax, ebx
je 0x4748d4
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.00445396
cmp eax, ebx
je 0x474903
mov ecx, dword [esp + 0x124]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x18]
fild dword [esp + 0x18]
test edx, edx
jge 0x474915
fadd dword [0x4900c8]
mov eax, dword [esp + 0x24]
fstp dword [esp + 0x18]
test eax, eax
fild dword [esp + 0x24]
jge 0x47492b
fadd dword [0x4900c8]
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.0044538a
cmp eax, ebx
je 0x47499c
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 [0x48433c]
mov edx, dword [esp + 0x118]
push edi
push edx
call dword [0x484438]
movzx eax, byte [esp + 0x36]
push eax
lea esi, [esp + 0xf0]
call fcn.0046b920
push eax
mov edi, str.AlphaBlend_
lea esi, [esp + 0xd8]
mov byte [esp + 0x118], 5
call fcn.00406d10
add esp, 8
mov edi, 0x10
mov byte [esp + 0x110], 6
cmp dword [eax + 0x18], edi
jb 0x474a1f
mov edx, dword [eax + 4]
jmp 0x474a22
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 0x474a41
sub eax, esi
push eax
push edx
lea ecx, [esp + 0xbc]
call fcn.004033f0
cmp dword [esp + 0xcc], edi
jb 0x474a73
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.00446c0b
add esp, 4
cmp dword [esp + 0xe8], edi
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
jb 0x474aa1
mov edx, dword [esp + 0xd4]
push edx
call fcn.00446c0b
add esp, 4
cmp dword [esp + 0x104], edi
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
jb 0x474acf
mov eax, dword [esp + 0xf0]
push eax
call fcn.00446c0b
add esp, 4
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00445372
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x474ae8
push eax
call dword [0x48406c]
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x474b98
push eax
call dword [0x484070]
jmp 0x474b98
fucompp
fnstsw ax
test ah, 0x44
jnp 0x474b0d
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.004071c0
mov edi, dword [esp + 0x120]
fld dword [esp + 0x6c]
mov esi, dword [edi + 4]
push 0xcc0020
call fcn.0044a770
fld dword [esp + 0x6c]
push eax
call fcn.0044a770
fld dword [esp + 0x20]
push eax
call fcn.0044a770
fld dword [esp + 0x2c]
push eax
call fcn.0044a770
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 [0x4840a8]
mov edx, dword [esp + 0x58]
push edx
call fcn.0044537e
mov eax, dword [esp + 0x84]
push eax
call fcn.00445372
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