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

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x6e9ca5
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.007646d8
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fdiv dword [0x6e9cb4]
fstp qword [edi + 0x58]
wait
mov eax, dword [edi + 0x40]
mov edx, dword [eax]
call dword [edx + 0x50]
mov dword [edi + 0x48], eax
call fcn.007646d8
mov ebx, dword [edi + 0x60]
mov dword [ebx + 0x120], eax
movzx eax, byte [edi + 0x80]
mov byte [ebx + 0xec], al
lea eax, [ebx + 0xfc]
mov edx, dword [edi + 0x84]
call fcn.0040a6f0
mov eax, dword [edi + 0x60]
movzx edx, byte [edi + 0x88]
mov byte [eax + 0x116], dl
mov byte [edi + 4], 0
mov eax, dword [edi + 0x60]
mov dword [eax + 0xf4], edi
mov dword [eax + 0xf0], fcn.006e7efc
mov dword [edi + 0x8c], 0xffffffff
mov dl, 1
mov eax, dword [0x65ed70]
call fcn.00408620
mov dword [edi + 0x94], eax
xor ebx, ebx
movzx eax, bl
xor edx, edx
mov dword [edi + eax*4 + 0x9c], edx
inc ebx
cmp bl, 7
jne 0x6e9926
lea eax, [edi + 0x9c]
mov dword [edi + 0x98], eax
mov eax, dword [edi + 0x40]
mov si, 0xffec
call fcn.0040899c
test al, al
je 0x6e9997
cmp byte [edi + 6], 2
jne 0x6e9997
cmp byte [edi + 7], 2
jne 0x6e9997
mov eax, dword [edi + 0x40]
mov si, 0xffeb
call fcn.0040899c
cmp al, 2
je 0x6e9997
mov eax, dword [edi + 0x60]
mov dword [eax + 0x134], edi
mov dword [eax + 0x130], 0x6e6c5c
mov dl, 1
mov eax, dword [0x65ed70]
call fcn.00408620
mov dword [edi + 0xc4], eax
jmp 0x6e999f
xor eax, eax
mov dword [edi + 0xc4], eax
xor eax, eax
mov dword [edi + 0xc8], eax
xor eax, eax
mov dword [edi + 0xcc], eax
cmp byte [edi + 0xc], 0
jne 0x6e99c8
mov eax, dword [edi + 0x60]
mov dword [eax + 0x9c], edi
mov dword [eax + 0x98], 0x6e8da0
cmp byte [edi + 0xb], 0
jne 0x6e99db
mov eax, dword [edi + 0x60]
mov dword [eax + 0x6c], edi
mov dword [eax + 0x68], fcn.006e8f64
mov dword [edi + 0xbc], 0xffffffff
mov eax, dword [edi + 0x60]
mov dword [eax + 0x5c], edi
mov dword [eax + 0x58], fcn.006e8ca8
movzx edx, byte [edi + 5]
test dl, dl
je 0x6e99ff
sub dl, 2
jne 0x6e9a09
mov dword [eax + 0x7c], edi
mov dword [eax + 0x78], 0x6e9584
cmp byte [edi + 8], 0
jne 0x6e9a2c
mov eax, dword [edi + 0x60]
mov dword [eax + 0x8c], edi
mov dword [eax + 0x88], 0x6e4a04
mov dword [eax + 0x74], edi
mov dword [eax + 0x70], 0x6e4f40
mov eax, dword [edi + 0x40]
mov si, 0xffe8
call fcn.0040899c
test al, al
je 0x6e9a51
mov eax, dword [edi + 0x60]
mov dword [eax + 0x104], edi
mov dword [eax + 0x100], 0x6e8c88
jmp 0x6e9a62
mov eax, dword [edi + 0x60]
xor edx, edx
mov dword [eax + 0x100], edx
mov dword [eax + 0x104], edx
mov eax, dword [edi + 0x60]
mov dword [eax + 0x84], edi
push eax
mov eax, edi
mov dx, 0xfffd
call fcn.004089bc
mov edx, eax
pop eax
mov dword [eax + 0x80], edx
mov eax, dword [edi + 0x40]
call fcn.00782490
mov ebx, dword [edi + 0x60]
mov dword [ebx + 0xd4], eax
mov dword [ebx + 0xe4], edi
mov dword [ebx + 0xe0], 0x6e986c
mov eax, dword [edi + 0x48]
cmp dword [eax + 0x98], 0
sete al
mov byte [ebx + 0x124], al
mov dword [ebx + 0x11c], edi
mov dword [ebx + 0x118], 0x6e9408
cmp byte [edi + 9], 0
jne 0x6e9ada
mov dword [ebx + 0xa4], edi
mov dword [ebx + 0xa0], fcn.006e61ec
mov byte [edi + 0x4c], 0
xor eax, eax
mov dword [edi + 0x50], eax
xor eax, eax
mov dword [edi + 0xe0], eax
mov byte [edi + 0x64], 1
mov byte [edi + 0xdc], 0
mov byte [edi + 0xdd], 0
xor eax, eax
mov dword [edi + 0x74], eax
mov eax, dword [edi + 0x40]
mov dword [edi + 0x44], eax
mov dword [edi + 0x6c], 0xffffffff
mov dword [edi + 0x70], 0xffffffff
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi + 0x78], 0xffffffff
mov dword [edi + 0x7c], 0xffffffff
cmp byte [edi + 0xd9], 0
jne 0x6e9c61
cmp dword [edi + 0x1c], 0
jne 0x6e9b5c
cmp dword [edi + 0x20], 0
jne 0x6e9b5c
cmp dword [edi + 0x24], 0
jne 0x6e9b5c
cmp dword [edi + 0x28], 0
jne 0x6e9b5c
cmp dword [edi + 0x2c], 0
jne 0x6e9b5c
cmp dword [edi + 0x30], 0
je 0x6e9b69
mov eax, dword [edi + 0x60]
mov dword [eax + 0x64], edi
mov dword [eax + 0x60], 0x6e9770
xor ebx, ebx
mov edx, ebx
mov eax, edi
call fcn.006e9728
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x6e9c57
mov eax, dword [ebp - 4]
mov si, 0xffea
call fcn.0040899c
mov eax, dword [edi + 0x40]
mov si, 0xffec
call fcn.0040899c
test al, al
je 0x6e9c18
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x50]
call fcn.007b8638
mov esi, eax
mov eax, dword [edi + 0x48]
call fcn.007b8638
cmp esi, eax
je 0x6e9bd9
lea edx, [ebp - 0xc]
mov eax, dword [0x990ff0]
call fcn.0040e960
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x7433a8]
call fcn.0042db18
call fcn.00409990
mov eax, dword [edi + 0x40]
mov si, 0xffeb
call fcn.0040899c
push eax
mov eax, dword [ebp - 4]
mov si, 0xffeb
call fcn.0040899c
pop edx
cmp dl, al
je 0x6e9c18
lea edx, [ebp - 0x10]
mov eax, dword [0x990950]
call fcn.0040e960
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x7433a8]
call fcn.0042db18
call fcn.00409990
mov eax, dword [edi + 0x40]
mov si, 0xffec
call fcn.0040899c
push eax
mov eax, dword [ebp - 4]
mov si, 0xffec
call fcn.0040899c
pop edx
cmp dl, al
je 0x6e9c57
lea edx, [ebp - 0x14]
mov eax, dword [0x990950]
call fcn.0040e960
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x7433a8]
call fcn.0042db18
call fcn.00409990
inc ebx
cmp bl, 7
jne 0x6e9b6b
xor eax, eax
mov dword [edi + 0xb8], eax
lea eax, [edi + 0x38]
call fcn.0040a310
cmp byte [edi + 0xa], 0
jne 0x6e9c8a
mov eax, dword [edi + 0x60]
mov dword [eax + 0x12c], edi
mov dword [eax + 0x128], 0x6e9850
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e9cac
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040a370
ret