Function at 0x412c80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68a3c6
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x71a00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], ecx
mov esi, dword [ebp + 8]
push 0x18
mov dword [ebp - 0xac], vtable.dpanalysis::CBrowseFolderDlg.0
call fcn.0066bc56
mov ebx, eax
add esp, 4
mov dword [ebp - 0x9c], ebx
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
cmp dword [ebx + 0x14], 0x10
jb 0x412ceb
mov ecx, dword [ebx]
jmp 0x412ced
mov ecx, ebx
mov byte [ecx], 0
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
push 0
push 0x6aeee5
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.004023e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
push 0
push 0x6aeee6
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
call fcn.004023e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push 0
push 0x6aeee7
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.004023e0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x5c]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.00415f30
mov edx, dword [ebp - 0x18]
test al, al
sete bl
cmp edx, 0x10
jb 0x412d9b
mov ecx, dword [ebp - 0x2c]
inc edx
push 1
call fcn.004020c0
add esp, 4
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x412dc3
mov ecx, dword [ebp - 0x5c]
inc edx
push 1
call fcn.004020c0
add esp, 4
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
cmp edx, 0x10
jb 0x412def
mov ecx, dword [ebp - 0x44]
inc edx
push 1
call fcn.004020c0
add esp, 4
test bl, bl
jne 0x41305e
mov ebx, dword [ebp - 0x94]
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x20]
xor edi, edi
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x98], edi
test eax, eax
jle 0x413062
nop dword [eax + eax]
mov ecx, dword [ebx + 0x3c]
push edi
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ebx, eax
test ebx, ebx
je 0x413020
mov edx, dword [ebp - 0x9c]
lea ecx, [ebp - 0x44]
call fcn.004037a0
mov esi, eax
mov ecx, dword [ebp - 0x94]
mov byte [ebp - 4], 4
push edi
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x24]
push eax
mov edx, esi
lea ecx, [ebp - 0x5c]
call fcn.004115e0
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x412e7e
mov ecx, dword [ebp - 0x44]
inc edx
push 1
call fcn.004020c0
add esp, 4
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x30], 0xf
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00403870
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x74]
call fcn.00403e10
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.006227c0
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x412ecd
mov ecx, dword [ebp - 0x74]
inc edx
push 1
call fcn.004020c0
add esp, 4
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
cmp edx, 0x10
jb 0x412ef8
mov ecx, dword [ebp - 0x8c]
inc edx
push 1
call fcn.004020c0
add esp, 4
mov dword [ebp - 0x24], vtable.filesystem::CFile.0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 9
lea edx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
mov dword [ebp - 0x30], 0xf
cmovae edx, dword [ebp - 0x5c]
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp byte [edx], 0
jne 0x412f3e
xor ecx, ecx
jmp 0x412f4c
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412f43
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.004023e0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x24]
call fcn.0061ff80
test al, al
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x30]
sete al
mov byte [ebp - 0x8d], al
cmp edx, 0x10
jb 0x412f91
mov ecx, dword [ebp - 0x44]
inc edx
push 1
call fcn.004020c0
mov al, byte [ebp - 0x8d]
add esp, 4
mov esi, dword [ebp - 0x20]
test al, al
jne 0x41303a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
cmp eax, 1
jle 0x412fe6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov edx, dword [ebx]
mov ecx, ebx
lea edi, [eax - 1]
call dword [edx + 0x18]
cmp esi, 0xffffffff
je 0x413048
push 0
lea ecx, [ebp - 0xa0]
push ecx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41303a
cmp edi, dword [ebp - 0xa0]
jne 0x41303a
mov edi, dword [ebp - 0x98]
cmp esi, 0xffffffff
je 0x412fff
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebx
test eax, eax
je 0x413040
mov dword [ebp - 0x20], 0xffffffff
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x24], vtable.filesystem::CFile.0
cmp edx, 0x10
jb 0x413020
mov ecx, dword [ebp - 0x5c]
inc edx
push 1
call fcn.004020c0
add esp, 4
inc edi
mov dword [ebp - 0x98], edi
cmp edi, dword [ebp - 0xa4]
jge 0x413062
mov ebx, dword [ebp - 0x94]
jmp 0x412e20
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x413048
push esi
call ebx
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x41305e
mov ecx, dword [ebp - 0x5c]
inc edx
push 1
call fcn.004020c0
add esp, 4
xor bl, bl
jmp 0x413064
mov bl, 1
push ecx
mov ecx, dword [ebp - 0x9c]
call fcn.004160e0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0066bc45
mov esp, ebp
pop ebp
ret 4