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

Disassembly:
sub esp, 0x90
mov eax, dword [0x453d94]
push ebx
mov dword [esp + 4], eax
push ebp
cdq
and edx, 7
mov ebp, ecx
mov ecx, dword [esp + 0xa0]
add eax, edx
push esi
mov esi, eax
sar esi, 3
mov eax, ecx
xor edx, edx
div esi
xor ebx, ebx
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x90], eax
mov eax, dword [0x453d9c]
mov dword [esp + 0x94], eax
mov eax, dword [0x453d8c]
cmp eax, ebx
jne 0x77fb33
mov eax, dword [0x453d90]
mov edi, dword [esp + 0xa4]
cmp eax, 8
mov edx, ecx
setne al
dec eax
and eax, 0x80
and eax, 0xff
mov bl, al
mov bh, bl
mov eax, ebx
shl eax, 0x10
mov ax, bx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 8
cmp dword [ebp + 0xc6c], ebx
je 0x77fb44
movsx ecx, word [0x453da0]
jmp 0x77fb46
xor ecx, ecx
cmp dword [ebp + 0xc70], ebx
je 0x77fb78
movsx eax, word [0x453da2]
imul eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x68db8bad
shl edx, 4
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x30], edx
jmp 0x77fb7c
mov dword [esp + 0x30], ebx
cmp dword [ebp + 0xc74], ebx
je 0x77fbae
movsx eax, word [0x453da4]
imul eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x68db8bad
shl edx, 4
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x34], edx
jmp 0x77fbb2
mov dword [esp + 0x34], ebx
cmp dword [ebp + 0xc78], ebx
je 0x77fbe4
movsx eax, word [0x453da6]
imul eax, ecx
lea edx, [eax + eax*8]
lea edx, [eax + edx*2]
mov eax, 0x68db8bad
shl edx, 4
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x38], edx
jmp 0x77fbe8
mov dword [esp + 0x38], ebx
cmp dword [ebp + 0xc7c], ebx
je 0x77fc17
movsx eax, word [0x453da8]
imul eax, ecx
lea edx, [eax + eax*2]
mov eax, 0x68db8bad
shl edx, 6
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x3c], edx
jmp 0x77fc1b
mov dword [esp + 0x3c], ebx
cmp dword [ebp + 0xc80], ebx
je 0x77fc4d
movsx eax, word [0x453daa]
imul eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x68db8bad
shl edx, 4
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x40], edx
jmp 0x77fc51
mov dword [esp + 0x40], ebx
mov edi, dword [ebp + 0xc84]
mov si, word [0x453dac]
cmp edi, ebx
je 0x77fc88
movsx eax, si
imul eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x68db8bad
shl edx, 4
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x44], edx
jmp 0x77fc8c
mov dword [esp + 0x44], ebx
mov eax, dword [ebp + 0xc88]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x77fcc0
movsx eax, si
imul eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x68db8bad
shl edx, 4
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x48], edx
jmp 0x77fcc4
mov dword [esp + 0x48], ebx
mov eax, dword [ebp + 0xc8c]
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x77fcf8
movsx eax, si
imul eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x68db8bad
shl edx, 4
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x4c], edx
jmp 0x77fcfc
mov dword [esp + 0x4c], ebx
cmp edi, ebx
je 0x77fd2a
movsx eax, word [0x453dae]
imul eax, ecx
lea edx, [eax + eax*8]
lea edx, [eax + edx*2]
mov eax, 0x68db8bad
shl edx, 4
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x50], edx
jmp 0x77fd2e
mov dword [esp + 0x50], ebx
cmp edi, ebx
je 0x77fd5c
movsx eax, word [0x453db0]
imul eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x68db8bad
shl edx, 4
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x54], edx
jmp 0x77fd60
mov dword [esp + 0x54], ebx
mov si, word [0x453db2]
cmp edi, ebx
je 0x77fd91
movsx eax, si
imul eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x68db8bad
shl edx, 4
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x58], edx
jmp 0x77fd95
mov dword [esp + 0x58], ebx
cmp dword [esp + 0x14], ebx
je 0x77fdc1
movsx eax, si
imul eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x68db8bad
shl edx, 4
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x5c], edx
jmp 0x77fdc5
mov dword [esp + 0x5c], ebx
cmp dword [esp + 0x18], ebx
je 0x77fdf1
movsx eax, si
imul eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x68db8bad
shl edx, 4
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x60], edx
jmp 0x77fdf5
mov dword [esp + 0x60], ebx
mov si, word [0x453db4]
cmp edi, ebx
je 0x77fe27
movsx eax, si
imul eax, ecx
mov edx, eax
shl edx, 4
add edx, eax
mov eax, 0x68db8bad
shl edx, 3
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x64], edx
jmp 0x77fe2b
mov dword [esp + 0x64], ebx
cmp dword [esp + 0x14], ebx
je 0x77fe58
movsx eax, si
imul eax, ecx
mov edx, eax
shl edx, 4
add edx, eax
mov eax, 0x68db8bad
shl edx, 3
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x68], edx
jmp 0x77fe5c
mov dword [esp + 0x68], ebx
cmp dword [esp + 0x18], ebx
je 0x77fe89
movsx eax, si
imul eax, ecx
mov edx, eax
shl edx, 4
add edx, eax
mov eax, 0x68db8bad
shl edx, 3
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x6c], edx
jmp 0x77fe8d
mov dword [esp + 0x6c], ebx
cmp dword [ebp + 0xc90], ebx
je 0x77febc
movsx eax, si
imul eax, ecx
mov edx, eax
shl edx, 4
add edx, eax
mov eax, 0x68db8bad
shl edx, 3
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x70], edx
jmp 0x77fec0
mov dword [esp + 0x70], ebx
cmp dword [ebp + 0xc94], ebx
je 0x77feef
movsx eax, si
imul eax, ecx
mov edx, eax
shl edx, 4
add edx, eax
mov eax, 0x68db8bad
shl edx, 3
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x74], edx
jmp 0x77fef3
mov dword [esp + 0x74], ebx
cmp dword [ebp + 0xc98], ebx
je 0x77ff22
movsx eax, si
imul eax, ecx
mov edx, eax
shl edx, 4
add edx, eax
mov eax, 0x68db8bad
shl edx, 3
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x78], edx
jmp 0x77ff26
mov dword [esp + 0x78], ebx
cmp dword [ebp + 0xc9c], ebx
je 0x77ff55
movsx eax, si
imul eax, ecx
mov edx, eax
shl edx, 4
add edx, eax
mov eax, 0x68db8bad
shl edx, 3
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x7c], edx
jmp 0x77ff59
mov dword [esp + 0x7c], ebx
cmp dword [ebp + 0xca0], ebx
je 0x77ff8b
movsx eax, si
imul eax, ecx
mov edx, eax
shl edx, 4
add edx, eax
mov eax, 0x68db8bad
shl edx, 3
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x80], edx
jmp 0x77ff92
mov dword [esp + 0x80], ebx
mov si, word [0x453db6]
cmp edi, ebx
je 0x77ffc6
movsx eax, si
imul eax, ecx
lea edx, [eax + eax*8]
lea edx, [eax + edx*2]
mov eax, 0x68db8bad
shl edx, 4
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x84], edx
jmp 0x77ffcd
mov dword [esp + 0x84], ebx
cmp dword [esp + 0x14], ebx
je 0x77fffc
movsx eax, si
imul eax, ecx
lea edx, [eax + eax*8]
lea edx, [eax + edx*2]
mov eax, 0x68db8bad
shl edx, 4
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x88], edx
jmp 0x780003
mov dword [esp + 0x88], ebx
cmp dword [esp + 0x18], ebx
je 0x780032
movsx eax, si
imul eax, ecx
lea ecx, [eax + eax*8]
lea ecx, [eax + ecx*2]
mov eax, 0x68db8bad
shl ecx, 4
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x8c], edx
jmp 0x780039
mov dword [esp + 0x8c], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
fild dword [ecx + 0x1c]
mov ecx, dword [eax + 8]
fmul qword [0x442cd8]
fidiv dword [0x453d90]
fstp qword [esp + 0x98]
call fcn.00780670
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fcomp qword [ebp + 0x10]
fnstsw ax
test ah, 1
je 0x780076
mov ecx, ebp
call fcn.0077f680
mov ecx, dword [esp + 0x90]
mov edx, ecx
dec ecx
test edx, edx
je 0x7804ae
lea eax, [ebp + 0xcac]
inc ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov ebx, 1
fld qword [ebp + 0x10]
call fcn.00793cb8
mov esi, eax
lea eax, [esp + 0x24]
push eax
push esi
mov ecx, ebp
call fcn.0077f570
test eax, eax
je 0x7800d9
mov ecx, dword [esp + 0x2a]
mov edx, dword [esp + 0x28]
push ecx
push edx
mov ecx, ebp
call fcn.0077f9c0
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
push esi
call fcn.0077f570
test eax, eax
jne 0x7800b7
lea ecx, [esp + 0x24]
push ecx
push esi
mov ecx, ebp
call fcn.0077f620
test eax, eax
je 0x78010c
mov edx, dword [esp + 0x2a]
mov eax, dword [esp + 0x28]
push edx
push eax
mov ecx, ebp
call fcn.0077f9f0
lea ecx, [esp + 0x24]
push ecx
push esi
mov ecx, ebp
call fcn.0077f620
test eax, eax
jne 0x7800ea
mov edx, dword [ebp + 0x30]
lea edi, [ebp + 0x30]
push 0
mov ecx, edi
call dword [edx + 0xc]
mov esi, eax
mov eax, dword [edi]
imul esi, dword [esp + 0x30]
push ebx
mov ecx, edi
call dword [eax + 0xc]
imul eax, dword [esp + 0x34]
mov edx, dword [edi]
push 2
mov ecx, edi
add esi, eax
call dword [edx + 0xc]
imul eax, dword [esp + 0x38]
add esi, eax
mov eax, dword [edi]
push 3
mov ecx, edi
call dword [eax + 0xc]
imul eax, dword [esp + 0x3c]
mov edx, dword [edi]
push 4
mov ecx, edi
add esi, eax
call dword [edx + 0xc]
imul eax, dword [esp + 0x40]
add esi, eax
mov al, byte [ebp + 0xc]
test bl, al
je 0x78019f
mov eax, dword [ebp + 0x180]
lea edi, [ebp + 0x180]
push 0
mov ecx, edi
call dword [eax + 0xc]
imul eax, dword [esp + 0x44]
mov edx, dword [edi]
push ebx
mov ecx, edi
add esi, eax
call dword [edx + 0xc]
imul eax, dword [esp + 0x48]
add esi, eax
mov eax, dword [edi]
push 2
mov ecx, edi
call dword [eax + 0xc]
imul eax, dword [esp + 0x4c]
add esi, eax
test byte [ebp + 0xc], 2
je 0x7801bd
mov edx, dword [ebp + 0x1d4]
lea ecx, [ebp + 0x1d4]
push 0
call dword [edx + 0xc]
imul eax, dword [esp + 0x50]
add esi, eax
test byte [ebp + 0xc], 4
je 0x7801db
mov eax, dword [ebp + 0x248]
lea ecx, [ebp + 0x248]
push 0
call dword [eax + 0xc]
imul eax, dword [esp + 0x54]
add esi, eax
test byte [ebp + 0xc], 8
je 0x78021a
mov edx, dword [ebp + 0x1e0]
lea edi, [ebp + 0x1e0]
push 0
mov ecx, edi
call dword [edx + 0xc]
imul eax, dword [esp + 0x58]
add esi, eax
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0xc]
imul eax, dword [esp + 0x5c]
mov edx, dword [edi]
push 2
mov ecx, edi
add esi, eax
call dword [edx + 0xc]
imul eax, dword [esp + 0x60]
add esi, eax
test byte [ebp + 0xc], 0x10
je 0x7802b0
mov eax, dword [ebp + 0x6a8]
lea edi, [ebp + 0x6a8]
push 0
mov ecx, edi
call dword [eax + 0xc]
imul eax, dword [esp + 0x64]
mov edx, dword [edi]
push ebx
mov ecx, edi
add esi, eax
call dword [edx + 0xc]
imul eax, dword [esp + 0x68]
add esi, eax
mov eax, dword [edi]
push 2
mov ecx, edi
call dword [eax + 0xc]
imul eax, dword [esp + 0x6c]
mov edx, dword [edi]
push 3
mov ecx, edi
add esi, eax
call dword [edx + 0xc]
imul eax, dword [esp + 0x70]
add esi, eax
mov eax, dword [edi]
push 4
mov ecx, edi
call dword [eax + 0xc]
imul eax, dword [esp + 0x74]
mov edx, dword [edi]
push 5
mov ecx, edi
add esi, eax
call dword [edx + 0xc]
imul eax, dword [esp + 0x78]
add esi, eax
mov eax, dword [edi]
push 6
mov ecx, edi
call dword [eax + 0xc]
imul eax, dword [esp + 0x7c]
mov edx, dword [edi]
push 7
mov ecx, edi
add esi, eax
call dword [edx + 0xc]
imul eax, dword [esp + 0x80]
add esi, eax
test byte [ebp + 0xc], 0x20
je 0x780301
mov eax, dword [ebp + 0xb78]
lea edi, [ebp + 0xb78]
push 3
mov ecx, edi
call dword [eax + 0xc]
mov edx, dword [edi]
push 0
mov ecx, edi
call dword [edx + 0xc]
imul eax, dword [esp + 0x84]
add esi, eax
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0xc]
imul eax, dword [esp + 0x88]
mov edx, dword [edi]
push 2
mov ecx, edi
add esi, eax
call dword [edx + 0xc]
imul eax, dword [esp + 0x8c]
add esi, eax
mov eax, dword [esp + 0x94]
sar esi, 8
cmp eax, ebx
mov dword [esp + 0x14], esi
jne 0x780325
mov eax, dword [ebp + 0x20]
add eax, esi
cdq
sub eax, edx
sar eax, 1
mov esi, eax
mov dword [esp + 0x14], esi
jmp 0x78039a
cmp eax, 2
jne 0x78034d
mov edi, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
add ecx, edi
mov eax, 0x55555556
add ecx, esi
mov dword [ebp + 0x24], edi
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov esi, edx
mov dword [esp + 0x14], esi
jmp 0x78039a
cmp eax, 3
jne 0x780378
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov edi, dword [ebp + 0x20]
add eax, ecx
add eax, edi
mov dword [ebp + 0x28], ecx
add eax, esi
mov dword [ebp + 0x24], edi
cdq
and edx, 3
add eax, edx
sar eax, 2
mov esi, eax
mov dword [esp + 0x14], esi
jmp 0x78039a
cmp eax, 4
jne 0x78039d
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov dword [ebp + 0x24], ecx
lea eax, [edx + ecx*2]
add eax, esi
cdq
and edx, 3
add eax, edx
sar eax, 2
mov esi, eax
mov dword [esp + 0x14], esi
mov dword [ebp + 0x20], esi
fld qword [0x4d71f0]
fsub qword [0x4d71f8]
fmul qword [0x442cd0]
fld qword [0x4d71f0]
fsub st(1)
fstp qword [0x4d71f0]
fadd qword [0x4d71f8]
fstp qword [0x4d71f8]
fild dword [esp + 0x14]
fcom qword [0x4d71f0]
fnstsw ax
test ah, 0x41
jne 0x7803e0
fst qword [0x4d71f0]
fcom qword [0x4d71f8]
fnstsw ax
test ah, 1
je 0x7803f5
fstp qword [0x4d71f8]
jmp 0x7803f7
fstp st(0)
fld qword [0x4d71e8]
fmul qword [0x442cc8]
fsubr qword [0x4d71e8]
fld qword [0x4d71f8]
fadd qword [0x4d71f0]
fmul qword [0x442cc0]
faddp st(1)
fst qword [0x4d71e8]
call fcn.00793cb8
sub esi, eax
cmp esi, 0x7fff
jle 0x780439
mov esi, 0x7fff
jmp 0x780446
cmp esi, 0xffff8000
jge 0x780446
mov esi, 0xffff8000
cmp dword [esp + 0x10], 8
je 0x78045c
mov eax, dword [esp + 0xa4]
mov word [eax], si
add eax, 2
jmp 0x78046e
mov eax, dword [esp + 0xa4]
mov ecx, esi
sar ecx, 8
xor cl, 0x80
mov byte [eax], cl
inc eax
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x100
jge 0x780497
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
inc edx
mov word [eax], si
add eax, 2
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
fld qword [esp + 0x98]
fadd qword [ebp + 0x10]
dec dword [esp + 0x1c]
fstp qword [ebp + 0x10]
jne 0x78009c
mov esi, dword [ebp + 8]
mov edx, esi
mov ecx, dword [edx + 8]
call fcn.00780670
mov edi, eax
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x1c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
add edx, edi
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fcomp qword [ebp + 0x10]
fnstsw ax
test ah, 1
je 0x7804fb
mov ecx, dword [esi + 8]
call fcn.00780670
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov eax, 0x2aaaaaab
mov edx, dword [ecx + 0x20]
mov ecx, dword [ecx + 8]
mov edx, dword [edx + 0x1c]
imul edx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fadd qword [ebp + 0x10]
fstp qword [esp + 0x98]
call fcn.00780670
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcomp qword [esp + 0x98]
fnstsw ax
test ah, 0x41
jne 0x780558
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
call fcn.00780670
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [ebp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 8