Function at 0x47f200
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
fld dword [ebx + 0x54]
fcom qword [0x5333b0]
fst qword [esp + 0xa0]
fnstsw ax
test ah, 0x40
jne 0x480053
mov eax, dword [ebx + 0x6c]
lea esi, [ebx + 0x20]
mov ecx, 6
lea edi, [esp + 0x190]
test eax, eax
rep movsd dword es:[edi], dword [esi]
je 0x47f290
cmp eax, 1
jle 0x47f256
fmul dword [0x53351c]
fstp dword [esp + 0xc]
jmp 0x47f25a
fstp dword [esp + 0xc]
mov eax, dword [esp + 0xc]
push 0
push 0
push 0x4b
push 0
push 0x3c
push 0
push 0x4b
push eax
lea ecx, [esp + 0x1b0]
push str.1006_01_1
push ecx
call fcn.00480060
fld qword [esp + 0xc8]
add esp, 0x28
mov dword [esp + 0x160], eax
mov edx, dword [ebx + 0x6c]
xor esi, esi
dec edx
test edx, edx
jle 0x47f422
fstp dword [esp + 0x80]
call fcn.00416d20
push eax
call fcn.004b4770
fmul dword [0x533518]
fadd dword [0x533504]
fmul dword [esp + 0x84]
fstp dword [esp + 0x168]
call fcn.00416d20
push eax
call fcn.004b4770
fstp st(0)
call fcn.00416d20
push eax
call fcn.004b4770
fsub qword [0x5335c0]
fmul qword [esp + 0xac]
fstp qword [esp + 0x9c]
call fcn.00416d20
push eax
call fcn.004b4770
fsub qword [0x5335c0]
fmul qword [esp + 0xb0]
fstp qword [esp + 0x58]
call fcn.00416d20
push eax
call fcn.004b4770
fsub qword [0x5335c0]
fmul qword [esp + 0xb4]
fstp qword [esp + 0x4c]
call fcn.00416d20
push eax
call fcn.004b4770
fadd dword [0x5333e0]
mov edi, dword [esp + 0x178]
inc esi
fimul dword [edi + 0xf8]
fmul dword [0x533504]
fistp qword [esp + 0x11c]
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x11c], esi
mov dword [esp + 0x24], eax
call fcn.00416d20
push eax
call fcn.004b4770
mov eax, 0x4b
push 0
cdq
fmul dword [0x5341ac]
idiv dword [ebx + 0x6c]
fistp qword [esp + 0xa4]
mov ecx, dword [esp + 0xa4]
push 0
imul eax, esi
sub eax, ecx
lea esi, [edi + 0x20]
mov ecx, 6
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0x34]
fadd qword [esp + 0xb4]
fstp qword [esp + 0x34]
fld qword [esp + 0x3c]
fadd qword [esp + 0x6c]
fstp qword [esp + 0x3c]
fld qword [esp + 0x44]
fadd qword [esp + 0x5c]
mov ecx, dword [esp + 0x30]
push ecx
push eax
fstp qword [esp + 0x4c]
fild dword [esp + 0x38]
fmul dword [0x5335a8]
fistp qword [esp + 0x64]
mov edx, dword [esp + 0x64]
push edx
push 0
push ecx
mov eax, dword [esp + 0x19c]
lea ecx, [esp + 0x48]
push eax
push str.1006_01_1
push ecx
call fcn.00480060
mov edx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x148]
add esp, 0x44
dec edx
cmp esi, edx
jl 0x47f2a5
fld qword [esp + 0xa0]
mov eax, dword [ebx + 0x6c]
cmp eax, 1
mov dword [esp + 0x104], eax
jle 0x47f45a
fild dword [esp + 0x104]
fdivr dword [0x5341a8]
fsubr dword [0x5341a8]
fsub dword [0x5333e0]
fadd dword [0x5341a8]
fistp qword [esp + 0x38]
mov ecx, dword [esp + 0x38]
jmp 0x47f45f
mov ecx, 0x96
test eax, eax
je 0x47f480
fmul qword [0x5341a0]
push ecx
push ecx
lea eax, [esp + 0x198]
fstp dword [esp]
push eax
call fcn.0047f1b0
add esp, 0xc
jmp 0x47f482
fstp st(0)
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x47ff7a
mov dword [esp + 0x80], 0
jle 0x47ff69
lea eax, [ebx + 0x44]
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x104], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x108], edx
mov edx, dword [eax]
mov ecx, dword [ecx + 8]
mov dword [esp + 0xa0], edx
mov dword [esp + 0x10c], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0xa4], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0xa8], edx
call fcn.00416d20
push eax
call fcn.004b4770
fld dword [ebx + 0x64]
fsub dword [ebx + 0x60]
lea eax, [esp + 0x108]
lea ecx, [esp + 0x14]
push eax
push ecx
fmulp st(1)
fadd dword [ebx + 0x60]
fstp dword [esp + 0x18]
call fcn.004b4010
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x174], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x17c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x180], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x188], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x194], ecx
mov ecx, 0xa
lea esi, [esp + 0x174]
lea edi, [esp + 0x1c]
mov dword [esp + 0x190], eax
mov dword [esp + 0x198], edx
rep movsd dword es:[edi], dword [esi]
call fcn.00416d20
push eax
call fcn.004b4770
fmul dword [0x533400]
add esp, 0xc
lea eax, [esp + 0x5c]
fstp dword [esp]
push eax
call fcn.004b3be0
fld dword [esp + 0x78]
fmul dword [esp + 0x20]
fld dword [esp + 0x6c]
fmul dword [esp + 0x1c]
add esp, 8
faddp st(1)
fld dword [esp + 0x58]
fmul dword [esp + 0x10]
faddp st(1)
fstp dword [esp + 0xdc]
fld dword [esp + 0x74]
fmul dword [esp + 0x18]
fld dword [esp + 0x68]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [esp + 0x10]
faddp st(1)
fstp dword [esp + 0xe0]
fld dword [esp + 0x78]
fmul dword [esp + 0x18]
fld dword [esp + 0x6c]
fmul dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x7c]
lea esi, [esp + 0xdc]
lea edi, [esp + 0x10]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esp + 0x10]
lea eax, [edx + ecx + 1]
mov ecx, 0xa
mov dword [esp + 0x100], eax
cmp eax, 0x3e8
faddp st(1)
fstp dword [esp + 0xe4]
fld dword [esp + 0x70]
fmul dword [esp + 0x24]
fld dword [esp + 0x64]
fmul dword [esp + 0x20]
faddp st(1)
fld dword [esp + 0x58]
fmul dword [esp + 0x1c]
faddp st(1)
fstp dword [esp + 0xe8]
fld dword [esp + 0x74]
fmul dword [esp + 0x24]
fld dword [esp + 0x68]
fmul dword [esp + 0x20]
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [esp + 0x1c]
faddp st(1)
fstp dword [esp + 0xec]
fld dword [esp + 0x78]
fmul dword [esp + 0x24]
fld dword [esp + 0x6c]
fmul dword [esp + 0x20]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esp + 0x1c]
faddp st(1)
fstp dword [esp + 0xf0]
fld dword [esp + 0x70]
fmul dword [esp + 0x30]
fld dword [esp + 0x64]
fmul dword [esp + 0x2c]
faddp st(1)
fld dword [esp + 0x58]
fmul dword [esp + 0x28]
faddp st(1)
fstp dword [esp + 0xf4]
fld dword [esp + 0x74]
fmul dword [esp + 0x30]
fld dword [esp + 0x68]
fmul dword [esp + 0x2c]
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [esp + 0x28]
faddp st(1)
fstp dword [esp + 0xf8]
fld dword [esp + 0x78]
fmul dword [esp + 0x30]
fld dword [esp + 0x6c]
fmul dword [esp + 0x2c]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esp + 0x28]
faddp st(1)
fstp dword [esp + 0xfc]
rep movsd dword es:[edi], dword [esi]
jle 0x47fa42
fld dword [esp + 0xdc]
fcomp dword [0x5333ec]
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0xe4]
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], ecx
mov dword [esp + 0x140], edx
fnstsw ax
test ah, 0x40
je 0x47f77e
fld dword [esp + 0xe0]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
je 0x47f77e
fld dword [esp + 0xe4]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
jne 0x47f7e3
fld dword [esp + 0xe4]
fld dword [esp + 0xe0]
fld dword [esp + 0xdc]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fdivr qword [0x5333f8]
fld dword [esp + 0xdc]
fmul st(1)
fstp dword [esp + 0x138]
fld dword [esp + 0x13c]
fmul st(1)
fstp dword [esp + 0x13c]
fld dword [esp + 0x140]
fmul st(1)
fstp dword [esp + 0x140]
fstp st(0)
fld dword [esp + 0xf8]
fmul dword [esp + 0xe4]
fld dword [esp + 0xfc]
fmul dword [esp + 0xe0]
fsubp st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0xf4]
fmul dword [esp + 0xe4]
fld dword [esp + 0xfc]
fmul dword [esp + 0xdc]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x144], eax
fsubp st(1)
fchs
fstp dword [esp + 0x3c]
fld dword [esp + 0xf4]
fmul dword [esp + 0xe0]
fld dword [esp + 0xf8]
fmul dword [esp + 0xdc]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x148], ecx
fsubp st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fmul dword [esp + 0x13c]
fld dword [esp + 0x3c]
fmul dword [esp + 0x140]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14c], edx
fsubp st(1)
fstp dword [esp + 0x90]
fld dword [esp + 0x40]
fmul dword [esp + 0x138]
fld dword [esp + 0x38]
fmul dword [esp + 0x140]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x150], eax
fsubp st(1)
fchs
fstp dword [esp + 0x94]
fld dword [esp + 0x3c]
fmul dword [esp + 0x138]
fld dword [esp + 0x38]
fmul dword [esp + 0x13c]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x154], ecx
fsubp st(1)
fstp dword [esp + 0x98]
fld dword [esp + 0x38]
fcomp dword [0x5333ec]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x158], edx
fnstsw ax
test ah, 0x40
je 0x47f928
fld dword [esp + 0x3c]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
je 0x47f928
fld dword [esp + 0x40]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
jne 0x47f981
fld dword [esp + 0x38]
fld dword [esp + 0x3c]
fld dword [esp + 0x40]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fdivr qword [0x5333f8]
fld dword [esp + 0x38]
fmul st(1)
fstp dword [esp + 0x144]
fld dword [esp + 0x148]
fmul st(1)
fstp dword [esp + 0x148]
fld dword [esp + 0x14c]
fmul st(1)
fstp dword [esp + 0x14c]
fstp st(0)
fld dword [esp + 0x90]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
je 0x47f9bd
fld dword [esp + 0x94]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
je 0x47f9bd
fld dword [esp + 0x98]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
jne 0x47fa22
fld dword [esp + 0x98]
fld dword [esp + 0x94]
fld dword [esp + 0x90]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fdivr qword [0x5333f8]
fld dword [esp + 0x90]
fmul st(1)
fstp dword [esp + 0x150]
fld dword [esp + 0x154]
fmul st(1)
fstp dword [esp + 0x154]
fld dword [esp + 0x158]
fmul st(1)
fstp dword [esp + 0x158]
fstp st(0)
mov ecx, 0xa
lea esi, [esp + 0x138]
lea edi, [esp + 0xdc]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x100], 0
call fcn.00416d20
push eax
call fcn.004b4770
fmul dword [ebx + 0x5c]
lea eax, [esp + 0x5c]
fstp dword [esp]
push eax
call fcn.004b3b60
fld dword [esp + 0x78]
fmul dword [esp + 0x20]
fld dword [esp + 0x6c]
fmul dword [esp + 0x1c]
add esp, 8
faddp st(1)
fld dword [esp + 0x58]
fmul dword [esp + 0x10]
faddp st(1)
fstp dword [esp + 0xb4]
fld dword [esp + 0x74]
fmul dword [esp + 0x18]
fld dword [esp + 0x68]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [esp + 0x10]
faddp st(1)
fstp dword [esp + 0xb8]
fld dword [esp + 0x78]
fmul dword [esp + 0x18]
fld dword [esp + 0x6c]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esp + 0x10]
faddp st(1)
fstp dword [esp + 0xbc]
fld dword [esp + 0x70]
fmul dword [esp + 0x24]
fld dword [esp + 0x64]
fmul dword [esp + 0x20]
faddp st(1)
fld dword [esp + 0x58]
fmul dword [esp + 0x1c]
faddp st(1)
fstp dword [esp + 0xc0]
fld dword [esp + 0x74]
fmul dword [esp + 0x24]
fld dword [esp + 0x68]
fmul dword [esp + 0x20]
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [esp + 0x1c]
faddp st(1)
fstp dword [esp + 0xc4]
fld dword [esp + 0x78]
fmul dword [esp + 0x24]
fld dword [esp + 0x6c]
fmul dword [esp + 0x20]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esp + 0x1c]
faddp st(1)
fstp dword [esp + 0xc8]
fld dword [esp + 0x70]
fmul dword [esp + 0x30]
fld dword [esp + 0x64]
fmul dword [esp + 0x2c]
faddp st(1)
fld dword [esp + 0x58]
fmul dword [esp + 0x28]
faddp st(1)
fstp dword [esp + 0xcc]
fld dword [esp + 0x74]
fmul dword [esp + 0x30]
fld dword [esp + 0x68]
fmul dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x7c]
lea esi, [esp + 0xb4]
lea edi, [esp + 0x10]
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [esp + 0x28]
lea eax, [edx + ecx + 1]
mov ecx, 0xa
mov dword [esp + 0xd8], eax
cmp eax, 0x3e8
faddp st(1)
fstp dword [esp + 0xd0]
fld dword [esp + 0x78]
fmul dword [esp + 0x30]
fld dword [esp + 0x6c]
fmul dword [esp + 0x2c]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esp + 0x28]
faddp st(1)
fstp dword [esp + 0xd4]
rep movsd dword es:[edi], dword [esi]
jle 0x47fef5
fld dword [esp + 0xb4]
fcomp dword [0x5333ec]
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
fnstsw ax
test ah, 0x40
je 0x47fc31
fld dword [esp + 0xb8]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
je 0x47fc31
fld dword [esp + 0xbc]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
jne 0x47fc96
fld dword [esp + 0xbc]
fld dword [esp + 0xb8]
fld dword [esp + 0xb4]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fdivr qword [0x5333f8]
fld dword [esp + 0xb4]
fmul st(1)
fstp dword [esp + 0x110]
fld dword [esp + 0x114]
fmul st(1)
fstp dword [esp + 0x114]
fld dword [esp + 0x118]
fmul st(1)
fstp dword [esp + 0x118]
fstp st(0)
fld dword [esp + 0xd0]
fmul dword [esp + 0xbc]
fld dword [esp + 0xd4]
fmul dword [esp + 0xb8]
fsubp st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0xcc]
fmul dword [esp + 0xbc]
fld dword [esp + 0xd4]
fmul dword [esp + 0xb4]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x11c], eax
fsubp st(1)
fchs
fstp dword [esp + 0x4c]
fld dword [esp + 0xcc]
fmul dword [esp + 0xb8]
fld dword [esp + 0xd0]
fmul dword [esp + 0xb4]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x120], ecx
fsubp st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fmul dword [esp + 0x114]
fld dword [esp + 0x4c]
fmul dword [esp + 0x118]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x124], edx
fsubp st(1)
fstp dword [esp + 0x84]
fld dword [esp + 0x50]
fmul dword [esp + 0x110]
fld dword [esp + 0x48]
fmul dword [esp + 0x118]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x128], eax
fsubp st(1)
fchs
fstp dword [esp + 0x88]
fld dword [esp + 0x4c]
fmul dword [esp + 0x110]
fld dword [esp + 0x48]
fmul dword [esp + 0x114]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x12c], ecx
fsubp st(1)
fstp dword [esp + 0x8c]
fld dword [esp + 0x48]
fcomp dword [0x5333ec]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x130], edx
fnstsw ax
test ah, 0x40
je 0x47fddb
fld dword [esp + 0x4c]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
je 0x47fddb
fld dword [esp + 0x50]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
jne 0x47fe34
fld dword [esp + 0x48]
fld dword [esp + 0x4c]
fld dword [esp + 0x50]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fdivr qword [0x5333f8]
fld dword [esp + 0x48]
fmul st(1)
fstp dword [esp + 0x11c]
fld dword [esp + 0x120]
fmul st(1)
fstp dword [esp + 0x120]
fld dword [esp + 0x124]
fmul st(1)
fstp dword [esp + 0x124]
fstp st(0)
fld dword [esp + 0x84]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
je 0x47fe70
fld dword [esp + 0x88]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
je 0x47fe70
fld dword [esp + 0x8c]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
jne 0x47fed5
fld dword [esp + 0x8c]
fld dword [esp + 0x88]
fld dword [esp + 0x84]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fdivr qword [0x5333f8]
fld dword [esp + 0x84]
fmul st(1)
fstp dword [esp + 0x128]
fld dword [esp + 0x12c]
fmul st(1)
fstp dword [esp + 0x12c]
fld dword [esp + 0x130]
fmul st(1)
fstp dword [esp + 0x130]
fstp st(0)
mov ecx, 0xa
lea esi, [esp + 0x110]
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0xd8], 0
fld dword [esp + 0x18]
fmul dword [esp + 0xc]
fstp dword [esp + 0xa0]
fld dword [esp + 0x24]
fmul dword [esp + 0xc]
fstp dword [esp + 0xa4]
fld dword [esp + 0x30]
fmul dword [esp + 0xc]
fstp dword [esp + 0xa8]
call fcn.00416d20
push eax
call fcn.004b4770
push 0x434ccccd
lea eax, [esp + 0xa8]
push 0
lea ecx, [esp + 0x19c]
push eax
push ecx
push ebx
fstp st(0)
call fcn.0047f0d0
mov eax, dword [esp + 0x98]
mov ecx, dword [ebx + 0x68]
add esp, 0x18
inc eax
cmp eax, ecx
mov dword [esp + 0x80], eax
jl 0x47f49e
mov edx, dword [ebx + 0x80]
push 1
push edx
call fcn.00503d50
add esp, 8
lea eax, [ebx + 0x70]
push eax
call fcn.004f0ee0
push eax
call fcn.004e6b00
add esp, 8
test eax, eax
je 0x47ffa1
lea ecx, [esp + 0x190]
push ecx
push eax
call fcn.004e6c30
add esp, 8
fld dword [ebx + 0x50]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
jne 0x480055
mov edx, dword [esp + 0x160]
mov ecx, dword [ebx + 0x50]
lea eax, [esp + 0x190]
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x58]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0x84]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x5a
mov dword [esp + 0x28], ecx
xor edi, edi
call fcn.004168d0
cmp dword [eax], 0
jle 0x480055
mov esi, 8
call fcn.004168d0
mov edx, dword [eax + esi]
xor eax, eax
mov ax, word [edx + 0x1c]
mov ebx, eax
call fcn.00416860
and eax, 0xff
lea edx, [esp + 0x10]
push edx
lea ecx, [eax + eax*2]
shl ecx, 7
add ebx, ecx
mov ebx, dword [ebx*4 + 0xa96ae0]
call fcn.004168d0
mov eax, dword [eax + esi]
push eax
call ebx
add esp, 8
inc edi
add esi, 4
call fcn.004168d0
cmp edi, dword [eax]
jl 0x480003
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret