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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd4
mov eax, dword [0x982c04]
mov ecx, dword [ebp + 0xc]
push ebx
xor bl, bl
test eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
mov byte [esp + 0x1f], bl
mov byte [esp + 0x1e], bl
je 0x6d12b6
test ecx, ecx
je 0x6d12a3
mov eax, dword [ecx + 0x24]
cmp eax, 0x40cdc515
je 0x6d129d
cmp eax, 0x1149c7da
jne 0x6d12a3
mov bl, 1
mov byte [esp + 0x1f], bl
mov al, byte [esi + 0x91]
cmp al, 0x72
je 0x6d12b1
cmp al, 0x73
jne 0x6d12b6
mov byte [esp + 0x1e], 1
fld dword [esi]
mov al, byte [esi + 0x90]
and al, 2
fmul dword [0x8af9a4]
fsub dword [0x89096c]
fstp dword [esp + 0x20]
fld dword [esi + 4]
fmul dword [0x8af9a0]
fsub dword [0x89096c]
fchs
fstp dword [esp + 0x24]
je 0x6d12f0
mov edx, dword [esi + 8]
mov dword [esp + 0x28], edx
jmp 0x6d12f8
mov dword [esp + 0x28], 0x3f800000
movzx edi, byte [esi + 0x81]
fld dword [esi + 0x10]
fmul dword [0x8af9a4]
xor edx, edx
mov dh, byte [esi + 0x83]
fsub dword [0x89096c]
fstp dword [esp + 0x40]
fld dword [esi + 0x14]
fmul dword [0x8af9a0]
mov dl, byte [esi + 0x80]
fsub dword [0x89096c]
fchs
fstp dword [esp + 0x44]
shl edx, 8
or edx, edi
movzx edi, byte [esi + 0x82]
shl edx, 8
or edx, edi
test al, al
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x40]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x44]
mov dword [esp + 0x34], edx
mov edx, dword [esi + 0x60]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x64]
mov dword [esp + 0x3c], edx
je 0x6d1373
mov edx, dword [esi + 0x18]
mov dword [esp + 0x48], edx
jmp 0x6d137b
mov dword [esp + 0x48], 0x3f800000
movzx edi, byte [esi + 0x85]
fld dword [esi + 0x20]
fmul dword [0x8af9a4]
xor edx, edx
mov dh, byte [esi + 0x87]
fsub dword [0x89096c]
fstp dword [esp + 0x60]
fld dword [esi + 0x24]
fmul dword [0x8af9a0]
mov dl, byte [esi + 0x84]
fsub dword [0x89096c]
fchs
fstp dword [esp + 0x64]
shl edx, 8
or edx, edi
movzx edi, byte [esi + 0x86]
shl edx, 8
or edx, edi
test al, al
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x48]
mov dword [esp + 0x50], edx
mov edx, dword [esi + 0x4c]
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0x68]
mov dword [esp + 0x58], edx
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x5c], edx
je 0x6d13f6
mov edx, dword [esi + 0x28]
mov dword [esp + 0x68], edx
jmp 0x6d13fe
mov dword [esp + 0x68], 0x3f800000
movzx edi, byte [esi + 0x89]
fld dword [esi + 0x30]
fmul dword [0x8af9a4]
xor edx, edx
mov dh, byte [esi + 0x8b]
fsub dword [0x89096c]
fstp dword [esp + 0x80]
fld dword [esi + 0x34]
fmul dword [0x8af9a0]
mov dl, byte [esi + 0x88]
fsub dword [0x89096c]
fchs
fstp dword [esp + 0x84]
shl edx, 8
or edx, edi
movzx edi, byte [esi + 0x8a]
shl edx, 8
or edx, edi
test al, al
mov dword [esp + 0x6c], edx
mov edx, dword [esi + 0x50]
mov dword [esp + 0x70], edx
mov edx, dword [esi + 0x54]
mov dword [esp + 0x74], edx
mov edx, dword [esi + 0x70]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0x74]
mov dword [esp + 0x7c], edx
je 0x6d1482
mov eax, dword [esi + 0x38]
mov dword [esp + 0x88], eax
jmp 0x6d148d
mov dword [esp + 0x88], 0x3f800000
movzx eax, byte [esi + 0x8d]
xor edx, edx
mov dh, byte [esi + 0x8f]
mov edi, dword [ebp + 0x10]
mov dl, byte [esi + 0x8c]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 0x8e]
shl edx, 8
or edx, eax
test ecx, ecx
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x8c], edx
mov edx, dword [esi + 0x58]
mov dword [esp + 0x90], edx
mov edx, dword [esi + 0x78]
mov dword [esp + 0x94], eax
mov eax, dword [esi + 0x7c]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
je 0x6d166c
cmp edi, 0x61
je 0x6d1661
movsx edx, word [ecx + 0x44]
mov dword [esp + 0x18], edx
movsx eax, word [ecx + 0x46]
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [0x982bc8]
test eax, eax
fdivr dword [0x8933d4]
fld dword [esp + 0x30]
fadd st(1)
fstp dword [esp + 0x30]
fild dword [esp + 0x18]
fdivr dword [0x8933d4]
fld dword [esp + 0x34]
fadd st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x50]
fsub st(2)
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fadd st(1)
fstp dword [esp + 0x54]
fld dword [esp + 0x70]
fsub st(2)
fstp dword [esp + 0x70]
fld dword [esp + 0x74]
fsub st(1)
fstp dword [esp + 0x74]
fxch st(1)
fadd dword [esp + 0x90]
fstp dword [esp + 0x90]
fld dword [esp + 0x94]
fsub st(1)
fstp dword [esp + 0x94]
fstp st(0)
je 0x6d1661
movsx edx, word [eax + 0x44]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fdivr dword [0x8933d4]
fadd dword [esp + 0x38]
fstp dword [esp + 0x38]
movsx edx, word [eax + 0x46]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fdivr dword [0x8933d4]
fadd dword [esp + 0x3c]
fstp dword [esp + 0x3c]
movsx edx, word [eax + 0x44]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fdivr dword [0x8933d4]
fsubr dword [esp + 0x58]
fstp dword [esp + 0x58]
movsx edx, word [eax + 0x46]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fdivr dword [0x8933d4]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x5c]
movsx edx, word [eax + 0x44]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fdivr dword [0x8933d4]
fsubr dword [esp + 0x78]
fstp dword [esp + 0x78]
movsx edx, word [eax + 0x46]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fdivr dword [0x8933d4]
fsubr dword [esp + 0x7c]
fstp dword [esp + 0x7c]
movsx edx, word [eax + 0x44]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fdivr dword [0x8933d4]
fadd dword [esp + 0x98]
fstp dword [esp + 0x98]
movsx eax, word [eax + 0x46]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fdivr dword [0x8933d4]
fsubr dword [esp + 0x9c]
fstp dword [esp + 0x9c]
push 0
push ecx
call fcn.006c6cc0
add esp, 8
mov edx, dword [0x982bc4]
test edx, edx
je 0x6d1697
mov ecx, dword [0x982c80]
mov eax, dword [ecx + 0x48]
mov ecx, dword [ecx + 0x44]
mov ebx, dword [eax]
push edx
mov edx, dword [ecx + 0x2a4]
push edx
push eax
call dword [ebx + 0xd0]
mov bl, byte [esp + 0x1f]
cmp edi, 0x61
jne 0x6d17b5
mov eax, dword [0x982c80]
mov cl, byte [eax + 0x40]
mov eax, dword [0x982bdc]
test cl, cl
mov ecx, dword [eax]
jne 0x6d16ca
push 0x103
push 0x18
push 0
push eax
call dword [ecx + 0x10c]
push 0x10142
jmp 0x6d16df
push 0x100
push 0x18
push 0
push eax
call dword [ecx + 0x10c]
push 0x20142
mov eax, dword [0x982bdc]
mov edx, dword [eax]
push eax
call dword [edx + 0x164]
mov eax, dword [0x982bdc]
lea edx, [esp + 0xa0]
push edx
push 0x10
mov dword [esp + 0xa8], 0x3f800000
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0x3f800000
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0x3f800000
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0x3f800000
mov ecx, dword [eax]
push eax
call dword [ecx + 0xb0]
test bl, bl
mov dword [0x982ca0], 0
je 0x6d180a
mov eax, dword [0x982bdc]
mov ecx, dword [eax]
push 1
push 0x34
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x982bdc]
mov edx, dword [eax]
push 8
push 0x38
push eax
call dword [edx + 0xe4]
mov eax, dword [0x982bdc]
mov ecx, dword [eax]
push 7
push 0x37
push eax
call dword [ecx + 0xe4]
push 0x5f
push 1
call fcn.006c67c0
add esp, 8
call fcn.006c83a0
mov al, byte [esp + 0x1e]
test al, al
je 0x6d188d
mov eax, dword [0x982bdc]
mov edx, dword [eax]
push 1
push 0x34
push eax
call dword [edx + 0xe4]
mov eax, dword [0x982bdc]
mov ecx, dword [eax]
push 2
push 0x38
push eax
call dword [ecx + 0xe4]
push 0x5f
push 0
call fcn.006c67c0
mov al, byte [esi + 0x91]
add esp, 8
cmp al, 0x72
jne 0x6d187a
mov eax, dword [0x93d944]
test ah, 0x20
je 0x6d1874
mov eax, dword [0x982bdc]
mov edx, dword [eax]
push 0xffb0b0b0
push 0xc1
push eax
call dword [edx + 0xe4]
push 0xf
push 0xe
jmp 0x6d187e
push 1
push 2
jmp 0x6d187e
push 2
push 5
push 1
call fcn.006c6810
add esp, 0xc
call fcn.006c83a0
mov al, byte [0x8f9358]
test al, al
je 0x6d18e6
mov eax, dword [0x982c80]
mov eax, dword [eax + 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x104]
mov edx, dword [0x982c80]
mov eax, dword [edx + 0x48]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x100]
mov eax, dword [0x982bdc]
mov edx, dword [eax]
push 0x20
lea ecx, [esp + 0x24]
push ecx
push 2
push 6
push eax
call dword [edx + 0x14c]
mov edx, dword [0x982c80]
mov eax, dword [edx + 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + pe_nt_image_headers32]
test bl, bl
jne 0x6d18f2
mov al, byte [esp + 0x1e]
test al, al
je 0x6d1904
mov eax, dword [0x982bdc]
mov edx, dword [eax]
push 0
push 0x34
push eax
call dword [edx + 0xe4]
call fcn.006c6ed0
cmp edi, 0x61
jne 0x6d1922
mov eax, dword [0x982bdc]
mov ecx, dword [eax]
push 2
push 0x18
push 0
push eax
call dword [ecx + 0x10c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret