Function at 0x10036510
Capabilities:
Get disk size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5e86
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x10101404]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], ecx
xor ebx, ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 4], ebx
lea eax, [ebx + 0x10]
call fcn.100b0040
mov dword [ebp - 0x10], esp
mov esi, esp
push 0xdead0009
push 0x37beef
lea edx, [ebp - 0x58]
push edx
call fcn.100018e0
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x1003658a
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x58]
call fcn.10002d60
mov eax, 8
call fcn.100b0040
mov dword [ebp - 0x10], esp
mov eax, esp
mov dword [ebp - 0x88], eax
cmp eax, ebx
je 0x100365ca
mov dword [eax], 0xabab0037
mov dword [ebp - 4], 0xffffffff
jmp 0x100365e2
mov eax, dword [ebp - 0x88]
cmp eax, ebx
je 0x100365f2
mov dword [eax], 0xcdcd0037
mov dword [ebp - 0x80], 6
test byte [0x10106d78], 1
jne 0x10036629
or dword [0x10106d78], 1
mov dword [ebp - 4], 3
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x80]
push eax
mov edi, 0x10106d28
call fcn.10030d50
mov esi, 0xf
test al, al
je 0x10036765
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
mov dword [ebp - 4], 4
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 5
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 6
lea edi, [ebp - 0x3c]
call fcn.10031570
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x10036687
push 0xd
push str.EnterFunction
mov ecx, eax
call fcn.1000bc70
jmp 0x10036695
push str.EnterFunction
push ecx
call fcn.1000d880
add esp, 8
push 0x1ff
push ebx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.10001860
mov edi, eax
mov byte [ebp - 4], 7
test byte [0x10106d78], 1
jne 0x100366d7
or dword [0x10106d78], 1
mov byte [ebp - 4], 8
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov byte [ebp - 4], 7
mov ecx, 0x10106d2c
mov dword [ebp - 0x80], ecx
mov edx, dword [0x10106d2c]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov ecx, dword [0x10106d74]
cmp ecx, ebx
je 0x1003671a
cmp dword [edi + 0x14], 8
jb 0x10036702
mov eax, dword [edi]
jmp 0x10036704
mov eax, edi
mov edx, dword [ecx]
push 0x37
push str.FileHandler::Write
push str.FileHandler.cpp
push eax
push 6
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 7
mov edx, dword [0x10106d2c]
mov ecx, 0x10106d2c
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x44], 8
jb 0x10036745
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], ebx
xor edx, edx
mov word [ebp - 0x58], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x3c]
push eax
call fcn.10031440
mov eax, dword [ebp - 0x88]
cmp eax, ebx
je 0x10036775
mov dword [eax], 0xcdcd0038
mov dword [ebp - 0x80], 6
test byte [0x10106d78], 1
jne 0x100367ac
or dword [0x10106d78], 1
mov dword [ebp - 4], 0xa
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
push ecx
mov edi, 0x10106d28
call fcn.10030d50
test al, al
je 0x100368e0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0xd
mov edx, dword [ebp - 0x8c]
push edx
push ecx
lea edi, [ebp - 0x3c]
call fcn.10031570
mov ecx, eax
call fcn.10042070
add esp, 4
push eax
call fcn.100289b0
add esp, 8
push 0x1ff
push ebx
lea eax, [ebp - 0x58]
push eax
mov ecx, edi
push ecx
call fcn.10031630
mov ecx, eax
call fcn.10001860
mov edi, eax
mov byte [ebp - 4], 0xe
test byte [0x10106d78], 1
jne 0x10036852
or dword [0x10106d78], 1
mov byte [ebp - 4], 0xf
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov byte [ebp - 4], 0xe
mov ecx, 0x10106d2c
mov dword [ebp - 0x80], ecx
mov edx, dword [0x10106d2c]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x10
mov ecx, dword [0x10106d74]
cmp ecx, ebx
je 0x10036895
cmp dword [edi + 0x14], 8
jb 0x1003687d
mov eax, dword [edi]
jmp 0x1003687f
mov eax, edi
mov edx, dword [ecx]
push 0x38
push str.FileHandler::Write
push str.FileHandler.cpp
push eax
push 6
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0xe
mov edx, dword [0x10106d2c]
mov ecx, 0x10106d2c
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x44], 8
jb 0x100368c0
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], ebx
xor edx, edx
mov word [ebp - 0x58], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x3c]
push eax
call fcn.10031440
mov edi, dword [ebp - 0x8c]
mov ecx, edi
call fcn.1003c9d0
test al, al
jne 0x10036a21
mov eax, dword [ebp - 0x88]
cmp eax, ebx
je 0x10036905
mov dword [eax], 0xcdcd003c
mov dword [ebp - 0x80], 6
test byte [0x10106d78], 1
jne 0x1003693c
or dword [0x10106d78], 1
mov dword [ebp - 4], 0x11
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
push ecx
mov edi, 0x10106d28
call fcn.10030d50
test al, al
je 0x10037300
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0x13
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0x14
lea edi, [ebp - 0x3c]
call fcn.10031570
mov esi, eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x10036997
push 0x11
push str.ExitFunction_Ret:
mov ecx, esi
call fcn.1000bc70
jmp 0x100369a5
push str.ExitFunction_Ret:
push eax
call fcn.1000d880
add esp, 8
mov edx, str.False
call fcn.10030f60
push 0x1ff
push ebx
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.10001860
mov ebx, eax
mov byte [ebp - 4], 0x15
push 0x3c
push str.FileHandler::Write
push str.FileHandler.cpp
push 6
call fcn.10030800
mov ecx, eax
call fcn.10030e00
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x44], 8
jb 0x100369f8
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
xor ecx, ecx
mov word [ebp - 0x58], cx
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x3c]
push edx
call fcn.10031440
jmp 0x10037300
cmp dword [ebp - 0x90], ebx
jne 0x10036bbf
cmp dword [ebp + 0xc], ebx
je 0x10036bbf
mov eax, dword [ebp - 0x88]
cmp eax, ebx
je 0x10036a46
mov dword [eax], 0xcdcd0040
mov dword [ebp - 0x80], 2
lea eax, [ebp - 0x80]
push eax
push ecx
call fcn.10030800
add esp, 4
mov edi, eax
call fcn.10030d50
test al, al
je 0x10036b01
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
mov dword [ebp - 4], 0x16
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0x17
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0x18
lea edi, [ebp - 0x3c]
call fcn.10031570
mov edx, str.Invalid_parameters._Path_
mov esi, eax
call fcn.10030f60
mov ecx, dword [ebp - 0x8c]
mov esi, eax
call fcn.10030f30
push 0x1ff
push ebx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.10001860
mov ebx, eax
mov byte [ebp - 4], 0x19
push 0x40
push str.FileHandler::Write
push str.FileHandler.cpp
push 2
call fcn.10030800
mov ecx, eax
call fcn.10030e00
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x58]
call fcn.10002d90
mov dword [ebp - 4], 0xffffffff
mov edx, edi
push edx
call fcn.10031440
xor ebx, ebx
mov eax, dword [ebp - 0x88]
cmp eax, ebx
je 0x10036b11
mov dword [eax], 0xcdcd0041
mov dword [ebp - 0x80], 6
lea eax, [ebp - 0x80]
push eax
push ecx
call fcn.10030800
add esp, 4
mov edi, eax
call fcn.10030d50
test al, al
je 0x10037300
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
mov dword [ebp - 4], 0x1a
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0x1b
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0x1c
lea edi, [ebp - 0x3c]
call fcn.10031570
mov edx, str.ExitFunction_Ret:
mov esi, eax
call fcn.10030f60
mov edx, str.False
mov esi, eax
call fcn.10030f60
push 0x1ff
push ebx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.10001860
mov ebx, eax
mov byte [ebp - 4], 0x1d
push 0x41
push str.FileHandler::Write
push str.FileHandler.cpp
push 6
call fcn.10030800
mov ecx, eax
call fcn.10030e00
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x58]
call fcn.10002d90
jmp 0x10036a0c
lea eax, [ebp - 0x58]
push eax
mov ecx, edi
call fcn.1003ba60
add esp, 4
mov dword [ebp - 4], 0x1e
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x10036be0
mov eax, dword [eax]
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0xa4]
push edx
lea ecx, [ebp - 0x84]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp eax, 1
jne 0x10036c0c
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x80]
jmp 0x10036c10
xor ecx, ecx
xor eax, eax
cmp eax, ebx
jg 0x10036c21
jl 0x10036c1b
cmp ecx, dword [ebp + 0xc]
jae 0x10036c21
mov byte [ebp - 0x75], 1
jmp 0x10036c24
mov byte [ebp - 0x75], bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x44], esi
jb 0x10036c3d
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 7
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ebx
xor ecx, ecx
mov word [ebp - 0x58], cx
cmp byte [ebp - 0x75], bl
je 0x10036e15
mov eax, dword [ebp - 0x88]
cmp eax, ebx
je 0x10036c67
mov dword [eax], 0xcdcd0046
mov dword [ebp - 0x80], 2
lea edx, [ebp - 0x80]
push edx
push ecx
call fcn.10030800
add esp, 4
mov edi, eax
call fcn.10030d50
test al, al
je 0x10036d5f
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
mov dword [ebp - 4], 0x1f
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0x20
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0x21
lea edi, [ebp - 0x3c]
call fcn.10031570
mov edx, str.Failed_GetDiskSpace._wPath
mov esi, eax
call fcn.10030f60
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x10036ce0
push 0xffffffffffffffff
push ebx
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, eax
call fcn.10011090
jmp 0x10036cf0
mov edx, dword [ebp - 0x8c]
push edx
push ecx
call fcn.100289b0
add esp, 8
push 0x1ff
push ebx
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.10001860
mov ebx, eax
mov byte [ebp - 4], 0x22
push 0x46
push str.FileHandler::Write
push str.FileHandler.cpp
push 2
call fcn.10030800
mov ecx, eax
call fcn.10030e00
mov byte [ebp - 4], 0x21
cmp dword [ebp - 0x44], 8
jb 0x10036d39
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
xor edx, edx
mov word [ebp - 0x58], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x3c]
push eax
call fcn.10031440
xor ebx, ebx
mov eax, dword [ebp - 0x88]
cmp eax, ebx
je 0x10036d6f
mov dword [eax], 0xcdcd0047
mov dword [ebp - 0x80], 6
lea ecx, [ebp - 0x80]
push ecx
push ecx
call fcn.10030800
add esp, 4
mov edi, eax
call fcn.10030d50
test al, al
je 0x10037300
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
mov dword [ebp - 4], 0x23
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0x24
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0x25
lea edi, [ebp - 0x3c]
call fcn.10031570
mov edx, str.ExitFunction_Ret:
mov esi, eax
call fcn.10030f60
mov edx, str.False
mov esi, eax
call fcn.10030f60
push 0x1ff
push ebx
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.10001860
mov ebx, eax
mov byte [ebp - 4], 0x26
push 0x47
push str.FileHandler::Write
push str.FileHandler.cpp
push 6
call fcn.10030800
mov ecx, eax
call fcn.10030e00
mov byte [ebp - 4], 0x25
jmp 0x100369e5
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], ebx
xor eax, eax
mov word [ebp - 0x74], ax
mov dword [ebp - 4], 0x27
mov eax, dword [ebp + 0x10]
cmp eax, ebx
jne 0x10036e38
push 2
push 0x100d4874
jmp 0x10036e48
cmp eax, 1
jne 0x100371a3
push 2
push 0x100d487c
lea ecx, [ebp - 0x74]
call fcn.10003360
push 1
push 0x100d48bc
lea ecx, [ebp - 0x74]
call fcn.1000bc70
cmp dword [ebp - 0x60], esi
mov ecx, dword [ebp - 0x74]
jae 0x10036e6a
lea ecx, [ebp - 0x74]
cmp dword [edi + 0x14], esi
jb 0x10036e73
mov eax, dword [edi]
jmp 0x10036e75
mov eax, edi
push 0x30
push ecx
push eax
call dword [sym.imp.MSVCR100.dll__wfsopen]
add esp, 0xc
mov esi, eax
cmp esi, ebx
jne 0x10036fde
mov eax, dword [ebp - 0x88]
cmp eax, ebx
je 0x10036e9c
mov dword [eax], 0xcdcd0062
mov dword [ebp - 0x80], 2
lea ecx, [ebp - 0x80]
push ecx
push ecx
call fcn.10030800
add esp, 4
mov edi, eax
call fcn.10030d50
test al, al
je 0x10036f34
lea edx, [ebp - 0x3c]
push edx
call fcn.100313e0
mov byte [ebp - 4], 0x2c
mov edi, edx
call fcn.10031570
mov edx, 0x100d48c0
mov esi, eax
call fcn.10030f60
mov ecx, dword [ebp - 0x8c]
mov esi, eax
call fcn.10030f30
push 0x1ff
push ebx
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.10001860
mov ebx, eax
mov byte [ebp - 4], 0x2d
push 0x62
push str.FileHandler::Write
push str.FileHandler.cpp
push 2
call fcn.10030800
mov ecx, eax
call fcn.10030e00
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x58]
call fcn.10002d90
mov byte [ebp - 4], 0x27
mov ecx, edi
push ecx
call fcn.10031440
xor ebx, ebx
mov eax, dword [ebp - 0x88]
cmp eax, ebx
je 0x10036f44
mov dword [eax], 0xcdcd0063
mov dword [ebp - 0x80], 6
lea edx, [ebp - 0x80]
push edx
push ecx
call fcn.10030800
add esp, 4
mov edi, eax
call fcn.10030d50
test al, al
je 0x100372f1
lea eax, [ebp - 0x3c]
push eax
call fcn.100313e0
mov byte [ebp - 4], 0x2e
lea edi, [ebp - 0x3c]
call fcn.10031570
mov edx, str.ExitFunction_Ret:
mov esi, eax
call fcn.10030f60
mov edx, str.False
mov esi, eax
call fcn.10030f60
push 0x1ff
push ebx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.10001860
mov ebx, eax
mov byte [ebp - 4], 0x2f
push 0x63
push str.FileHandler::Write
push str.FileHandler.cpp
push 6
call fcn.10030800
mov ecx, eax
call fcn.10030e00
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x58]
call fcn.10002d90
mov byte [ebp - 4], 0x27
mov edx, edi
push edx
jmp 0x100372ec
push esi
mov eax, dword [ebp + 0xc]
push eax
push 1
mov ecx, dword [ebp - 0x90]
push ecx
call dword [sym.imp.MSVCR100.dll_fwrite]
mov edi, eax
push esi
call dword [sym.imp.MSVCR100.dll_fflush]
add esp, 0x14
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
cmp edi, dword [ebp + 0xc]
sete byte [ebp - 0x75]
mov eax, dword [ebp - 0x88]
cmp eax, ebx
je 0x1003701f
mov dword [eax], 0xcdcd007f
mov dword [ebp - 0x80], 6
lea edx, [ebp - 0x80]
push edx
push ecx
call fcn.10030800
add esp, 4
mov edi, eax
call fcn.10030d50
test al, al
je 0x100370c5
lea eax, [ebp - 0x3c]
push eax
call fcn.100313e0
mov byte [ebp - 4], 0x30
mov ecx, dword [ebp - 0x8c]
push ecx
push ecx
lea edi, [ebp - 0x3c]
call fcn.10031570
mov ecx, eax
call fcn.10042100
add esp, 4
push eax
call fcn.100289b0
add esp, 8
push 0x1ff
push ebx
lea edx, [ebp - 0x58]
push edx
mov eax, edi
push eax
call fcn.10031630
mov ecx, eax
call fcn.10001860
mov ebx, eax
mov byte [ebp - 4], 0x31
push 0x7f
push str.FileHandler::Write
push str.FileHandler.cpp
push 6
call fcn.10030800
mov ecx, eax
call fcn.10030e00
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x58]
call fcn.10002d90
mov byte [ebp - 4], 0x27
mov ecx, edi
push ecx
call fcn.10031440
xor ebx, ebx
mov eax, dword [ebp - 0x88]
cmp eax, ebx
je 0x100370d5
mov dword [eax], 0xcdcd0080
mov dword [ebp - 0x80], 6
lea edx, [ebp - 0x80]
push edx
push ecx
call fcn.10030800
add esp, 4
mov edi, eax
call fcn.10030d50
test al, al
je 0x1003718c
lea eax, [ebp - 0x3c]
push eax
call fcn.100313e0
mov byte [ebp - 4], 0x32
cmp byte [ebp - 0x75], bl
mov dword [ebp - 0x90], str.True
jne 0x1003711e
mov dword [ebp - 0x90], str.False
lea edi, [ebp - 0x3c]
call fcn.10031570
mov edx, str.ExitFunction_Ret:
mov esi, eax
call fcn.10030f60
mov edx, dword [ebp - 0x90]
mov esi, eax
call fcn.10030f60
push 0x1ff
push ebx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.10001860
mov ebx, eax
mov byte [ebp - 4], 0x33
push 0x80
push str.FileHandler::Write
push str.FileHandler.cpp
push 6
call fcn.10030800
mov ecx, eax
call fcn.10030e00
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x58]
call fcn.10002d90
mov byte [ebp - 4], 0x27
mov edx, edi
push edx
call fcn.10031440
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.10002d90
mov al, byte [ebp - 0x75]
jmp 0x10037302
mov eax, dword [ebp - 0x88]
cmp eax, ebx
je 0x100371b3
mov dword [eax], 0xcdcd0056
mov dword [ebp - 0x80], 2
lea eax, [ebp - 0x80]
push eax
push ecx
call fcn.10030800
add esp, 4
mov edi, eax
call fcn.10030d50
test al, al
je 0x1003724c
lea ecx, [ebp - 0x3c]
push ecx
call fcn.100313e0
mov byte [ebp - 4], 0x28
lea edi, [ebp - 0x3c]
call fcn.10031570
mov edx, str.Invalid_WriteType._Path_
mov esi, eax
call fcn.10030f60
mov ecx, dword [ebp - 0x8c]
mov esi, eax
call fcn.10030f30
push 0x1ff
push ebx
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.10001860
mov ebx, eax
mov byte [ebp - 4], 0x29
push 0x56
push str.FileHandler::Write
push str.FileHandler.cpp
push 2
call fcn.10030800
mov ecx, eax
call fcn.10030e00
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x58]
call fcn.10002d90
mov byte [ebp - 4], 0x27
mov eax, edi
push eax
call fcn.10031440
xor ebx, ebx
mov eax, dword [ebp - 0x88]
cmp eax, ebx
je 0x1003725c
mov dword [eax], 0xcdcd0057
mov dword [ebp - 0x80], 6
lea ecx, [ebp - 0x80]
push ecx
push ecx
call fcn.10030800
add esp, 4
mov edi, eax
call fcn.10030d50
test al, al
je 0x100372f1
lea edx, [ebp - 0x3c]
push edx
call fcn.100313e0
mov byte [ebp - 4], 0x2a
mov edi, edx
call fcn.10031570
mov edx, str.ExitFunction_Ret:
mov esi, eax
call fcn.10030f60
mov edx, str.False
mov esi, eax
call fcn.10030f60
push 0x1ff
push ebx
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.10001860
mov ebx, eax
mov byte [ebp - 4], 0x2b
push 0x57
push str.FileHandler::Write
push str.FileHandler.cpp
push 6
call fcn.10030800
mov ecx, eax
call fcn.10030e00
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x58]
call fcn.10002d90
mov byte [ebp - 4], 0x27
mov ecx, edi
push ecx
call fcn.10031440
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.10002d90
xor al, al
lea esp, [ebp - 0xb4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.100af1c6
mov esp, ebp
pop ebp
ret