Function at 0x6894b0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x10], 0xffffffff
push edi
je 0x689b47
xor ebx, ebx
cmp byte [esi + 0x19], bl
je 0x689b50
cmp byte [esi + 0x1a], bl
je 0x689b50
cmp dword [esi + 0x66], ebx
je 0x689b50
cmp dword [esi + 0x62], ebx
je 0x689b50
cmp byte [esi + 0x1b], bl
je 0x689503
lea ecx, [esi + 0x26]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0068dce0
cmp byte [esi + 0x92], bl
mov dword [esp + 0x10], ebx
je 0x68952a
mov eax, dword [esi + 0x9b]
shl eax, 4
add eax, 8
push eax
mov dword [esp + 0x14], eax
call fcn.0068e070
cmp byte [esi + 0x1b], bl
je 0x689539
lea edx, [esi + 0x26]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x10
call fcn.004aefd0
add esp, 4
cmp eax, ebx
je 0x68954d
mov dword [eax], ebx
mov edx, eax
jmp 0x68954f
xor edx, edx
mov eax, dword [esi + 0x46]
mov ecx, dword [esi + 0x4a]
add eax, 4
adc ecx, ebx
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov eax, dword [esi + 0x3e]
sub eax, dword [esi + 0x46]
lea ecx, [esi + 0x4e]
sub eax, 8
mov dword [edx + 0xc], eax
call fcn.0068a060
cmp byte [esi + 0x92], bl
je 0x689583
mov edi, esi
call fcn.0068e110
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x10]
push ebx
push ebx
push ebx
xor eax, eax
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov eax, dword [esi + 4]
cmp dword [eax + 0x10], 0xffffffff
je 0x689b50
cmp byte [esi + 0x1b], bl
mov edi, dword [esi + 0x4e]
mov dword [esp + 0x14], edi
je 0x6895c2
movzx ecx, word [esi + 0xcf]
mov edx, dword [esi + 0x7e]
lea ecx, [ecx + edx + 0x7e5e]
jmp 0x6895cb
mov ecx, dword [esi + 0x7e]
add ecx, 0x3f58
push 0x46464952
mov dword [esp + 0x10], ecx
call fcn.0068da80
mov edx, dword [edi + 0xc]
mov eax, dword [esi + 4]
push edx
call fcn.0068da80
mov eax, dword [esi + 4]
push 0x20495641
call fcn.0068da80
mov eax, dword [esi + 4]
push 0x5453494c
call fcn.0068da80
mov eax, dword [esp + 0xc]
add eax, 0xffffffe0
push eax
mov eax, dword [esi + 4]
call fcn.0068da80
mov eax, dword [esi + 4]
push 0x6c726468
call fcn.0068da80
mov edi, dword [esi + 0x11]
cmp edi, ebx
je 0x689b50
mov ecx, dword [esi + 0x5e]
mov edx, dword [esi + 0x5a]
push ebx
push 0xa
push ecx
push edx
mov dword [esp + 0xf0], 0x68697661
mov dword [esp + 0xf4], 0x38
call fcn.006b2550
mov dword [esp + 0xe8], eax
xor eax, eax
cmp byte [esi + 0x1b], bl
mov dword [esp + 0xec], ebx
setne al
xor ecx, ecx
mov dword [esp + 0xf0], 2
mov dword [esp + 0xf4], 0x10810
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x104], 0x100000
add eax, 1
mov dword [esp + 0x100], eax
mov eax, dword [edi + 4]
cmp eax, ebx
setle cl
sub ecx, 1
and ecx, eax
mov eax, dword [edi + 8]
mov dword [esp + 0x108], ecx
mov ecx, dword [esi + 4]
cdq
xor eax, edx
add ecx, 0x10
sub eax, edx
push ecx
mov ecx, 0x40
lea edx, [esp + 0xe4]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ebx
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], ebx
call fcn.005de770
mov eax, dword [esi + 4]
push 0x5453494c
call fcn.0068da80
mov edx, dword [esi + 0x7e]
mov eax, dword [esi + 4]
add edx, 0x3eec
push edx
call fcn.0068da80
mov eax, dword [esi + 4]
push 0x6c727473
call fcn.0068da80
cmp dword [esi + 0x86], ebx
mov ecx, dword [esi + 0x52]
mov edx, dword [esi + 0x56]
mov dword [esp + 0xa0], 0x68727473
mov dword [esp + 0xa4], 0x38
mov dword [esp + 0xa8], 0x73646976
mov eax, dword [edi + 0x10]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ebx
mov word [esp + 0xb4], bx
mov word [esp + 0xb6], bx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ebx
jl 0x6897a5
jg 0x689798
cmp dword [esi + 0x82], 0xffffffff
jbe 0x6897a5
mov dword [esp + 0xc8], 0xffffffff
jmp 0x6897b2
mov eax, dword [esi + 0x82]
mov dword [esp + 0xc8], eax
mov ecx, dword [esi + 0x7a]
lea edx, [esp + 0xa0]
mov eax, esi
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
call fcn.0068e1d0
mov eax, dword [esi + 4]
push 0x66727473
call fcn.0068da80
mov edx, dword [esi + 0x7e]
mov eax, dword [esi + 4]
push edx
call fcn.0068da80
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x7e]
add eax, 0x10
push eax
mov edx, edi
call fcn.005de770
mov cl, byte [esi + 0x92]
mov edx, dword [esi + 0x6a]
neg cl
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x60]
mov eax, esi
mov dword [esp + 0x64], 0x3e98
mov word [esp + 0x68], 4
mov byte [esp + 0x6a], bl
sbb ecx, ecx
and ecx, 0xd2e9e6e1
add ecx, 0x78646e69
mov dword [esp + 0x60], ecx
mov byte [esp + 0x6b], bl
mov dword [esp + 0x70], 0x63643030
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.0068e1b0
mov edx, dword [esi + 0x62]
mov eax, esi
call fcn.0068e190
cmp byte [esi + 0x1b], bl
je 0x689abb
mov edi, dword [esi + 0x15]
cmp edi, ebx
je 0x689abb
mov eax, dword [esi + 4]
push 0x5453494c
call fcn.0068da80
movzx eax, word [esi + 0xcf]
add eax, 0x3efe
push eax
mov eax, dword [esi + 4]
call fcn.0068da80
mov eax, dword [esi + 4]
push 0x6c727473
call fcn.0068da80
mov al, byte [esi + 0x25]
cmp al, bl
mov dword [esp + 0x20], 0x68727473
mov dword [esp + 0x24], 0x38
mov dword [esp + 0x28], 0x73647561
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov word [esp + 0x34], bx
mov word [esp + 0x36], bx
mov dword [esp + 0x38], ebx
je 0x6898f6
movzx ecx, word [edi + 0xc]
mov dword [esp + 0x3c], ecx
mov eax, dword [edi + 8]
jmp 0x689941
mov ecx, dword [esi + 0xd1]
cmp ecx, 0x7d00
sbb eax, eax
and eax, 0xfffffdc0
add eax, 0x480
cmp ecx, ebx
mov dword [esp + 0x18], eax
je 0x68992e
cdq
idiv ecx
mov eax, dword [esi + 0xd1]
mov ecx, edx
call fcn.0068daa0
mov ecx, eax
mov eax, dword [esp + 0x18]
jmp 0x689930
mov ecx, eax
cdq
idiv ecx
xor edx, edx
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xd1]
div ecx
cmp dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
je 0x68994f
cmp eax, ebx
jne 0x68995f
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 1
cmp byte [esi + 0x25], bl
mov dword [esp + 0x44], ebx
je 0x689984
movzx eax, word [edi + 0xc]
cdq
push edx
mov edx, dword [esi + 0xe3]
push eax
mov eax, dword [esi + 0xdf]
push edx
push eax
call fcn.006a1e10
jmp 0x689996
mov eax, dword [esi + 0x8a]
mov edx, dword [esi + 0x8e]
mov word [edi + 0xc], 0x480
cmp edx, ebx
jl 0x6899a8
jg 0x6899a1
cmp eax, 0xffffffff
jbe 0x6899a8
or eax, 0xffffffff
mov dword [esp + 0x1c], ebx
mov ecx, dword [esi + 0xc3]
mov dword [esp + 0x48], eax
mov al, byte [esi + 0x25]
mov dl, al
neg dl
mov dword [esp + 0x4c], ecx
sbb edx, edx
neg edx
sub edx, 1
cmp al, bl
mov dword [esp + 0x50], edx
je 0x6899d6
movzx eax, word [edi + 0xc]
mov dword [esp + 0x54], eax
jmp 0x6899da
mov dword [esp + 0x54], ebx
mov ecx, dword [esi + 4]
add ecx, 0x10
push ecx
mov ecx, 0x40
lea edx, [esp + 0x24]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.005de770
mov eax, dword [esi + 4]
push 0x66727473
call fcn.0068da80
movzx edx, word [edi + 0x10]
mov eax, dword [esi + 4]
add edx, 0x12
push edx
call fcn.0068da80
movzx ecx, word [edi + 0x10]
mov eax, dword [esi + 4]
add eax, 0x10
add ecx, 0x12
push eax
mov edx, edi
call fcn.005de770
mov cl, byte [esi + 0x92]
mov edx, dword [esi + 0xb3]
mov eax, dword [esi + 4]
neg cl
mov dword [esp + 0x8c], edx
lea edx, [esp + 0x80]
mov dword [esp + 0x84], 0x3e98
mov word [esp + 0x88], 4
mov byte [esp + 0x8a], bl
mov byte [esp + 0x8b], bl
sbb ecx, ecx
and ecx, 0xd2e9e6e1
add ecx, 0x78646e69
add eax, 0x10
mov dword [esp + 0x80], ecx
push eax
mov ecx, 0x20
mov dword [esp + 0x94], 0x62773130
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
call fcn.005de770
mov edx, dword [esi + 0xab]
mov eax, esi
call fcn.0068e190
mov eax, dword [esi + 4]
push 0x5453494c
call fcn.0068da80
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0xc]
sub ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
sub ecx, dword [esp + 0x10]
add ecx, 0xc
push ecx
call fcn.0068da80
mov eax, dword [esi + 4]
push 0x69766f6d
call fcn.0068da80
mov edi, dword [edi]
cmp edi, ebx
je 0x689b3c
mov edx, dword [edi + 8]
mov eax, dword [edi + 4]
push edx
mov edx, dword [esi + 4]
push eax
call fcn.005fbb40
mov ecx, dword [edi + 0xc]
mov eax, dword [esi + 4]
push ecx
call fcn.0068da80
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
add edx, 0xc
adc eax, ebx
push eax
push edx
mov edx, dword [esi + 4]
call fcn.005fbb40
mov ecx, dword [edi + 0xc]
mov eax, dword [esi + 4]
sub ecx, 0xc
push ecx
call fcn.0068da80
mov edi, dword [edi]
cmp edi, ebx
jne 0x689af6
mov esi, dword [esi + 4]
add esi, 0x10
call fcn.0068cf60
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret