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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x5c
push esi
xor esi, esi
cmp eax, esi
jge 0x4a390d
or ecx, 0xffffffff
mov dword [0xb89384], esi
sub ecx, eax
mov dword [esp + 0x64], ecx
call fcn.00492d80
fcomp dword [0xb89384]
fnstsw ax
test ah, 0x40
je 0x4a3932
cmp dword [0xb8937c], 0xbb8
jl 0x4a3932
xor eax, eax
pop esi
add esp, 0x5c
ret
push ebx
push ebp
push edi
call fcn.00492d80
mov eax, dword [0x11919f8]
mov dword [0xb8937c], esi
fstp dword [0xb89384]
mov edi, dword [eax + 0x21d4]
cmp edi, esi
jne 0x4a3974
mov edx, dword [eax + 0xd0]
shl edx, 1
push edx
call fcn.004b18a0
mov ecx, dword [0x11919f8]
add esp, 4
mov dword [ecx + 0x21d4], eax
jmp 0x4a398c
mov ecx, dword [eax + 0xd0]
xor eax, eax
shl ecx, 1
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x11919f8]
mov edi, dword [eax + 0x21e8]
cmp edi, esi
jne 0x4a39b8
mov eax, dword [eax + 0xd0]
push eax
call fcn.004b18a0
mov ecx, dword [0x11919f8]
add esp, 4
mov dword [ecx + 0x21e8], eax
jmp 0x4a39ce
mov ecx, dword [eax + 0xd0]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x88]
mov edi, dword [esp + 0x78]
cmp eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], esi
je 0x4a39fe
mov esi, dword [esp + 0x74]
push ebx
push eax
push esi
push edi
call fcn.004a2f20
add esp, 0x10
jmp 0x4a3a02
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x80]
lea eax, [esp + 0x48]
push eax
fld dword [ebp]
fsub dword [esi]
fstp dword [esp + 0x4c]
fld dword [ebp + 4]
fsub dword [esi + 4]
fstp dword [esp + 0x50]
fld dword [ebp + 8]
fsub dword [esi + 8]
fstp dword [esp + 0x54]
call fcn.004286f0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x80]
fstp dword [esp + 0x7c]
push 0
push ecx
push esi
push edx
push ebp
call dword [0x11922d4]
mov ecx, dword [0x11919f8]
mov dword [esp + 0x50], eax
lea eax, [edi + edi*4]
add esp, 0x18
mov edx, dword [ecx + 0x21b0]
mov dword [edx + eax*8 + 4], edi
mov ecx, dword [esi]
lea eax, [edx + eax*8]
not ebx
mov dword [eax + 8], ecx
mov edx, dword [esi + 4]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 8]
mov dword [eax + 0x10], ecx
mov edx, dword [0x11919f8]
mov ebp, ebx
mov ebx, eax
mov ecx, dword [edx + 0x21c0]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], eax
mov edx, dword [ecx + edi*4]
xor edi, edi
cmp eax, edi
mov ecx, dword [edx]
mov word [eax + 0x14], di
mov dword [eax + 0x18], ecx
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], edi
je 0x4a3fbf
jmp 0x4a3ab5
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x14], ebx
cmp eax, edi
je 0x4a3ac5
mov dword [eax + 0x24], edi
jmp 0x4a3ac9
mov dword [esp + 0x20], edi
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 4]
mov dword [esp + 0x24], edx
mov dword [ebx + 0x1c], edi
mov edx, dword [0x11919f8]
shl eax, 5
mov ecx, dword [edx + 0xdc]
add eax, ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
cmp ecx, edi
lea esi, [eax + eax*4]
lea eax, [eax + esi*2]
mov esi, dword [edx + 0xe4]
lea esi, [esi + eax*4]
mov dword [esp + 0x2c], esi
jle 0x4a3fb5
lea edi, [esi + 0x18]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x88], edi
jmp 0x4a3b22
mov edx, dword [0x11919f8]
mov ebp, dword [esp + 0x34]
mov ecx, dword [edi + 0xc]
add edi, 0xfffffff4
test dword [edx + ecx*4 + 0x2130], ebp
jne 0x4a3f84
mov edx, dword [esi]
push edx
call fcn.004a2250
add esp, 4
test ebp, eax
jne 0x4a3f84
mov esi, dword [esi]
mov ecx, dword [0x11919f8]
mov eax, esi
mov edx, dword [ecx + 0xdc]
shl eax, 5
test byte [eax + edx + 4], 0xa
jne 0x4a3f84
cmp esi, dword [esp + 0x84]
je 0x4a3f84
mov eax, dword [ebx + 4]
lea ebp, [ebx + 8]
push edi
push ebp
push eax
call fcn.004a0d50
mov ecx, dword [esp + 0x94]
mov di, ax
mov edx, dword [0x11919f8]
add esp, 0xc
add di, word [ecx + 0x10]
lea eax, [ecx - 0xc]
mov eax, dword [0xb8937c]
add di, word [ebx + 0x14]
inc eax
mov dword [0xb8937c], eax
mov eax, dword [edx + 0x21d4]
mov cx, word [eax + esi*2]
lea eax, [eax + esi*2]
test cx, cx
je 0x4a3bc5
cmp cx, di
jb 0x4a3f84
mov word [eax], di
mov eax, dword [esp + 0x1c]
cmp eax, esi
jne 0x4a3bdc
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
jmp 0x4a3bee
mov eax, dword [esp + 0x10]
test ax, ax
je 0x4a3bee
cmp di, ax
jae 0x4a3f84
mov ebx, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x54]
push ecx
push ebx
push ebp
push edx
call fcn.00428dd0
add esp, 0x10
xor edx, edx
lea ecx, [esp + 0x54]
fld dword [ecx]
fld dword [ebp]
fadd qword [0x4d73e0]
fcompp
fnstsw ax
test ah, 1
je 0x4a3c3d
fld dword [ecx]
fld dword [ebx]
fadd qword [0x4d73e0]
fcompp
fnstsw ax
test ah, 1
jne 0x4a3ec2
fld dword [ecx]
fld dword [ebp]
fsub qword [0x4d73e0]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a3c68
fld dword [ecx]
fld dword [ebx]
fsub qword [0x4d73e0]
fcompp
fnstsw ax
test ah, 0x41
je 0x4a3ec2
inc edx
add ebp, 4
add ecx, 4
add ebx, 4
cmp edx, 3
jl 0x4a3c12
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x88]
fld dword [eax]
fsub dword [esp + 0x54]
fstp dword [esp + 0x3c]
fld dword [eax + 4]
fsub dword [esp + 0x58]
fstp dword [esp + 0x40]
fld dword [eax + 8]
fsub dword [esp + 0x5c]
fstp dword [esp + 0x44]
lea eax, [esp + 0x3c]
push eax
call fcn.00428950
fstp dword [esp + 0x1c]
fld dword [esp + 0x7c]
fcomp dword [0x4d7388]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x4a3cf2
fld dword [esp + 0x18]
fcomp dword [esp + 0x78]
fnstsw ax
test ah, 1
je 0x4a3cf2
fld dword [esp + 0x18]
fcomp dword [0x4d74e8]
fnstsw ax
test ah, 1
jne 0x4a3f80
mov ebx, dword [esp + 0x88]
mov eax, dword [esp + 0x74]
fld dword [ebx]
fsub dword [eax]
fstp dword [esp + 0x3c]
fld dword [ebx + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x40]
fld dword [ebx + 8]
fsub dword [eax + 8]
fstp dword [esp + 0x44]
fld dword [esp + 0x78]
fcomp dword [0x4d7388]
fnstsw ax
test ah, 0x41
jne 0x4a3d56
fld dword [esp + 0x44]
fmul dword [esp + 0x50]
fld dword [esp + 0x40]
fmul dword [esp + 0x4c]
faddp st(1)
fld dword [esp + 0x3c]
fmul dword [esp + 0x48]
faddp st(1)
fld dword [esp + 0x78]
fmul dword [0x4d73a4]
fcompp
fnstsw ax
test ah, 1
jne 0x4a3f80
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x80]
fld dword [ecx]
fsub dword [edx + 8]
lea eax, [edx + 8]
mov eax, edx
fstp dword [esp + 0x60]
fld dword [ecx + 4]
fsub dword [eax + 0xc]
fstp dword [esp + 0x64]
fld dword [ecx + 8]
fsub dword [eax + 0x10]
lea eax, [esp + 0x60]
push eax
fstp dword [esp + 0x6c]
call fcn.00428950
fstp dword [esp + 0x2c]
fld dword [esp + 0x7c]
fcomp dword [0x4d7388]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x4a3de9
fld dword [esp + 0x18]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 1
je 0x4a3de9
fld dword [esp + 0x28]
fsub dword [esp + 0x18]
and edi, 0xffff
mov dword [esp + 0x28], edi
fmul dword [0x4d83a8]
fiadd dword [esp + 0x28]
call fcn.004c2c10
mov edi, eax
mov eax, dword [esp + 0x10]
test ax, ax
je 0x4a3de9
cmp di, ax
jae 0x4a3f80
mov ecx, dword [esp + 0x70]
push esi
push 0xffffffffffffffff
push ecx
call fcn.004a0700
add esp, 0xc
test eax, eax
je 0x4a3e03
add edi, 0x3e8
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4a3e28
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x4a3e28
push esi
push eax
call fcn.004a3470
add esp, 8
test eax, eax
jne 0x4a3f80
mov eax, dword [esp + 0x10]
test ax, ax
je 0x4a3e3a
cmp ax, di
jbe 0x4a3f80
mov edx, dword [0x11919f8]
mov eax, dword [edx + 0x21e0]
cmp dword [eax + esi*4], 0
je 0x4a3f0c
mov ecx, dword [esp + 0x84]
push esi
push ecx
call fcn.004a3470
add esp, 8
test eax, eax
jne 0x4a3f0c
mov eax, dword [0x11919f8]
mov edx, dword [eax + 0x21e8]
mov cl, byte [edx + esi]
cmp cl, 2
je 0x4a3efa
test cl, cl
jne 0x4a3eb6
mov ecx, dword [esp + 0x70]
mov eax, dword [eax + 0x21e4]
lea edx, [esi + esi*2]
push 0
push ecx
lea ecx, [eax + edx*4]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
push ecx
push edx
push eax
call dword [0x11922d4]
add esp, 0x14
test eax, eax
mov eax, dword [0x11919f8]
je 0x4a3efa
mov ecx, dword [eax + 0x21e8]
mov byte [ecx + esi], 1
jmp 0x4a3f0c
cmp edx, 3
jge 0x4a3c77
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x88]
fld dword [eax]
fsub dword [ebx]
fstp dword [esp + 0x3c]
fld dword [eax + 4]
fsub dword [ebx + 4]
fstp dword [esp + 0x40]
fld dword [eax + 8]
fsub dword [ebx + 8]
fstp dword [esp + 0x44]
jmp 0x4a3ca5
mov edx, dword [eax + 0x21e8]
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], esi
mov byte [edx + esi], 2
mov eax, dword [0xb8937c]
mov ecx, eax
inc eax
cmp ecx, 0xbb8
mov dword [0xb8937c], eax
jg 0x4a3f80
mov eax, dword [0x11919f8]
lea edx, [esi + esi*4]
mov ecx, dword [eax + 0x21b0]
mov dword [ecx + edx*8 + 4], esi
mov word [ecx + edx*8 + 0x14], di
lea eax, [ecx + edx*8]
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0xc], edx
mov ecx, dword [ecx + 8]
mov dword [eax + 0x10], ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x4a3f80
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x20], 0
test ecx, ecx
mov dword [eax + 0x24], ecx
je 0x4a3f71
mov dword [ecx + 0x20], eax
jmp 0x4a3f75
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [eax + 0x1c], 1
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 0x30]
add esi, 0x2c
add edi, 0x2c
dec eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x30], eax
jne 0x4a3b18
mov ebp, dword [esp + 0x34]
xor edi, edi
cmp dword [esp + 0x24], edi
jne 0x4a3ab1
mov eax, dword [esp + 0x1c]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x5c
ret