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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x3c], eax
movzx eax, word [ebx]
cmp ax, 0x40
jle 0x4a75f6
push 0x40
push 0x54d658
call fcn.004719ba
pop ecx
jmp 0x4a7bfe
test byte [ebp + 0x18], 0x80
je 0x4a7606
mov dword [esp + 0x18], 1
jmp 0x4a760b
cwde
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x18]
imul esi, esi, 0x50
add esi, 0x37
and esi, 0xfffffff8
mov eax, edi
mov eax, dword [eax]
lea ecx, [esi + 0x264]
push ecx
mov dword [esp + 0x34], eax
call fcn.00470081
mov edi, eax
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x1e], 0
pop ecx
mov dword [esp + 0x20], edi
je 0x4a7646
push edi
push eax
call fcn.0046fef7
jmp 0x4a75f0
mov eax, dword [esp + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 8], ebx
call fcn.00482201
mov dword [edi + 0x14], eax
mov ax, word [ebp + 0x18]
mov word [edi + 4], ax
mov eax, dword [ebp + 8]
add esi, edi
mov dword [edi + 0x1c], esi
fld qword [eax + 0x1c0]
push 0x104
fstp qword [edi + 0x20]
lea eax, [esi + 0x160]
push 0
push eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x38], eax
call fcn.00407dd0
mov ecx, dword [ebp + 8]
add esp, 0xc
push dword [esp + 0x2c]
mov eax, esi
call fcn.004a409a
mov eax, dword [ebp + 8]
pop ecx
push dword [ebp + 0x10]
call fcn.0048eeb4
pop ecx
push 0x45
push dword [ebp + 0x10]
push esi
call fcn.004a41cb
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x4a76ee
cmp dword [esp + 0x18], 0
je 0x4a76db
push dword [ebp + 0x10]
call fcn.0048d4e0
pop ecx
test eax, eax
je 0x4a76ee
push 8
push dword [edi + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0048f23c
add esp, 0x10
and dword [esp + 0x28], 0
xor eax, eax
cmp ax, word [ebx]
jge 0x4a7747
lea eax, [ebx + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x2c]
call fcn.004a4237
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x4a7735
test byte [eax + 0x22], 0x10
je 0x4a7735
mov ecx, dword [esp + 0x28]
xor eax, eax
inc eax
xor edx, edx
call fcn.0041d270
or dword [esi + 8], eax
or dword [esi + 0xc], edx
movsx eax, word [ebx]
inc dword [esp + 0x28]
add dword [esp + 0x1c], 0x38
cmp dword [esp + 0x28], eax
jl 0x4a7701
push esi
push ebx
call fcn.004a4556
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x1e], 0
pop ecx
pop ecx
jne 0x4a7be7
mov eax, dword [esp + 0x18]
or dword [esp + 0x10], 0xffffffff
or dword [esp + 0x14], 0xffffffff
or dword [esp + 0x64], 0xffffffff
and dword [esp + 0x34], 0
and dword [esp + 0x28], 0
lea ebx, [edi + 0x30]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x24], ebx
test eax, eax
jle 0x4a7add
dec eax
mov dword [esp + 0x7c], eax
or dword [esp + 0x38], 0xffffffff
push 0x28
xor esi, esi
lea eax, [esp + 0xac]
push esi
push eax
call fcn.00407dd0
fld qword [0x551b00]
mov ecx, dword [esp + 0x40]
fstp qword [esp + 0xcc]
xor eax, eax
add esp, 0xc
cmp ecx, dword [esp + 0x7c]
mov dword [esp + 0x5c], esi
setl al
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
cmp eax, esi
mov dword [esp + 0x1c], eax
jl 0x4a7a11
cmp dword [esp + 0x38], 0
jge 0x4a7a11
mov eax, dword [esp + 0x34]
mov edx, dword [ebp + 0xc]
mov ecx, eax
imul ecx, ecx, 0x38
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
lea ebx, [ecx + edx + 8]
jge 0x4a7a07
imul eax, eax, 0x50
lea eax, [eax + edi + 0x78]
mov dword [esp + 0x4c], eax
test byte [ebx + 0x15], 0xa
push 0
pop eax
setne al
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x40], eax
je 0x4a7836
cmp dword [esp + 0x44], 0
jne 0x4a7a07
push dword [ebx + 0x18]
mov eax, dword [esp + 0x30]
call fcn.004a420a
pop ecx
mov ecx, edx
mov esi, eax
and eax, dword [esp + 0x10]
mov dword [esp + 0x74], ecx
and ecx, dword [esp + 0x14]
or eax, ecx
jne 0x4a786e
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x34]
jne 0x4a79ed
inc dword [esp + 0x34]
jmp 0x4a79ed
xor edx, edx
cmp dword [esp + 0x1c], edx
je 0x4a787e
mov eax, dword [esp + 0x74]
mov ecx, esi
jmp 0x4a7886
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x28], edx
jne 0x4a789b
mov eax, dword [ebp + 0x14]
cmp eax, edx
je 0x4a789b
mov eax, dword [eax]
jmp 0x4a789d
xor eax, eax
cmp dword [ebx + 0x34], edx
jne 0x4a78a6
inc dword [esp + 0x5c]
mov edx, dword [ebx + 0xc]
test byte [edx + 0x22], 0x10
je 0x4a78de
push dword [esp + 0x4c]
lea edx, [esp + 0x84]
push edx
push eax
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x80]
push ecx
push ebx
push dword [esp + 0x68]
push dword [ebp + 8]
call fcn.004a5afc
add esp, 0x28
jmp 0x4a7903
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x88]
push dword [esp + 0x18]
push dword [esp + 0x78]
push ecx
push ebx
push dword [esp + 0x60]
push dword [ebp + 8]
call fcn.004a5ce7
add esp, 0x20
cmp dword [esp + 0x1c], 0
je 0x4a7925
test dword [esp + 0x80], 0x100f3000
jne 0x4a7925
mov edx, dword [esp + 0x74]
or dword [esp + 0x50], esi
or dword [esp + 0x54], edx
jmp 0x4a7929
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
and eax, dword [esp + 0x10]
and ecx, dword [esp + 0x14]
or eax, ecx
jne 0x4a79e6
xor ecx, ecx
cmp dword [esp + 0x38], ecx
jl 0x4a796a
and esi, dword [esp + 0x50]
and edx, dword [esp + 0x54]
mov eax, esi
or eax, edx
jne 0x4a796a
test dword [esp + 0x80], 0x100f3000
je 0x4a79e6
cmp dword [esp + 0x5c], ecx
je 0x4a7982
cmp dword [ebx + 0x34], ecx
je 0x4a7982
test dword [esp + 0x80], 0x100f3000
je 0x4a79e6
cmp dword [esp + 0x38], ecx
jl 0x4a79c7
fld qword [esp + 0xc0]
fcomp qword [esp + 0x98]
fnstsw ax
test ah, 0x41
je 0x4a79c7
fld qword [esp + 0xc0]
fcomp qword [esp + 0x98]
fnstsw ax
test ah, 1
jne 0x4a79e6
fld qword [esp + 0xb0]
fcomp qword [esp + 0x88]
fnstsw ax
test ah, 0x41
jne 0x4a79e6
mov eax, dword [esp + 0x40]
push 0xa
pop ecx
lea esi, [esp + 0x80]
lea edi, [esp + 0xa8]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x38], eax
cmp dword [esp + 0x44], 0
jne 0x4a7a07
inc dword [esp + 0x40]
mov eax, dword [esp + 0x40]
add dword [esp + 0x4c], 0x50
add ebx, 0x38
cmp eax, dword [esp + 0x18]
jl 0x4a7813
dec dword [esp + 0x1c]
jns 0x4a77df
mov eax, dword [esp + 0xa8]
test eax, 0x1000000
je 0x4a7a25
mov ecx, dword [ebp + 0x14]
and dword [ecx], 0
mov ebx, dword [esp + 0x24]
and dword [esp + 0x64], eax
push 6
pop ecx
lea esi, [esp + 0xa8]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
test eax, 0x200f0000
je 0x4a7a50
mov eax, dword [edi + 0x44]
mov dword [ebx + 0x20], eax
inc dword [edi + 0x44]
jmp 0x4a7a54
or dword [ebx + 0x20], 0xffffffff
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0xc]
imul eax, eax, 0x38
lea esi, [eax + ecx]
push dword [esi + 0x20]
mov eax, dword [esp + 0x30]
call fcn.004a420a
not eax
fld1
and dword [esp + 0x14], eax
fcomp qword [esp + 0xb4]
mov al, byte [esp + 0x3c]
mov byte [ebx + 0x34], al
not edx
and dword [esp + 0x18], edx
pop ecx
fnstsw ax
test ah, 0x41
jp 0x4a7aa4
fld qword [edi + 0x1c0]
fmul qword [esp + 0xb0]
fstp qword [edi + 0x1c0]
mov esi, dword [esi + 0x3c]
test esi, esi
je 0x4a7abc
test dword [esp + 0xa8], 0xf0000
je 0x4a7bd5
inc dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
add ebx, 0x50
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x24], ebx
jl 0x4a7793
mov ebx, dword [esp + 0x60]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
jne 0x4a7be7
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x1e], 0
jne 0x4a7be7
mov eax, dword [esp + 0x64]
and eax, 0x4000000
je 0x4a7b0d
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4a7b0d
and dword [ecx], 0
test byte [ebp + 0x18], 4
je 0x4a7b21
test eax, eax
je 0x4a7b21
and dword [ebx], 0xff7fffff
mov byte [edi + 6], 1
mov eax, dword [ebp + 8]
or esi, 0xffffffff
call fcn.004948a3
fld1
mov eax, dword [esp + 0x18]
fstp qword [edi + 0x28]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], ebx
test eax, eax
jle 0x4a7d21
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 0x34]
fld qword [eax + 8]
mov edx, dword [ebp + 0xc]
imul ecx, ecx, 0x38
lea ebx, [ecx + edx + 8]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x18]
mov dword [eax + 0x1c], edx
mov dword [esp + 0x20], ecx
fmul qword [edi + 0x28]
mov dword [esp + 0x60], ebx
fstp qword [edi + 0x28]
mov esi, dword [ecx + 0x44]
mov ecx, dword [esp + 0x30]
call fcn.0049c713
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
test byte [eax + 0x22], 2
jne 0x4a7c8e
xor edx, edx
cmp dword [eax + 0x1c], edx
jne 0x4a7c8e
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx]
test ecx, 0x8000000
je 0x4a7c08
push 0xfffffffffffffff6
push dword [esp + 0x34]
call fcn.004a348d
pop ecx
push eax
push edx
push edx
push dword [ebx + 0x18]
push 0x7f
push dword [esp + 0x54]
call fcn.004821a0
add esp, 0x1c
jmp 0x4a7c8e
push dword [esi]
push 0x54d674
call fcn.004719ba
mov edi, dword [esp + 0x28]
pop ecx
pop ecx
fld qword [edi + 0x20]
mov eax, dword [ebp + 8]
push dword [esp + 0x30]
fstp qword [eax + 0x1c0]
mov ebx, edi
call fcn.004a753b
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, 0x800000
jne 0x4a7c75
test byte [ebp + 0x18], 0x10
jne 0x4a7c75
mov esi, dword [esp + 0x20]
xor eax, eax
cmp byte [edi + 6], al
setne al
add eax, 0x26
push eax
push dword [esp + 0x30]
push dword [ebx + 0x18]
push dword [ebp + 8]
call fcn.004983b1
add esp, 0x10
cmp byte [edi + 6], 0
jne 0x4a7c8e
mov eax, esi
cmp dword [eax + 8], 0x40
jge 0x4a7c8e
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
xor edx, edx
jmp 0x4a7c57
shrd eax, ecx, 1
shr ecx, 1
inc edx
mov esi, eax
or esi, ecx
jne 0x4a7c50
mov eax, dword [esp + 0x3c]
push 0xfffffffffffffff2
push edx
call fcn.00482311
push dword [esp + 0x44]
dec eax
call fcn.00482590
jmp 0x4a7c8b
push dword [eax]
mov ebx, dword [eax + 0x14]
mov eax, dword [ebp + 8]
push edx
push dword [esp + 0x34]
call fcn.004917b0
mov ebx, dword [esp + 0x6c]
add esp, 0xc
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
test ecx, 0x20000000
je 0x4a7cb7
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push ebx
push dword [esp + 0x58]
push dword [ebp + 8]
call fcn.004a55a0
add esp, 0x18
jmp 0x4a7cea
test ecx, 0xf0000
je 0x4a7cea
mov esi, dword [eax + 0x10]
push esi
push dword [ebp + 8]
call fcn.00494bb0
push 0xfffffffffffffff0
push eax
push dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push dword [esi + 0x14]
push dword [eax + 0x20]
push 0x26
push dword [esp + 0x5c]
call fcn.004821a0
add esp, 0x24
mov esi, dword [esp + 0x2c]
mov eax, dword [ebp + 8]
call fcn.004948a3
mov eax, dword [esp + 0x48]
push dword [ebx + 0x18]
mov eax, dword [eax + 4]
call fcn.004a420a
add dword [esp + 0x28], 0x50
not eax
and dword [esp + 0x14], eax
not edx
and dword [esp + 0x18], edx
dec dword [esp + 0x48]
pop ecx
jne 0x4a7b4d
mov eax, dword [esp + 0x3c]
call fcn.00482311
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x1e], 0
jne 0x4a7be7
or dword [esp + 0x10], 0xffffffff
or dword [esp + 0x14], 0xffffffff
xor ebx, ebx
cmp dword [esp + 0x18], ebx
jle 0x4a7d97
lea esi, [edi + 0x5c]
push dword [ebp + 0x18]
movzx eax, byte [esi + 8]
push eax
push ebx
lea eax, [esi - 0x2c]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
call fcn.004a676a
add esp, 0x14
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [ebp + 0x18]
push ebx
push edi
call fcn.004a699a
add esp, 0x14
mov dword [esp + 0x10], eax
mov eax, dword [esi]
inc ebx
add esi, 0x50
cmp ebx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov dword [edi + 0x10], eax
jl 0x4a7d50
mov eax, edi
jmp 0x4a7c01