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

Disassembly:
push 0xffffffffffffffff
push 0x6cced8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, dword [esp + 0x70]
push edi
mov edi, ecx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x18], edi
call fcn.0063d810
mov eax, dword [edi + 0x20]
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, dword [edi + 0xc]
call fcn.0066b150
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], 0
test eax, eax
je 0x6839d9
mov dl, byte [esp + 0x34]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
call fcn.004138a0
mov eax, dword [0x6ce1fc]
lea ecx, [esp + 0x34]
push eax
push 0
push ecx
lea ecx, [esp + 0x20]
call fcn.004136a0
mov ebp, dword [esp + 0x78]
mov byte [esp + 0x6c], 1
test ebp, ebp
je 0x6836cb
push 1
lea edx, [esp + 0x78]
push 0
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 0x3a
call fcn.004bd9b0
mov edi, eax
mov eax, dword [0x6ce1fc]
cmp edi, eax
je 0x6836cb
push edi
lea eax, [esp + 0x28]
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.0060f850
mov eax, dword [esp + 0x2c]
mov bl, 2
test eax, eax
mov byte [esp + 0x6c], bl
je 0x6837df
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x68366d
mov eax, 0x6ce1f8
push 0xa
push 0
push eax
call fcn.006998b1
add esp, 0xc
mov byte [ebp], al
mov ecx, dword [0x6ce1fc]
inc edi
push ecx
lea edx, [esp + 0x48]
push edi
push edx
lea ecx, [esp + 0x20]
call fcn.0060f850
mov ecx, dword [0x6ce1fc]
mov byte [esp + 0x6c], 3
push ecx
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.004136a0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], bl
call fcn.004138a0
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 1
call fcn.004138a0
push 1
lea edx, [esp + 0x78]
push 0
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 0x2c
call fcn.004bd9b0
mov edi, eax
mov eax, dword [0x6ce1fc]
cmp edi, eax
mov ebx, 4
je 0x6838c6
push edi
lea eax, [esp + 0x28]
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.0060f850
lea ebp, [edi + 1]
mov edi, 0x713648
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x6c], bl
push ecx
push eax
push 0x713648
lea ecx, [esp + 0x30]
mov dword [esp + 0x84], 0
call fcn.004bd9b0
cmp eax, dword [0x6ce1fc]
jne 0x683817
mov edi, 0x713a58
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push eax
push 0x713a58
lea ecx, [esp + 0x30]
call fcn.004bd9b0
cmp eax, dword [0x6ce1fc]
jne 0x683817
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x68377f
mov eax, 0x6ce1f8
push 0xa
push 0
push eax
call fcn.006998b1
add esp, 0xc
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 8]
push ecx
push 1
push eax
mov ecx, esi
call fcn.0063b6d0
mov edx, dword [0x6ce1fc]
lea eax, [esp + 0x44]
push edx
push ebp
push eax
lea ecx, [esp + 0x20]
call fcn.0060f850
mov ecx, dword [0x6ce1fc]
mov byte [esp + 0x6c], 6
push ecx
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.004136a0
mov byte [esp + 0x6c], bl
push 1
lea ecx, [esp + 0x48]
jmp 0x68387c
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 1
call fcn.004138a0
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 0
call fcn.004138a0
push 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], 0xffffffff
call fcn.004138a0
jmp 0x6839fd
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x683824
mov eax, 0x6ce1f8
push 0x10
push 0
push eax
call fcn.006998b1
add esp, 0xc
mov dword [esp + 0x78], eax
mov eax, dword [esi + 8]
lea edx, [esp + 0x78]
push edx
push eax
mov ecx, esi
call fcn.00683d30
mov eax, dword [0x6ce1fc]
lea ecx, [esp + 0x54]
push eax
push ebp
push ecx
lea ecx, [esp + 0x20]
call fcn.0060f850
mov edx, dword [0x6ce1fc]
lea ecx, [esp + 0x14]
push edx
push 0
push eax
mov byte [esp + 0x78], 5
call fcn.004136a0
mov byte [esp + 0x6c], bl
push 1
lea ecx, [esp + 0x58]
call fcn.004138a0
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 1
call fcn.004138a0
push 1
lea eax, [esp + 0x78]
push 0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 0x2c
call fcn.004bd9b0
mov edi, eax
mov eax, dword [0x6ce1fc]
cmp edi, eax
jne 0x6836f9
xor edi, edi
cmp ebp, edi
jne 0x68394a
jmp 0x6838c8
xor edi, edi
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x18]
cmp eax, 3
je 0x6838f1
cmp eax, ebx
je 0x6838f1
cmp eax, 5
je 0x6838f1
cmp eax, 6
je 0x6838f1
cmp eax, 7
je 0x6838f1
cmp eax, 8
je 0x6838f1
cmp eax, 9
jne 0x68391b
mov eax, dword [esp + 0x18]
cmp eax, edi
jne 0x6838fe
mov eax, 0x6ce1f8
push 0x10
push edi
push eax
call fcn.006998b1
add esp, 0xc
lea edx, [esp + 0x74]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 8]
push edx
push 1
push eax
jmp 0x683972
cmp eax, 0xd
jne 0x68394a
mov eax, dword [esp + 0x18]
cmp eax, edi
jne 0x68392d
mov eax, 0x6ce1f8
push 0x10
push edi
push eax
call fcn.006998b1
mov edx, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], eax
push ecx
push 1
push edx
jmp 0x683972
mov eax, dword [esp + 0x18]
cmp eax, edi
jne 0x683957
mov eax, 0x6ce1f8
push 0xa
push edi
push eax
call fcn.006998b1
mov ecx, dword [esi + 8]
add esp, 0xc
mov dword [esp + 0x74], eax
lea eax, [esp + 0x74]
push eax
push 1
push ecx
mov ecx, esi
call fcn.0063b6d0
mov ecx, dword [esp + 0x18]
cmp ecx, edi
je 0x68399d
mov al, byte [ecx - 1]
test al, al
je 0x683993
cmp al, 0xff
je 0x683993
dec al
mov byte [ecx - 1], al
jmp 0x68399d
dec ecx
push ecx
call fcn.00697880
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x18], edi
cmp ecx, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
je 0x6839d2
mov al, byte [ecx - 1]
test al, al
je 0x6839c8
cmp al, 0xff
je 0x6839c8
dec al
mov byte [ecx - 1], al
mov eax, 1
jmp 0x6839ff
dec ecx
push ecx
call fcn.00697880
add esp, 4
mov eax, 1
jmp 0x6839ff
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x6839fd
mov al, byte [ecx - 1]
test al, al
je 0x6839f3
cmp al, 0xff
je 0x6839f3
dec al
mov byte [ecx - 1], al
jmp 0x6839fd
dec ecx
push ecx
call fcn.00697880
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 8