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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov ebp, dword [esp + 0xb4]
mov edi, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb8]
mov eax, ebp
sub eax, edi
cmp eax, 0x2a7
jle 0x49c8b5
test ebx, ebx
je 0x49c8c0
lea ecx, [edi + 0x28]
mov edx, eax
mov dword [esp + 0xb8], ebx
mov esi, dword [esp + 0xbc]
mov dword [esp + 0x44], ecx
jmp 0x49c519
mov dword [esp], ebx
call esi
test al, al
je 0x49c5d3
fld qword [edi]
fld qword [edi + 8]
fld qword [edi + 0x10]
fld qword [edi + 0x18]
fld qword [edi + 0x20]
fxch st(4)
jmp 0x49c473
fxch st(4)
mov eax, dword [ebx]
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [edi + 0x24], eax
fstp qword [ebx]
fxch st(2)
fstp qword [ebx + 8]
fstp qword [ebx + 0x10]
fstp qword [ebx + 0x18]
fstp qword [ebx + 0x20]
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.0049f6f0
mov ecx, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 0xc], esi
mov dword [esp + 4], ebp
mov dword [esp + 0x48], eax
mov dword [esp + 8], ecx
call fcn.0049c400
mov eax, dword [esp + 0x48]
mov edx, eax
sub edx, edi
cmp edx, 0x2a7
jle 0x49c8b5
mov ecx, dword [esp + 0xb8]
test ecx, ecx
je 0x49c680
mov ebp, eax
sar edx, 3
mov ecx, dword [esp + 0x44]
sub dword [esp + 0xb8], 1
imul edx, edx, 0xcccccccd
mov dword [esp], ecx
sar edx, 1
lea eax, [edx + edx*4]
lea ebx, [edi + eax*8]
lea eax, [ebp - 0x28]
mov dword [esp + 4], ebx
mov dword [esp + 0x48], eax
call esi
test al, al
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
jne 0x49c452
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call esi
test al, al
je 0x49c650
fld qword [edi]
fld qword [edi + 8]
fld qword [edi + 0x10]
fld qword [edi + 0x18]
fld qword [edi + 0x20]
fxch st(4)
jmp 0x49c582
fxch st(4)
mov eax, dword [edi + 0x28]
mov dword [edi], eax
mov eax, dword [edi + 0x2c]
fstp qword [edi + 0x28]
fxch st(2)
mov dword [edi + 4], eax
mov eax, dword [edi + 0x30]
mov dword [edi + 8], eax
mov eax, dword [edi + 0x34]
fstp qword [edi + 0x30]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x38]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x3c]
fstp qword [edi + 0x38]
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x40]
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x44]
fstp qword [edi + 0x40]
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x48]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x4c]
fstp qword [edi + 0x48]
mov dword [edi + 0x24], eax
jmp 0x49c4bd
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call esi
fld qword [edi]
test al, al
fld qword [edi + 8]
fld qword [edi + 0x10]
fld qword [edi + 0x18]
fld qword [edi + 0x20]
je 0x49c580
fxch st(4)
mov eax, dword [ebp - 0x28]
mov dword [edi], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 4]
mov dword [edi + 0x24], eax
fstp qword [ebp - 0x28]
fxch st(2)
fstp qword [ebp - 0x20]
fstp qword [ebp - 0x18]
fstp qword [ebp - 0x10]
fstp qword [ebp - 8]
jmp 0x49c4bd
lea eax, [ebp - 0x28]
mov dword [esp], ebx
mov dword [esp + 4], eax
call esi
fld qword [edi]
test al, al
fld qword [edi + 8]
fld qword [edi + 0x10]
fld qword [edi + 0x18]
fld qword [edi + 0x20]
je 0x49c471
fxch st(4)
jmp 0x49c5f7
mov esi, eax
mov eax, edx
sar eax, 3
mov dword [esp + 0x58], esi
mov dword [esp + 0xb0], edi
imul eax, eax, 0xcccccccd
mov dword [esp + 0x54], eax
sub eax, 2
sar eax, 1
mov ecx, eax
lea eax, [eax + eax*4]
mov esi, ecx
lea ebx, [edi + eax*8]
jmp 0x49c6b3
sub esi, 1
mov ecx, dword [ebx + 8]
mov edi, dword [ebx + 0x20]
sub ebx, 0x28
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x28]
mov ebp, dword [ebx + 0x34]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x50], edi
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0x88], edi
mov edi, dword [ebx + 0x4c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x4c], edx
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0x44]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], ebp
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x34], edi
mov edi, dword [ebx + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 4], esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
call fcn.0049a5c0
test esi, esi
jne 0x49c6b0
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0xb0]
lea esi, [esi]
sub esi, 0x28
mov eax, dword [esi + 4]
mov ebp, dword [esi]
mov ecx, dword [esi + 8]
mov ebx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x50], ebx
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x20]
mov ebx, dword [esi + 0x18]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x4c], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x8c], eax
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0xbc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov dword [esp + 0xc], ebp
mov eax, esi
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x24], ebx
sub eax, edi
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x2c], ebx
mov ebx, eax
sar eax, 3
imul eax, eax, 0xcccccccd
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edi
call fcn.0049a5c0
cmp ebx, 0x4f
jg 0x49c790
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, ebp
jmp 0x49c684