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

Disassembly:
sub esp, 0x60
push esi
xor esi, esi
mov dword [esp + 0x20], esi
call fcn.0048dff0
fcomp dword [0xac33a0]
fnstsw ax
test ah, 0x40
je 0x4a3f63
xor eax, eax
pop esi
add esp, 0x60
ret
push ebx
push ebp
push edi
call fcn.0048dff0
mov eax, dword [0x11f4dd8]
fstp dword [0xac33a0]
mov edi, dword [eax + 0x21d4]
cmp edi, esi
jne 0x4a3f9f
mov eax, dword [eax + 0xd0]
shl eax, 1
push eax
call fcn.004b1d30
mov ecx, dword [0x11f4dd8]
add esp, 4
mov dword [ecx + 0x21d4], eax
jmp 0x4a3fb7
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 [0x11f4dd8]
mov edi, dword [eax + 0x21e8]
cmp edi, esi
jne 0x4a3fe3
mov eax, dword [eax + 0xd0]
push eax
call fcn.004b1d30
mov ecx, dword [0x11f4dd8]
add esp, 4
mov dword [ecx + 0x21e8], eax
jmp 0x4a3ff9
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 + 0x88]
mov ebx, dword [esp + 0x8c]
mov edi, dword [esp + 0x7c]
cmp eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], esi
je 0x4a4029
mov esi, dword [esp + 0x78]
push ebx
push eax
push esi
push edi
call fcn.004a3630
add esp, 0x10
jmp 0x4a402d
mov esi, dword [esp + 0x78]
mov ebp, dword [esp + 0x84]
lea eax, [esp + 0x4c]
push eax
fld dword [ebp]
fsub dword [esi]
fstp dword [esp + 0x50]
fld dword [ebp + 4]
fsub dword [esi + 4]
fstp dword [esp + 0x54]
fld dword [ebp + 8]
fsub dword [esi + 8]
fstp dword [esp + 0x58]
call fcn.0042a510
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x84]
fstp dword [esp + 0x80]
push 0
push ecx
push esi
push edx
push ebp
call dword [0x11f5078]
mov ecx, dword [0x11f4dd8]
mov dword [esp + 0x54], 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 [0x11f4dd8]
mov ebp, ebx
mov ebx, eax
mov ecx, dword [edx + 0x21c0]
mov dword [esp + 0x38], 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 0x4a45e2
jmp 0x4a40e3
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x14], ebx
cmp eax, edi
je 0x4a40f3
mov dword [eax + 0x24], edi
jmp 0x4a40f7
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 [0x11f4dd8]
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 + 0x30], esi
jle 0x4a45d8
lea edi, [esi + 0x18]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x8c], edi
jmp 0x4a414c
mov edx, dword [0x11f4dd8]
mov ecx, dword [edi + 0xc]
add edi, 0xfffffff4
test dword [edx + ecx*4 + 0x2130], ebp
jne 0x4a45a7
mov edx, dword [esi]
push edx
call fcn.004a2960
add esp, 4
test ebp, eax
jne 0x4a45a7
mov esi, dword [esi]
mov ecx, dword [0x11f4dd8]
mov eax, esi
mov edx, dword [ecx + 0xdc]
shl eax, 5
test byte [eax + edx + 4], 8
jne 0x4a45a7
cmp esi, dword [esp + 0x88]
je 0x4a45a7
mov eax, dword [ebx + 4]
lea ebp, [ebx + 8]
push edi
push ebp
push eax
call fcn.004a1670
mov ecx, dword [esp + 0x98]
mov edx, dword [0x11f4dd8]
mov di, ax
add esp, 0xc
add di, word [ecx + 0x10]
lea eax, [ecx - 0xc]
mov eax, dword [edx + 0x21d4]
add di, word [ebx + 0x14]
mov cx, word [eax + esi*2]
lea eax, [eax + esi*2]
test cx, cx
je 0x4a41e4
cmp cx, di
jb 0x4a45a7
mov word [eax], di
mov eax, dword [esp + 0x1c]
cmp eax, esi
jne 0x4a41fb
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
jmp 0x4a420d
mov eax, dword [esp + 0x10]
test ax, ax
je 0x4a420d
cmp di, ax
jae 0x4a45a7
mov ebx, dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0x58]
push ecx
push ebx
push ebp
push edx
call fcn.0042abf0
add esp, 0x10
xor edx, edx
lea ecx, [esp + 0x58]
fld dword [ecx]
fld dword [ebp]
fadd qword [0x4d63f8]
fcompp
fnstsw ax
test ah, 1
je 0x4a425c
fld dword [ecx]
fld dword [ebx]
fadd qword [0x4d63f8]
fcompp
fnstsw ax
test ah, 1
jne 0x4a44e7
fld dword [ecx]
fld dword [ebp]
fsub qword [0x4d63f8]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a4287
fld dword [ecx]
fld dword [ebx]
fsub qword [0x4d63f8]
fcompp
fnstsw ax
test ah, 0x41
je 0x4a44e7
inc edx
add ebp, 4
add ecx, 4
add ebx, 4
cmp edx, 3
jl 0x4a4231
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x8c]
fld dword [eax]
fsub dword [esp + 0x58]
fstp dword [esp + 0x40]
fld dword [eax + 4]
fsub dword [esp + 0x5c]
fstp dword [esp + 0x44]
fld dword [eax + 8]
fsub dword [esp + 0x60]
fstp dword [esp + 0x48]
lea eax, [esp + 0x40]
push eax
call fcn.0042a770
fstp dword [esp + 0x1c]
fld dword [esp + 0x80]
fcomp dword [0x4d63a0]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x4a4314
fld dword [esp + 0x18]
fcomp dword [esp + 0x7c]
fnstsw ax
test ah, 1
je 0x4a4314
fld dword [esp + 0x18]
fcomp dword [0x4d6510]
fnstsw ax
test ah, 1
jne 0x4a45a3
mov ebx, dword [esp + 0x8c]
mov eax, dword [esp + 0x78]
fld dword [ebx]
fsub dword [eax]
fstp dword [esp + 0x40]
fld dword [ebx + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x44]
fld dword [ebx + 8]
fsub dword [eax + 8]
fstp dword [esp + 0x48]
fld dword [esp + 0x7c]
fcomp dword [0x4d63a0]
fnstsw ax
test ah, 0x41
jne 0x4a4378
fld dword [esp + 0x48]
fmul dword [esp + 0x54]
fld dword [esp + 0x44]
fmul dword [esp + 0x50]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esp + 0x4c]
faddp st(1)
fld dword [esp + 0x7c]
fmul dword [0x4d63b4]
fcompp
fnstsw ax
test ah, 1
jne 0x4a45a3
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x84]
fld dword [ecx]
fsub dword [edx + 8]
lea eax, [edx + 8]
mov eax, edx
fstp dword [esp + 0x64]
fld dword [ecx + 4]
fsub dword [eax + 0xc]
fstp dword [esp + 0x68]
fld dword [ecx + 8]
fsub dword [eax + 0x10]
lea eax, [esp + 0x64]
push eax
fstp dword [esp + 0x70]
call fcn.0042a770
fstp dword [esp + 0x2c]
fld dword [esp + 0x80]
fcomp dword [0x4d63a0]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x4a440e
fld dword [esp + 0x18]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 1
je 0x4a440e
fld dword [esp + 0x28]
fsub dword [esp + 0x18]
and edi, 0xffff
mov dword [esp + 0x28], edi
fmul dword [0x4d6434]
fiadd dword [esp + 0x28]
call fcn.004c2f40
mov edi, eax
mov eax, dword [esp + 0x10]
test ax, ax
je 0x4a440e
cmp di, ax
jae 0x4a45a3
mov ecx, dword [esp + 0x74]
push esi
push 0xffffffffffffffff
push ecx
call fcn.004a0fc0
add esp, 0xc
test eax, eax
je 0x4a4428
add edi, 0x3e8
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4a444d
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x4a444d
push esi
push eax
call fcn.004a3b20
add esp, 8
test eax, eax
jne 0x4a45a3
mov eax, dword [esp + 0x10]
test ax, ax
je 0x4a445f
cmp ax, di
jbe 0x4a45a3
mov edx, dword [0x11f4dd8]
mov eax, dword [edx + 0x21e0]
cmp dword [eax + esi*4], 0
je 0x4a4531
mov ecx, dword [esp + 0x88]
push esi
push ecx
call fcn.004a3b20
add esp, 8
test eax, eax
jne 0x4a4531
mov eax, dword [0x11f4dd8]
mov edx, dword [eax + 0x21e8]
mov cl, byte [edx + esi]
cmp cl, 2
je 0x4a451f
test cl, cl
jne 0x4a44db
mov ecx, dword [esp + 0x74]
mov eax, dword [eax + 0x21e4]
lea edx, [esi + esi*2]
push 0
push ecx
lea ecx, [eax + edx*4]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
push ecx
push edx
push eax
call dword [0x11f5078]
add esp, 0x14
test eax, eax
mov eax, dword [0x11f4dd8]
je 0x4a451f
mov ecx, dword [eax + 0x21e8]
mov byte [ecx + esi], 1
jmp 0x4a4531
cmp edx, 3
jge 0x4a4296
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x8c]
fld dword [eax]
fsub dword [ebx]
fstp dword [esp + 0x40]
fld dword [eax + 4]
fsub dword [ebx + 4]
fstp dword [esp + 0x44]
fld dword [eax + 8]
fsub dword [ebx + 8]
fstp dword [esp + 0x48]
jmp 0x4a42c4
mov edx, dword [eax + 0x21e8]
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], esi
mov byte [edx + esi], 2
mov eax, dword [esp + 0x2c]
mov ecx, eax
inc eax
cmp ecx, 0xfa0
mov dword [esp + 0x2c], eax
jg 0x4a45a3
mov eax, dword [0x11f4dd8]
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 + 0x8c]
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 0x4a45a3
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x20], 0
test ecx, ecx
mov dword [eax + 0x24], ecx
je 0x4a4594
mov dword [ecx + 0x20], eax
jmp 0x4a4598
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [eax + 0x1c], 1
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x8c]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
add esi, 0x2c
add edi, 0x2c
dec eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x34], eax
jne 0x4a4146
xor edi, edi
cmp dword [esp + 0x24], edi
jne 0x4a40df
mov eax, dword [esp + 0x1c]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x60
ret