Function at 0x4a3450
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 0x4a346d
or ecx, 0xffffffff
mov dword [0xb8011c], esi
sub ecx, eax
mov dword [esp + 0x64], ecx
call fcn.00492900
fcomp dword [0xb8011c]
fnstsw ax
test ah, 0x40
je 0x4a3492
cmp dword [0xb80114], 0xbb8
jl 0x4a3492
xor eax, eax
pop esi
add esp, 0x5c
ret
push ebx
push ebp
push edi
call fcn.00492900
mov eax, dword [0x1180458]
mov dword [0xb80114], esi
fstp dword [0xb8011c]
mov edi, dword [eax + 0x21d4]
cmp edi, esi
jne 0x4a34d4
mov edx, dword [eax + 0xd0]
shl edx, 1
push edx
call fcn.004b1400
mov ecx, dword [0x1180458]
add esp, 4
mov dword [ecx + 0x21d4], eax
jmp 0x4a34ec
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 [0x1180458]
mov edi, dword [eax + 0x21e8]
cmp edi, esi
jne 0x4a3518
mov eax, dword [eax + 0xd0]
push eax
call fcn.004b1400
mov ecx, dword [0x1180458]
add esp, 4
mov dword [ecx + 0x21e8], eax
jmp 0x4a352e
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 0x4a355e
mov esi, dword [esp + 0x74]
push ebx
push eax
push esi
push edi
call fcn.004a2a80
add esp, 0x10
jmp 0x4a3562
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.00428370
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 [0x1180d34]
mov ecx, dword [0x1180458]
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 [0x1180458]
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 0x4a3b1f
jmp 0x4a3615
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x14], ebx
cmp eax, edi
je 0x4a3625
mov dword [eax + 0x24], edi
jmp 0x4a3629
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 [0x1180458]
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 0x4a3b15
lea edi, [esi + 0x18]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x88], edi
jmp 0x4a3682
mov edx, dword [0x1180458]
mov ebp, dword [esp + 0x34]
mov ecx, dword [edi + 0xc]
add edi, 0xfffffff4
test dword [edx + ecx*4 + 0x2130], ebp
jne 0x4a3ae4
mov edx, dword [esi]
push edx
call fcn.004a1db0
add esp, 4
test ebp, eax
jne 0x4a3ae4
mov esi, dword [esi]
mov ecx, dword [0x1180458]
mov eax, esi
mov edx, dword [ecx + 0xdc]
shl eax, 5
test byte [eax + edx + 4], 0xa
jne 0x4a3ae4
cmp esi, dword [esp + 0x84]
je 0x4a3ae4
mov eax, dword [ebx + 4]
lea ebp, [ebx + 8]
push edi
push ebp
push eax
call fcn.004a08e0
mov ecx, dword [esp + 0x94]
mov di, ax
mov edx, dword [0x1180458]
add esp, 0xc
add di, word [ecx + 0x10]
lea eax, [ecx - 0xc]
mov eax, dword [0xb80114]
add di, word [ebx + 0x14]
inc eax
mov dword [0xb80114], eax
mov eax, dword [edx + 0x21d4]
mov cx, word [eax + esi*2]
lea eax, [eax + esi*2]
test cx, cx
je 0x4a3725
cmp cx, di
jb 0x4a3ae4
mov word [eax], di
mov eax, dword [esp + 0x1c]
cmp eax, esi
jne 0x4a373c
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
jmp 0x4a374e
mov eax, dword [esp + 0x10]
test ax, ax
je 0x4a374e
cmp di, ax
jae 0x4a3ae4
mov ebx, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x54]
push ecx
push ebx
push ebp
push edx
call fcn.00428a50
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 0x4a379d
fld dword [ecx]
fld dword [ebx]
fadd qword [0x4d73e0]
fcompp
fnstsw ax
test ah, 1
jne 0x4a3a22
fld dword [ecx]
fld dword [ebp]
fsub qword [0x4d73e0]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a37c8
fld dword [ecx]
fld dword [ebx]
fsub qword [0x4d73e0]
fcompp
fnstsw ax
test ah, 0x41
je 0x4a3a22
inc edx
add ebp, 4
add ecx, 4
add ebx, 4
cmp edx, 3
jl 0x4a3772
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.004285d0
fstp dword [esp + 0x1c]
fld dword [esp + 0x7c]
fcomp dword [0x4d7388]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x4a3852
fld dword [esp + 0x18]
fcomp dword [esp + 0x78]
fnstsw ax
test ah, 1
je 0x4a3852
fld dword [esp + 0x18]
fcomp dword [0x4d74e8]
fnstsw ax
test ah, 1
jne 0x4a3ae0
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 0x4a38b6
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 0x4a3ae0
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.004285d0
fstp dword [esp + 0x2c]
fld dword [esp + 0x7c]
fcomp dword [0x4d7388]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x4a3949
fld dword [esp + 0x18]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 1
je 0x4a3949
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.004c2730
mov edi, eax
mov eax, dword [esp + 0x10]
test ax, ax
je 0x4a3949
cmp di, ax
jae 0x4a3ae0
mov ecx, dword [esp + 0x70]
push esi
push 0xffffffffffffffff
push ecx
call fcn.004a0290
add esp, 0xc
test eax, eax
je 0x4a3963
add edi, 0x3e8
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4a3988
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x4a3988
push esi
push eax
call fcn.004a2fd0
add esp, 8
test eax, eax
jne 0x4a3ae0
mov eax, dword [esp + 0x10]
test ax, ax
je 0x4a399a
cmp ax, di
jbe 0x4a3ae0
mov edx, dword [0x1180458]
mov eax, dword [edx + 0x21e0]
cmp dword [eax + esi*4], 0
je 0x4a3a6c
mov ecx, dword [esp + 0x84]
push esi
push ecx
call fcn.004a2fd0
add esp, 8
test eax, eax
jne 0x4a3a6c
mov eax, dword [0x1180458]
mov edx, dword [eax + 0x21e8]
mov cl, byte [edx + esi]
cmp cl, 2
je 0x4a3a5a
test cl, cl
jne 0x4a3a16
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 [0x1180d34]
add esp, 0x14
test eax, eax
mov eax, dword [0x1180458]
je 0x4a3a5a
mov ecx, dword [eax + 0x21e8]
mov byte [ecx + esi], 1
jmp 0x4a3a6c
cmp edx, 3
jge 0x4a37d7
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 0x4a3805
mov edx, dword [eax + 0x21e8]
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], esi
mov byte [edx + esi], 2
mov eax, dword [0xb80114]
mov ecx, eax
inc eax
cmp ecx, 0xbb8
mov dword [0xb80114], eax
jg 0x4a3ae0
mov eax, dword [0x1180458]
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 0x4a3ae0
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x20], 0
test ecx, ecx
mov dword [eax + 0x24], ecx
je 0x4a3ad1
mov dword [ecx + 0x20], eax
jmp 0x4a3ad5
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 0x4a3678
mov ebp, dword [esp + 0x34]
xor edi, edi
cmp dword [esp + 0x24], edi
jne 0x4a3611
mov eax, dword [esp + 0x1c]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x5c
ret