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

Disassembly:
push 0xffffffffffffffff
push 0x6dbebe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x58], ebx
mov al, byte [esp + 0x13]
xor esi, esi
xor ebp, ebp
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0xb4], esi
mov dword [esp + 0x48], ebp
mov byte [esp + 0x18], al
call fcn.004138c0
lea ecx, [esp + 0xb8]
mov byte [esp + 0xb0], 1
mov dword [esp + 0x54], esi
call fcn.0061dc40
test ax, ax
jle 0x687edd
mov ecx, dword [ebx + 0x14]
push esi
mov eax, dword [ecx + 0xcc]
lea ecx, [esp + 0xbc]
test eax, eax
je 0x687e8f
call fcn.0061daa0
and eax, 0xff
lea edx, [esp + 0x4c]
push eax
push str._02x
push edx
jmp 0x687ea4
call fcn.0061daa0
and eax, 0xff
push eax
lea eax, [esp + 0x50]
push 0x713828
push eax
call fcn.006a6fa5
lea edi, [esp + 0x58]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0061d4f0
lea ecx, [esp + 0xb8]
inc esi
call fcn.0061dc40
movsx edx, ax
cmp esi, edx
jl 0x687e63
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xcc]
test eax, eax
je 0x687f06
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x687ef7
mov eax, 0x6dd1f8
push 0x10
push 0
push eax
call fcn.006a8501
add esp, 0xc
jmp 0x687f58
lea ecx, [esp + 0x14]
call fcn.0061d390
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
call fcn.0061d390
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x687f28
xor ebp, ebp
jmp 0x687f2f
mov ecx, dword [esp + 0x1c]
lea ebp, [ecx + eax]
lea ecx, [esp + 0x14]
call fcn.0061d390
mov esi, dword [esp + 0x18]
cmp esi, ebp
je 0x687f54
movsx edx, byte [esi]
push edx
call fcn.006a7d64
add esp, 4
mov byte [edi], al
inc esi
inc edi
cmp esi, ebp
jne 0x687f40
mov ebp, dword [esp + 0x44]
lea eax, [esp + 0x7e]
lea ecx, [esp + 0x7f]
push eax
push 0
push ecx
lea ecx, [esp + 0x30]
call fcn.00688c70
mov eax, dword [ebx + 4]
xor esi, esi
test eax, eax
mov byte [esp + 0xb0], 2
jbe 0x688100
xor edi, edi
mov edx, dword [ebx + 0xc]
lea ecx, [esp + 0x6c]
mov eax, dword [edi + edx]
push eax
push ecx
mov ecx, dword [ebx + 0x10]
call fcn.00679400
push 1
lea edx, [esp + 0x17]
push 0
push edx
lea ecx, [esp + 0x78]
mov byte [esp + 0xbc], 3
mov byte [esp + 0x1f], 0x2a
call fcn.004cb280
cmp eax, dword [0x6dd1fc]
je 0x688064
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x80]
push eax
call fcn.00413060
mov dword [esp + 0x90], esi
lea ecx, [esp + 0x80]
mov byte [esp + 0xb0], 4
push ecx
lea ecx, [esp + 0x98]
call fcn.00413060
mov edx, dword [esp + 0x90]
mov dword [esp + 0xa4], edx
lea eax, [esp + 0x94]
lea ecx, [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 5
call fcn.00688ca0
lea edx, [esp + 0x48]
lea eax, [esp + 0x44]
push edx
push eax
lea ecx, [esp + 0x3c]
call fcn.00419f30
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0xb4], 4
call fcn.004138c0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0xb4], 3
call fcn.004138c0
jmp 0x6880de
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x70]
call fcn.0041aa10
test eax, eax
je 0x688162
push str.0000
lea ecx, [esp + 0x70]
call fcn.00689a20
test eax, eax
jne 0x6880a2
push 0x715df8
lea ecx, [esp + 0x18]
call fcn.00689a20
test eax, eax
je 0x688162
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x74]
cmp eax, edx
ja 0x6880b0
mov edx, eax
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x6880bd
mov ecx, 0x6dd1f8
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x6880ca
mov eax, 0x6dd1f8
push edx
push ecx
push eax
mov ecx, ebx
call fcn.00687d70
cmp eax, ebp
jbe 0x6880de
mov ebp, eax
mov dword [esp + 0x54], esi
push 1
lea ecx, [esp + 0x70]
mov byte [esp + 0xb4], 2
call fcn.004138c0
mov eax, dword [ebx + 4]
inc esi
add edi, 0x24
cmp esi, eax
jb 0x687f84
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x50], ecx
je 0x688248
mov eax, dword [ecx + 0x14]
mov edx, dword [esp + 0x1c]
cmp edx, eax
jbe 0x68811f
mov edx, eax
mov eax, dword [ecx + 0x10]
mov ecx, 0x6dd1f8
test eax, eax
je 0x68812d
mov ecx, eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x68813a
mov eax, 0x6dd1f8
push edx
push ecx
push eax
mov ecx, ebx
call fcn.00687db0
test eax, eax
jne 0x6881a1
lea ecx, [esp + 0x50]
call fcn.00689720
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x28]
cmp ecx, eax
jne 0x688112
jmp 0x688248
push 1
lea ecx, [esp + 0x70]
mov dword [ebx + 0x18], esi
mov byte [esp + 0xb4], 2
call fcn.004138c0
lea ecx, [esp + 0x24]
mov byte [esp + 0xb0], 1
call fcn.00688bc0
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 0
call fcn.004138c0
jmp 0x688851
mov edx, dword [esp + 0x50]
or esi, 0xffffffff
mov edi, 0x723a28
mov ecx, esi
xor eax, eax
add edx, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [edx + 8]
not ecx
dec ecx
push ecx
push 0x723a28
push eax
push 0
mov ecx, edx
call fcn.0041aa60
test eax, eax
jne 0x68820e
lea ecx, [esp + 0x24]
mov byte [esp + 0xb0], 1
call fcn.00688bc0
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 0
call fcn.004138c0
lea ecx, [esp + 0xb8]
mov dword [esp + 0xb0], esi
call fcn.0061d8c0
xor eax, eax
jmp 0x68886d
mov ecx, dword [esp + 0x50]
mov byte [esp + 0xb0], 1
mov edx, dword [ecx + 0x1c]
lea ecx, [esp + 0x24]
mov dword [ebx + 0x18], edx
call fcn.00688bc0
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 0
call fcn.004138c0
mov dword [esp + 0xb0], esi
jmp 0x68885c
mov eax, dword [ebx + 0x18]
or esi, 0xffffffff
cmp eax, esi
jne 0x688269
mov ecx, dword [ebx + 0x14]
call fcn.0065b040
test eax, eax
je 0x6881d0
mov eax, dword [esp + 0x54]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x688577
mov ecx, dword [eax + 0x2018]
test ecx, ecx
jne 0x688577
lea ecx, [esp + 0x34]
push 0xc
push ecx
mov ecx, 0x72c070
call fcn.00644770
mov edi, 0x713d5c
or ecx, 0xffffffff
xor eax, eax
mov bl, 6
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0xb0], bl
push ecx
push 0x713d5c
lea ecx, [esp + 0x3c]
call fcn.0061d4f0
mov edx, dword [0x6dd1fc]
lea eax, [esp + 0x14]
push edx
push 0
push eax
lea ecx, [esp + 0x40]
call fcn.0061d410
mov edi, 0x713d5c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x713d5c
lea ecx, [esp + 0x3c]
call fcn.0061d4f0
lea ecx, [esp + 0x6c]
push 0xd
push ecx
mov ecx, 0x72c070
call fcn.00644770
mov edx, dword [0x6dd1fc]
lea ecx, [esp + 0x34]
push edx
push 0
push eax
mov byte [esp + 0xbc], 7
call fcn.0061d410
push 1
lea ecx, [esp + 0x70]
mov byte [esp + 0xb4], bl
call fcn.004138c0
push 0
push 1
sub esp, 0x10
mov ecx, 0x72c070
mov eax, esp
mov dword [esp + 0x5c], esp
push 0xf
push eax
call fcn.00644770
sub esp, 0x10
lea ecx, [esp + 0x3b]
mov esi, esp
mov dword [esp + 0x7c], esp
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0xdc], 8
call fcn.004ff060
push eax
mov ecx, esi
call fcn.00413180
mov ecx, 0x72bae0
mov byte [esp + 0xd8], bl
call fcn.0061eec0
lea edx, [esp + 0x6c]
push 0xe
push edx
mov ecx, 0x72c070
call fcn.00644770
mov ecx, dword [0x6dd1fc]
mov byte [esp + 0xb0], 9
push ecx
push 0
push eax
lea ecx, [esp + 0x40]
call fcn.004136c0
push 1
lea ecx, [esp + 0x70]
mov byte [esp + 0xb4], bl
call fcn.004138c0
mov edi, 0x713d5c
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x6dd1fc]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x3c]
sub edx, ecx
cmp edx, esi
ja 0x6883e3
call fcn.006a64db
test esi, esi
jbe 0x688428
mov eax, dword [esp + 0x3c]
push 0
lea ecx, [esp + 0x38]
lea ebp, [eax + esi]
push ebp
call fcn.00414230
test al, al
je 0x688428
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ebp
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, 0x713d5c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x38]
call fcn.00414210
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx + 0x18]
lea edx, [eax + eax*8]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov edx, dword [eax + edx*4]
lea eax, [esp + 0x6c]
push edx
push eax
call fcn.00679400
mov ecx, dword [0x6dd1fc]
mov byte [esp + 0xb0], 0xa
push ecx
push 0
push eax
lea ecx, [esp + 0x40]
call fcn.0061d410
mov eax, dword [esp + 0x70]
mov byte [esp + 0xb0], bl
test eax, eax
je 0x68848d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x688484
cmp al, 0xff
je 0x688484
dec al
mov byte [ecx], al
jmp 0x68848d
push ecx
call fcn.006a64d0
add esp, 4
mov edi, 0x713d5c
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x6dd1fc]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x3c]
sub edx, ecx
cmp edx, esi
ja 0x6884b3
call fcn.006a64db
test esi, esi
jbe 0x6884f8
mov eax, dword [esp + 0x3c]
push 0
lea ecx, [esp + 0x38]
lea ebp, [eax + esi]
push ebp
call fcn.00414230
test al, al
je 0x6884f8
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ebp
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, 0x713d5c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x38]
call fcn.00414210
push 0
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x5c], esp
push 0xf
push ecx
mov ecx, 0x72c070
call fcn.00644770
sub esp, 0x10
lea edx, [esp + 0x3b]
mov esi, esp
mov dword [esp + 0x7c], esp
push edx
lea ecx, [esp + 0x60]
mov byte [esp + 0xdc], 0xb
call fcn.004ff060
push eax
mov ecx, esi
call fcn.00413180
mov ecx, 0x72bae0
mov byte [esp + 0xd8], bl
call fcn.0061eec0
mov eax, dword [esp + 0x38]
mov byte [esp + 0xb0], 2
test eax, eax
je 0x688577
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x68856e
cmp al, 0xff
je 0x68856e
dec al
mov byte [ecx], al
jmp 0x688577
push ecx
call fcn.006a64d0
add esp, 4
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x5c]
push eax
mov ecx, edi
call fcn.00688b60
mov eax, dword [esp + 0x64]
xor esi, esi
cmp eax, esi
mov byte [esp + 0xb0], 0xc
je 0x688797
cmp dword [edi + 0x14], esi
je 0x6886bf
mov dl, byte [esp + 0x5c]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x54], esp
mov byte [ecx], dl
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], esi
mov eax, dword [0x6dd1fc]
lea edx, [esp + 0x6c]
push eax
push esi
push edx
call fcn.004136c0
mov ecx, dword [edi + 0x14]
call fcn.0064c520
mov edi, eax
mov eax, dword [esp + 0x60]
cmp eax, esi
je 0x6885fe
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x6885f5
cmp al, 0xff
je 0x6885f5
dec al
mov byte [ecx], al
jmp 0x6885fe
push ecx
call fcn.006a64d0
add esp, 4
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov byte [esp + 0xb8], 1
call fcn.0066a870
mov edx, dword [eax]
lea eax, [esp + 0x5c]
push edx
push eax
lea ecx, [esp + 0x30]
call fcn.00688f00
mov ecx, dword [esp + 0x28]
push ecx
call fcn.006a64d0
mov eax, dword [0x72de08]
add esp, 4
dec eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
mov dword [0x72de08], eax
jne 0x688670
mov eax, dword [0x72de04]
mov dword [0x72de04], esi
cmp eax, esi
je 0x688670
push eax
call fcn.006a64d0
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x688695
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x68868c
cmp al, 0xff
je 0x68868c
dec al
mov byte [ecx], al
jmp 0x688695
push ecx
call fcn.006a64d0
add esp, 4
lea ecx, [esp + 0xb8]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0xb0], 0xffffffff
call fcn.0061d8c0
mov eax, edi
jmp 0x68886d
mov eax, dword [esp + 0x60]
cmp eax, esi
je 0x6886e4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x6886db
cmp al, 0xff
je 0x6886db
dec al
mov byte [ecx], al
jmp 0x6886e4
push ecx
call fcn.006a64d0
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov ecx, dword [eax]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0xbc], 1
call fcn.00688f00
mov eax, dword [esp + 0x28]
push eax
call fcn.006a64d0
mov eax, dword [0x72de08]
add esp, 4
dec eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
mov dword [0x72de08], eax
jne 0x688748
mov eax, dword [0x72de04]
mov dword [0x72de04], esi
cmp eax, esi
je 0x688748
push eax
call fcn.006a64d0
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x68876d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x688764
cmp al, 0xff
je 0x688764
dec al
mov byte [ecx], al
jmp 0x68876d
push ecx
call fcn.006a64d0
add esp, 4
lea ecx, [esp + 0xb8]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0xb0], 0xffffffff
call fcn.0061d8c0
xor eax, eax
jmp 0x68886d
mov eax, dword [esp + 0x60]
cmp eax, esi
je 0x6887bc
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x6887b3
cmp al, 0xff
je 0x6887b3
dec al
mov byte [ecx], al
jmp 0x6887bc
push ecx
call fcn.006a64d0
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0xbc], 1
call fcn.00688f00
mov edx, dword [esp + 0x28]
push edx
call fcn.006a64d0
mov eax, dword [0x72de08]
add esp, 4
dec eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
mov dword [0x72de08], eax
jne 0x688820
mov eax, dword [0x72de04]
mov dword [0x72de04], esi
cmp eax, esi
je 0x688820
push eax
call fcn.006a64d0
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x688845
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x68883c
cmp al, 0xff
je 0x68883c
dec al
mov byte [ecx], al
jmp 0x688845
push ecx
call fcn.006a64d0
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 0xb8]
call fcn.0061d8c0
mov eax, 1
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa4
ret 4