Function at 0x6bcb67
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058fa9
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [reloc.MSVCRT.dll___dllonexit]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
xor ebx, ebx
push edi
lea ecx, reloc.MSVCRT.dll___dllonexit
mov dword [ebp - 0x70], ebx
call fcn.006d3b57
push eax
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.006dd967
mov dword [ebp - 4], ebx
mov eax, dword [ebp - reloc.MSVCRT.dll___dllonexit]
mov dword [ebp - 0x70], eax
cmp dword [esi + reloc.MSVCRT.dll___dllonexit], ebx
jne 0x6bcd80
mov dword [ebp - reloc.MSVCRT.dll___dllonexit], 0x1006f430
mov dword [ebp - reloc.MSVCRT.dll___dllonexit], 0x1006f438
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x70], 1
mov dword [ebp - 0xb8], 0x1005cc24
mov dword [ebp - reloc.MSVCRT.dll___dllonexit], ebx
mov dword [ebp - reloc.MSVCRT.dll___dllonexit], ebx
call fcn.006b8c77
lea ecx, reloc.MSVCRT.dll___dllonexit
mov dword [ebp - 0x80], ecx
push 0x20
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x7c], ebx
call fcn.006c2307
mov byte [ebp - 0x78], al
cmp dword [ebp - 0x80], ebx
jne 0x6bcc45
mov eax, dword [ebp - 0xac]
or eax, 4
push ebx
push eax
lea ecx, [ebp - 0xb8]
call fcn.006b8b37
mov edx, dword [ebp - reloc.MSVCRT.dll___dllonexit]
mov eax, dword [edx + 4]
mov dword [ebp + eax - reloc.MSVCRT.dll___dllonexit], 0x1005cc1c
mov ecx, dword [ebp - reloc.MSVCRT.dll___dllonexit]
mov edx, dword [ecx + 4]
mov dword [ebp + edx - reloc.MSVCRT.dll___dllonexit], 0x1005cc2c
mov dword [ebp - 4], 6
mov eax, dword [ebp - reloc.MSVCRT.dll___dllonexit]
mov ecx, dword [eax + 4]
mov dword [ebp + ecx - reloc.MSVCRT.dll___dllonexit], 0x1005cd4c
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.006c1767
mov dword [ebp - reloc.MSVCRT.dll___dllonexit], 0x1005ccd4
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc0], ebx
lea edx, reloc.MSVCRT.dll___dllonexit
push 0x1006f1b8
push edx
mov byte [ebp - 4], 8
call fcn.006c2717
add esp, 8
lea eax, [ebp - 0x64]
push eax
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.006c0427
push 0x1006ef68
mov byte [ebp - 4], 9
call fcn.006c370f
mov esi, eax
mov ecx, esi
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x6bccf7
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.006c0e57
push 8
push 0x1006ef70
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.006c1517
mov eax, dword [ebp - 0x2c]
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jae 0x6bcd2d
lea eax, [ebp - 0x2c]
push 0x1006ef7c
push eax
call fcn.006c3845
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x6bcd48
lea eax, [ebp - 0x64]
mov ecx, dword [ebp - 0x54]
push esi
push 1
push ecx
push eax
call fcn.006c39b3
push esi
call fcn.006c3a9a
mov eax, dword [ebp - 0x2c]
add esp, 0x14
cmp dword [ebp - 0x18], edi
jae 0x6bcd69
lea eax, [ebp - 0x2c]
push 1
push ebx
push ebx
push eax
push 0x1006ef80
push ebx
call dword [0x1005a19c]
push ebx
call fcn.006c3d91
lea edx, [ebp - 0x2c]
push edx
push 0x1006efd0
lea ecx, [esi + 0xe0]
call fcn.006d6827
mov ecx, eax
call fcn.006dd1f7
push 0xffffffffffffffff
mov byte [ebp - 4], 0xb
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.006c0d67
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], 0x10
jb 0x6bcdd1
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.006c2f69
add esp, 4
lea ecx, reloc.MSVCRT.dll___dllonexit
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.006d8c87
sub esp, 0x10
mov byte [ebp - 4], 0xe
mov ecx, esp
cmp edi, ebx
jne 0x6bce0f
mov dword [ebp - 0x68], esp
push 0x1006f1dc
call fcn.006db5b7
sub esp, 0x10
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x6c], esp
jmp 0x6bce26
mov dword [ebp - 0x6c], esp
push 0x1006f1e4
call fcn.006db5b7
sub esp, 0x10
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x68], esp
mov ecx, esp
push 0x1006eec4
call fcn.006db5b7
lea ecx, reloc.MSVCRT.dll___dllonexit
mov byte [ebp - 4], 0xe
call fcn.006d8817
mov edx, dword [esi + 0x38]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x6c], esp
push edx
call fcn.006db577
sub esp, 0x10
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x1006eec8
call fcn.006db5b7
lea ecx, reloc.MSVCRT.dll___dllonexit
mov byte [ebp - 4], 0xe
call fcn.006d8817
sub esp, 0x10
lea eax, [ebp - 0x48]
mov ecx, esp
mov dword [ebp - 0x6c], esp
push eax
call fcn.006dc4f7
sub esp, 0x10
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x1006efd0
call fcn.006db5b7
lea ecx, reloc.MSVCRT.dll___dllonexit
mov byte [ebp - 4], 0xe
call fcn.006d8817
sub esp, 0x10
lea edx, reloc.MSVCRT.dll___dllonexit
mov ecx, esp
mov dword [ebp - 0x6c], esp
push edx
call fcn.006dc4f7
sub esp, 0x10
mov byte [ebp - 4], 0x13
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x1006f09c
call fcn.006db5b7
lea ecx, reloc.MSVCRT.dll___dllonexit
mov byte [ebp - 4], 0xe
call fcn.006d8817
sub esp, 0x10
lea eax, reloc.MSVCRT.dll___dllonexit
mov ecx, esp
mov dword [ebp - 0x6c], esp
push eax
call fcn.006dc4f7
sub esp, 0x10
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x1006f0a0
call fcn.006db5b7
lea ecx, reloc.MSVCRT.dll___dllonexit
mov byte [ebp - 4], 0xe
call fcn.006d8817
sub esp, 0x10
lea edx, [esi + 0x74]
mov ecx, esp
mov dword [ebp - 0x6c], esp
push edx
call fcn.006dc4f7
sub esp, 0x10
mov byte [ebp - 4], 0x15
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x1006eeec
call fcn.006db5b7
lea ecx, reloc.MSVCRT.dll___dllonexit
mov byte [ebp - 4], 0xe
call fcn.006d8817
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.006d8c87
add esi, 0x194
mov byte [ebp - 4], 0x16
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], ebx
jb 0x6bcf77
mov eax, dword [esi]
jmp 0x6bcf79
mov eax, esi
mov ecx, dword [ebp - 0x70]
mov byte [eax], bl
push esi
lea eax, reloc.MSVCRT.dll___dllonexit
push eax
lea edx, reloc.MSVCRT.dll___dllonexit
call fcn.006bedd7
mov edi, eax
cmp edi, 0xfffffffe
je 0x6bd00a
cmp edi, 0xfffffffd
je 0x6bd00a
lea ecx, reloc.MSVCRT.dll___dllonexit
mov byte [ebp - 4], 0xe
call fcn.006d8bd7
lea ecx, reloc.MSVCRT.dll___dllonexit
mov byte [ebp - 4], 0xd
call fcn.006d8bd7
cmp dword [ebp - 0x34], 0x10
jb 0x6bcfcd
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.006c2f69
add esp, 4
lea ecx, reloc.MSVCRT.dll___dllonexit
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 4], reloc.MSVCRT.dll___dllonexit
call fcn.006dc547
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006c2f5a
mov esp, ebp
pop ebp
ret
mov dword [ebp - reloc.MSVCRT.dll___dllonexit], 0x1006f430
mov dword [ebp - reloc.MSVCRT.dll___dllonexit], 0x1006f438
mov byte [ebp - 4], 0x17
mov edi, 0x10
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0xb8], 0x1005cc24
mov dword [ebp - reloc.MSVCRT.dll___dllonexit], ebx
mov dword [ebp - reloc.MSVCRT.dll___dllonexit], ebx
call fcn.006b8c77
lea edx, reloc.MSVCRT.dll___dllonexit
push 0x20
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], ebx
call fcn.006c2307
mov byte [ebp - 0x78], al
cmp dword [ebp - 0x80], ebx
jne 0x6bd082
mov eax, dword [ebp - 0xac]
or eax, 4
push ebx
push eax
lea ecx, [ebp - 0xb8]
call fcn.006b8b37
mov eax, dword [ebp - reloc.MSVCRT.dll___dllonexit]
mov ecx, dword [eax + 4]
mov dword [ebp + ecx - reloc.MSVCRT.dll___dllonexit], 0x1005cc1c
mov edx, dword [ebp - reloc.MSVCRT.dll___dllonexit]
mov eax, dword [edx + 4]
mov dword [ebp + eax - reloc.MSVCRT.dll___dllonexit], 0x1005cc2c
mov dword [ebp - 4], 0x1c
mov ecx, dword [ebp - reloc.MSVCRT.dll___dllonexit]
mov edx, dword [ecx + 4]
lea ecx, reloc.MSVCRT.dll___dllonexit
mov dword [ebp + edx - reloc.MSVCRT.dll___dllonexit], 0x1005cd4c
call fcn.006c1767
mov dword [ebp - reloc.MSVCRT.dll___dllonexit], 0x1005ccd4
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc0], ebx
mov byte [ebp - 4], 0x1e
cmp dword [esi + 0x14], edi
jb 0x6bd0f1
mov esi, dword [esi]
push 0x1006f1ec
push ecx
push esi
push ecx
lea eax, reloc.MSVCRT.dll___dllonexit
push 0x1006f1f8
push eax
call fcn.006c2717
add esp, 0xc
push eax
call fcn.006c2717
add esp, 0xc
push eax
call fcn.006c2717
add esp, 8
lea ecx, [ebp - 0x64]
push ecx
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.006c0427
push 0x1006ef68
mov byte [ebp - 4], 0x1f
call fcn.006c370f
mov esi, eax
mov ecx, esi
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x6bd157
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.006c0e57
push 8
push 0x1006ef70
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x20
call fcn.006c1517
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x6bd188
lea eax, [ebp - 0x2c]
push 0x1006ef7c
push eax
call fcn.006c3845
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x6bd1a3
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x54]
push esi
push 1
push edx
push eax
call fcn.006c39b3
push esi
call fcn.006c3a9a
mov eax, dword [ebp - 0x2c]
add esp, 0x14
cmp dword [ebp - 0x18], edi
jae 0x6bd1c4
lea eax, [ebp - 0x2c]
push 1
push ebx
push ebx
push eax
push 0x1006ef80
push ebx
call dword [0x1005a19c]
push ebx
call fcn.006c3d91
int3