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

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x682c1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xa], 0
movzx edx, byte [ebp + 8]
mov eax, ebx
call fcn.00682854
lea eax, [ebp - 4]
xor edx, edx
call fcn.004074b4
mov eax, dword [0x70b5dc]
push dword [eax]
push 0x682c3c
push esi
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00407a18
mov eax, dword [ebp - 0x10]
call fcn.00415fd8
test al, al
je 0x6829de
mov eax, dword [0x70b5dc]
push dword [eax]
push 0x682c3c
push esi
lea eax, [ebp - 4]
mov edx, 3
call fcn.00407a18
mov eax, dword [0x70af38]
push dword [eax]
push 0x682c3c
push esi
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00407a18
mov eax, dword [ebp - 0x14]
call fcn.00415fd8
test al, al
je 0x682a1e
mov eax, dword [0x70af38]
push dword [eax]
push 0x682c3c
push esi
lea eax, [ebp - 4]
mov edx, 3
call fcn.00407a18
cmp dword [ebp - 4], 0
je 0x682a38
push 0x40
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x433b98]
call fcn.0043f9a8
mov dword [ebx + 0xc], eax
lea ecx, [ebp - 8]
or edx, 0xffffffff
mov eax, esi
call fcn.004ec4ec
cmp dword [ebp - 8], 0
je 0x682a5b
or ecx, 0xffffffff
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.004ec300
mov dword [ebx + 0xc], eax
cmp dword [ebp - 4], 0
jne 0x682a7e
cmp dword [ebp - 8], 0
jne 0x682a7e
cmp byte [ebp + 8], 0
je 0x682bf3
mov eax, dword [ebx + 0x3c]
call fcn.00683320
jmp 0x682bf3
push 0
push 0
mov eax, dword [ebx + 0xc]
call fcn.0043eff4
mov cl, 1
mov dl, 1
mov eax, dword [0x544d88]
call fcn.0054b278
mov edi, eax
mov dword [ebx + 0x14], edi
mov eax, dword [edi + 0x4c]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [eax + 0x24], ebx
mov dword [eax + 0x20], 0x6823f0
mov eax, dword [0x70b3b8]
mov eax, dword [eax]
call eax
mov edi, eax
mov dword [ebx + 0x5c], edi
push 1
push edi
mov eax, dword [0x70b748]
mov eax, dword [eax]
call eax
add esp, 8
push 0x6823d0
push 0x68236c
push 0x682358
mov eax, dword [ebx + 0x14]
push eax
push 0x68234c
push 0x682324
mov eax, dword [ebx + 0xc]
push eax
mov eax, dword [ebx + 0x5c]
push eax
mov eax, dword [0x70b7b4]
mov eax, dword [eax]
call eax
add esp, 0x20
mov eax, dword [0x70ae44]
mov eax, dword [eax]
call eax
mov edi, eax
mov dword [ebx + 0x60], edi
cmp byte [ebp - 9], 0
jne 0x682b6b
push 0x68234c
push 0x682324
mov eax, dword [ebx + 0xc]
push eax
push edi
mov eax, dword [0x70b244]
mov eax, dword [eax]
call eax
add esp, 0x10
mov eax, dword [ebx + 0x60]
push eax
mov eax, dword [0x70b4d8]
mov eax, dword [eax]
call eax
pop ecx
test eax, eax
jne 0x682b43
mov byte [ebp - 9], 1
mov eax, dword [ebx + 0x60]
push eax
mov eax, dword [0x70aec4]
mov eax, dword [eax]
call eax
pop ecx
cmp dword [eax + 8], 0xac44
je 0x682b5e
mov byte [ebp - 9], 1
cmp byte [ebp - 9], 0
jne 0x682b6b
mov dword [ebx + 0x7c], 0xffffffff
cmp byte [ebp + 8], 0
je 0x682b79
mov eax, dword [ebx + 0x3c]
call fcn.00683314
lea eax, [ebx + 4]
mov edx, esi
call fcn.00407460
mov eax, dword [ebx + 0x5c]
push eax
mov eax, dword [0x70b424]
mov eax, dword [eax]
call eax
pop ecx
movzx edx, byte [ebp - 9]
mov byte [ebx + 0x8a], dl
mov edx, dword [eax + 8]
mov dword [ebx + 0x74], edx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x78], edx
mov edx, dword [eax + 8]
mov dword [ebx + 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x20], edx
mov edx, dword [eax + 0x10]
mov dword [ebx + 0x24], edx
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x5c]
push eax
mov eax, dword [0x70b004]
mov eax, dword [eax]
call eax
pop ecx
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x5c]
push eax
mov eax, dword [0x70ae24]
mov eax, dword [eax]
call eax
pop ecx
mov dword [ebx + 0x30], eax
cmp byte [ebp + 8], 0
je 0x682bef
mov eax, dword [ebx + 0x3c]
call fcn.00683320
mov byte [ebp - 0xa], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x682c22
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407458
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407458
ret