Function at 0x1002da80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007ee06
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x100a04fc]
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 - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc0], eax
xor eax, eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 4], eax
mov edi, 0x10
mov eax, edi
mov dword [ebp - 0xbc], ecx
call fcn.10073d20
mov dword [ebp - 0x10], esp
mov esi, esp
push 0xdead0009
lea edx, [ebp - 0x70]
push 0x175beef
push edx
call fcn.10001af0
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x1002daf9
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
cmp dword [ebp - 0x5c], edi
jb 0x1002db21
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ebx, 4
mov eax, ebx
call fcn.10073d20
mov esi, esp
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xb8], esi
test esi, esi
je 0x1002db42
mov dword [esi], 0xabab0175
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1002db6d
mov dword [esi], 0xcdcd0175
jmp 0x1002db6d
test byte [0x100a4bb0], 1
mov dword [ebp - 0xb4], 6
jne 0x1002dba7
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 2
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
push ecx
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x1002dcd2
xor esi, esi
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 3
call fcn.10023cb0
mov ecx, dword [eax + 0x1c]
cmp ecx, esi
jne 0x1002dbfc
push 0xd
push str.EnterFunction
mov ecx, eax
call fcn.100041d0
jmp 0x1002dc0a
push str.EnterFunction
push ecx
call fcn.10012390
add esp, 8
mov ecx, dword [ebp - 0x18]
push 0x1ff
push esi
lea edx, [ebp - 0x70]
push edx
call fcn.10001ab0
mov esi, eax
mov byte [ebp - 4], bl
test byte [0x100a4bb0], 1
jne 0x1002dc4a
or dword [0x100a4bb0], 1
mov byte [ebp - 4], 5
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov byte [ebp - 4], bl
mov eax, dword [0x100a4b64]
mov edx, dword [eax + 4]
mov ecx, 0x100a4b64
mov dword [ebp - 0xb4], 0x100a4b64
call edx
mov byte [ebp - 4], 6
mov ecx, dword [0x100a4bac]
test ecx, ecx
je 0x1002dc96
cmp dword [esi + 0x14], 8
jb 0x1002dc7b
mov eax, dword [esi]
jmp 0x1002dc7d
mov eax, esi
mov edx, dword [ecx]
push 0x175
push str.FileHandler::IsFileExist
push str.FileHandler.cpp
push eax
mov eax, dword [edx + 8]
push 6
call eax
mov byte [ebp - 4], bl
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 8]
mov ecx, 0x100a4b64
call eax
cmp dword [ebp - 0x5c], 8
jb 0x1002dcbc
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
mov esi, dword [ebp - 0xb8]
xor ebx, ebx
cmp esi, ebx
je 0x1002dcde
mov dword [esi], 0xcdcd0176
test byte [0x100a4bb0], 1
mov dword [ebp - 0xb4], 6
jne 0x1002dd18
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 7
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xb4]
push eax
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x1002de81
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp - 0xc0]
push ecx
push str.EnterFunction_Path_
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 8
call fcn.10023cb0
mov ecx, eax
call fcn.10032000
add esp, 4
push eax
call fcn.100125f0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x1c]
add esp, 8
lea esi, [ebp - 0x54]
call fcn.10023e50
mov edi, eax
mov esi, ebx
mov byte [ebp - 4], 9
call fcn.10003bf0
mov edi, 8
mov byte [ebp - 4], 8
cmp dword [ebp - 0x40], edi
jb 0x1002dda9
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
push 0x1ff
push eax
lea ecx, [ebp - 0x70]
push ecx
mov ecx, ebx
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
call fcn.10001ab0
mov esi, eax
mov bl, 0xa
mov byte [ebp - 4], bl
test byte [0x100a4bb0], 1
jne 0x1002ddfe
or dword [0x100a4bb0], 1
mov byte [ebp - 4], 0xb
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov byte [ebp - 4], bl
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 4]
mov ecx, 0x100a4b64
mov dword [ebp - 0xb4], ecx
call eax
mov byte [ebp - 4], 0xc
mov ecx, dword [0x100a4bac]
test ecx, ecx
je 0x1002de46
cmp dword [esi + 0x14], edi
jb 0x1002de2b
mov eax, dword [esi]
jmp 0x1002de2d
mov eax, esi
mov edx, dword [ecx]
push 0x176
push str.FileHandler::IsFileExist
push str.FileHandler.cpp
push eax
mov eax, dword [edx + 8]
push 6
call eax
mov byte [ebp - 4], bl
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 8]
mov ecx, 0x100a4b64
call eax
cmp dword [ebp - 0x5c], edi
jb 0x1002de6b
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
mov esi, dword [ebp - 0xb8]
mov ebx, dword [ebp - 0xc0]
push ebx
call fcn.10030930
add esp, 4
test al, al
je 0x1002e04b
cmp dword [ebx + 0x14], 8
jb 0x1002dea2
mov eax, dword [ebx]
jmp 0x1002dea4
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0xbc]
test eax, eax
setne al
mov byte [ecx], al
test esi, esi
je 0x1002dec2
mov dword [esi], 0xcdcd0185
test byte [0x100a4bb0], 1
mov dword [ebp - 0xbc], 6
jne 0x1002defc
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 0xd
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0xbc]
push edx
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x1002e049
xor eax, eax
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x94], al
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
push ebx
push str.ExitFunction_Path_
lea edi, [ebp - 0x94]
mov dword [ebp - 4], 0xe
call fcn.10023cb0
mov ecx, eax
call fcn.10032000
add esp, 4
push eax
call fcn.100125f0
mov ebx, dword [ebp - 0x74]
mov eax, dword [ebx + 0x1c]
add esp, 8
lea esi, [ebp - 0x54]
call fcn.10023e50
mov edi, eax
mov esi, ebx
mov byte [ebp - 4], 0xf
call fcn.10003bf0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x40], 8
jb 0x1002df8d
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
push 0x1ff
push ecx
lea edx, [ebp - 0xb0]
mov word [ebp - 0x54], cx
push edx
mov ecx, ebx
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
call fcn.10001ab0
mov ebx, eax
mov byte [ebp - 4], 0x10
test byte [0x100a4bb0], 1
jne 0x1002dfe5
or dword [0x100a4bb0], 1
mov byte [ebp - 4], 0x11
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov byte [ebp - 4], 0x10
push 0x185
push str.FileHandler::IsFileExist
push str.FileHandler.cpp
push 6
mov ecx, 0x100a4b60
call fcn.10023680
cmp dword [ebp - 0x9c], 8
jb 0x1002e019
mov eax, dword [ebp - 0xb0]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x94]
xor ecx, ecx
push edx
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], 0
mov word [ebp - 0xb0], cx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
mov al, 1
lea esp, [ebp - 0xd0]
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.1007236c
mov esp, ebp
pop ebp
ret