Function at 0x7e6314
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.PSAPI.DLL_GetMappedFileNameW]
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.PSAPI.DLL_GetMappedFileNameW
mov dword [ebp - 0x70], ebx
call fcn.007fd304
push eax
lea ecx, reloc.PSAPI.DLL_GetMappedFileNameW
call fcn.00807114
mov dword [ebp - 4], ebx
mov eax, dword [ebp - reloc.PSAPI.DLL_GetMappedFileNameW]
mov dword [ebp - 0x70], eax
cmp dword [esi + reloc.PSAPI.DLL_GetMappedFileNameW], ebx
jne 0x7e652d
mov dword [ebp - reloc.PSAPI.DLL_GetMappedFileNameW], 0x1006f430
mov dword [ebp - reloc.PSAPI.DLL_GetMappedFileNameW], 0x1006f438
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x70], 1
mov dword [ebp - 0xb8], 0x1005cc24
mov dword [ebp - reloc.PSAPI.DLL_GetMappedFileNameW], ebx
mov dword [ebp - reloc.PSAPI.DLL_GetMappedFileNameW], ebx
call fcn.007e2424
lea ecx, reloc.PSAPI.DLL_GetMappedFileNameW
mov dword [ebp - 0x80], ecx
push 0x20
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x7c], ebx
call fcn.007ebab4
mov byte [ebp - 0x78], al
cmp dword [ebp - 0x80], ebx
jne 0x7e63f2
mov eax, dword [ebp - 0xac]
or eax, 4
push ebx
push eax
lea ecx, [ebp - 0xb8]
call fcn.007e22e4
mov edx, dword [ebp - reloc.PSAPI.DLL_GetMappedFileNameW]
mov eax, dword [edx + 4]
mov dword [ebp + eax - reloc.PSAPI.DLL_GetMappedFileNameW], 0x1005cc1c
mov ecx, dword [ebp - reloc.PSAPI.DLL_GetMappedFileNameW]
mov edx, dword [ecx + 4]
mov dword [ebp + edx - reloc.PSAPI.DLL_GetMappedFileNameW], 0x1005cc2c
mov dword [ebp - 4], 6
mov eax, dword [ebp - reloc.PSAPI.DLL_GetMappedFileNameW]
mov ecx, dword [eax + 4]
mov dword [ebp + ecx - reloc.PSAPI.DLL_GetMappedFileNameW], 0x1005cd4c
lea ecx, reloc.PSAPI.DLL_GetMappedFileNameW
call fcn.007eaf14
mov dword [ebp - reloc.PSAPI.DLL_GetMappedFileNameW], 0x1005ccd4
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc0], ebx
lea edx, reloc.PSAPI.DLL_GetMappedFileNameW
push 0x1006f1b8
push edx
mov byte [ebp - 4], 8
call fcn.007ebec4
add esp, 8
lea eax, [ebp - 0x64]
push eax
lea ecx, reloc.PSAPI.DLL_GetMappedFileNameW
call fcn.007e9bd4
push 0x1006ef68
mov byte [ebp - 4], 9
call fcn.007ecebc
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 0x7e64a4
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.007ea604
push 8
push 0x1006ef70
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.007eacc4
mov eax, dword [ebp - 0x2c]
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jae 0x7e64da
lea eax, [ebp - 0x2c]
push 0x1006ef7c
push eax
call fcn.007ecff2
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x7e64f5
lea eax, [ebp - 0x64]
mov ecx, dword [ebp - 0x54]
push esi
push 1
push ecx
push eax
call fcn.007ed160
push esi
call fcn.007ed247
mov eax, dword [ebp - 0x2c]
add esp, 0x14
cmp dword [ebp - 0x18], edi
jae 0x7e6516
lea eax, [ebp - 0x2c]
push 1
push ebx
push ebx
push eax
push 0x1006ef80
push ebx
call dword [0x1005a19c]
push ebx
call fcn.007ed53e
lea edx, [ebp - 0x2c]
push edx
push 0x1006efd0
lea ecx, [esi + 0xe0]
call fcn.007fffd4
mov ecx, eax
call fcn.008069a4
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.007ea514
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], 0x10
jb 0x7e657e
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.007ec716
add esp, 4
lea ecx, reloc.PSAPI.DLL_GetMappedFileNameW
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00802434
sub esp, 0x10
mov byte [ebp - 4], 0xe
mov ecx, esp
cmp edi, ebx
jne 0x7e65bc
mov dword [ebp - 0x68], esp
push 0x1006f1dc
call fcn.00804d64
sub esp, 0x10
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x6c], esp
jmp 0x7e65d3
mov dword [ebp - 0x6c], esp
push 0x1006f1e4
call fcn.00804d64
sub esp, 0x10
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x68], esp
mov ecx, esp
push 0x1006eec4
call fcn.00804d64
lea ecx, reloc.PSAPI.DLL_GetMappedFileNameW
mov byte [ebp - 4], 0xe
call fcn.00801fc4
mov edx, dword [esi + 0x38]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x6c], esp
push edx
call fcn.00804d24
sub esp, 0x10
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x1006eec8
call fcn.00804d64
lea ecx, reloc.PSAPI.DLL_GetMappedFileNameW
mov byte [ebp - 4], 0xe
call fcn.00801fc4
sub esp, 0x10
lea eax, [ebp - 0x48]
mov ecx, esp
mov dword [ebp - 0x6c], esp
push eax
call fcn.00805ca4
sub esp, 0x10
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x1006efd0
call fcn.00804d64
lea ecx, reloc.PSAPI.DLL_GetMappedFileNameW
mov byte [ebp - 4], 0xe
call fcn.00801fc4
sub esp, 0x10
lea edx, reloc.PSAPI.DLL_GetMappedFileNameW
mov ecx, esp
mov dword [ebp - 0x6c], esp
push edx
call fcn.00805ca4
sub esp, 0x10
mov byte [ebp - 4], 0x13
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x1006f09c
call fcn.00804d64
lea ecx, reloc.PSAPI.DLL_GetMappedFileNameW
mov byte [ebp - 4], 0xe
call fcn.00801fc4
sub esp, 0x10
lea eax, reloc.PSAPI.DLL_GetMappedFileNameW
mov ecx, esp
mov dword [ebp - 0x6c], esp
push eax
call fcn.00805ca4
sub esp, 0x10
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x1006f0a0
call fcn.00804d64
lea ecx, reloc.PSAPI.DLL_GetMappedFileNameW
mov byte [ebp - 4], 0xe
call fcn.00801fc4
sub esp, 0x10
lea edx, [esi + 0x74]
mov ecx, esp
mov dword [ebp - 0x6c], esp
push edx
call fcn.00805ca4
sub esp, 0x10
mov byte [ebp - 4], 0x15
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x1006eeec
call fcn.00804d64
lea ecx, reloc.PSAPI.DLL_GetMappedFileNameW
mov byte [ebp - 4], 0xe
call fcn.00801fc4
lea ecx, reloc.PSAPI.DLL_GetMappedFileNameW
call fcn.00802434
add esi, 0x194
mov byte [ebp - 4], 0x16
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], ebx
jb 0x7e6724
mov eax, dword [esi]
jmp 0x7e6726
mov eax, esi
mov ecx, dword [ebp - 0x70]
mov byte [eax], bl
push esi
lea eax, reloc.PSAPI.DLL_GetMappedFileNameW
push eax
lea edx, reloc.PSAPI.DLL_GetMappedFileNameW
call fcn.007e8584
mov edi, eax
cmp edi, 0xfffffffe
je 0x7e67b7
cmp edi, 0xfffffffd
je 0x7e67b7
lea ecx, reloc.PSAPI.DLL_GetMappedFileNameW
mov byte [ebp - 4], 0xe
call fcn.00802384
lea ecx, reloc.PSAPI.DLL_GetMappedFileNameW
mov byte [ebp - 4], 0xd
call fcn.00802384
cmp dword [ebp - 0x34], 0x10
jb 0x7e677a
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.007ec716
add esp, 4
lea ecx, reloc.PSAPI.DLL_GetMappedFileNameW
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 4], reloc.PSAPI.DLL_GetMappedFileNameW
call fcn.00805cf4
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.007ec707
mov esp, ebp
pop ebp
ret
mov dword [ebp - reloc.PSAPI.DLL_GetMappedFileNameW], 0x1006f430
mov dword [ebp - reloc.PSAPI.DLL_GetMappedFileNameW], 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.PSAPI.DLL_GetMappedFileNameW], ebx
mov dword [ebp - reloc.PSAPI.DLL_GetMappedFileNameW], ebx
call fcn.007e2424
lea edx, reloc.PSAPI.DLL_GetMappedFileNameW
push 0x20
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], ebx
call fcn.007ebab4
mov byte [ebp - 0x78], al
cmp dword [ebp - 0x80], ebx
jne 0x7e682f
mov eax, dword [ebp - 0xac]
or eax, 4
push ebx
push eax
lea ecx, [ebp - 0xb8]
call fcn.007e22e4
mov eax, dword [ebp - reloc.PSAPI.DLL_GetMappedFileNameW]
mov ecx, dword [eax + 4]
mov dword [ebp + ecx - reloc.PSAPI.DLL_GetMappedFileNameW], 0x1005cc1c
mov edx, dword [ebp - reloc.PSAPI.DLL_GetMappedFileNameW]
mov eax, dword [edx + 4]
mov dword [ebp + eax - reloc.PSAPI.DLL_GetMappedFileNameW], 0x1005cc2c
mov dword [ebp - 4], 0x1c
mov ecx, dword [ebp - reloc.PSAPI.DLL_GetMappedFileNameW]
mov edx, dword [ecx + 4]
lea ecx, reloc.PSAPI.DLL_GetMappedFileNameW
mov dword [ebp + edx - reloc.PSAPI.DLL_GetMappedFileNameW], 0x1005cd4c
call fcn.007eaf14
mov dword [ebp - reloc.PSAPI.DLL_GetMappedFileNameW], 0x1005ccd4
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc0], ebx
mov byte [ebp - 4], 0x1e
cmp dword [esi + 0x14], edi
jb 0x7e689e
mov esi, dword [esi]
push 0x1006f1ec
push ecx
push esi
push ecx
lea eax, reloc.PSAPI.DLL_GetMappedFileNameW
push 0x1006f1f8
push eax
call fcn.007ebec4
add esp, 0xc
push eax
call fcn.007ebec4
add esp, 0xc
push eax
call fcn.007ebec4
add esp, 8
lea ecx, [ebp - 0x64]
push ecx
lea ecx, reloc.PSAPI.DLL_GetMappedFileNameW
call fcn.007e9bd4
push 0x1006ef68
mov byte [ebp - 4], 0x1f
call fcn.007ecebc
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 0x7e6904
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.007ea604
push 8
push 0x1006ef70
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x20
call fcn.007eacc4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x7e6935
lea eax, [ebp - 0x2c]
push 0x1006ef7c
push eax
call fcn.007ecff2
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x7e6950
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x54]
push esi
push 1
push edx
push eax
call fcn.007ed160
push esi
call fcn.007ed247
mov eax, dword [ebp - 0x2c]
add esp, 0x14
cmp dword [ebp - 0x18], edi
jae 0x7e6971
lea eax, [ebp - 0x2c]
push 1
push ebx
push ebx
push eax
push 0x1006ef80
push ebx
call dword [0x1005a19c]
push ebx
call fcn.007ed53e
int3