Function at 0x40e170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6ed5ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x45c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
call fcn.00457450
push 0x6fee60
push str.Data_FindPath.txt
call fcn.0065de90
mov esi, eax
xor ebx, ebx
add esp, 8
cmp esi, ebx
jne 0x40e1d0
xor al, al
mov ecx, dword [esp + 0x46c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ebp, 0xf
push 0x6fe416
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.0065c790
add esp, 4
push eax
push 0x6fe416
lea ecx, [esp + 0x44]
call fcn.00404b60
test byte [esi + 0xc], 0x10
mov dword [esp + 0x474], ebx
jne 0x40e266
lea ebx, [ebx]
xor eax, eax
mov byte [esp + 0x80], bl
mov ecx, 0xf9
lea edi, [esp + 0x81]
rep stosd dword es:[edi], eax
push esi
push 1
stosw word es:[edi], ax
lea eax, [esp + 0x88]
push 0x3e6
push eax
call fcn.0065dde8
lea ecx, [esp + 0x90]
push ecx
call fcn.0065c790
add esp, 0x14
push eax
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x44]
call fcn.0040cb10
test byte [esi + 0xc], 0x10
je 0x40e210
push 1
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
xor esi, esi
mov byte [esp + 0x20], 0xa
call fcn.0047bc20
mov edi, eax
cmp edi, ebx
jl 0x40e303
mov ecx, edi
sub ecx, esi
push ecx
push esi
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x48]
call fcn.004097f0
mov ecx, dword [eax + 0x18]
mov esi, 0x10
cmp ecx, esi
mov byte [esp + 0x474], 1
jb 0x40e2b1
mov eax, dword [eax + 4]
jmp 0x40e2b4
add eax, 4
mov ecx, dword [esp + 0x18]
push eax
call fcn.0040dca0
cmp dword [esp + 0x34], esi
mov byte [esp + 0x474], bl
jb 0x40e2d8
mov eax, dword [esp + 0x20]
push eax
call fcn.0065d0d4
add esp, 4
push 1
lea esi, [edi + 1]
push esi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x20], 0xa
call fcn.0047bc20
mov edi, eax
cmp edi, ebx
jge 0x40e284
mov edi, dword [esp + 0x18]
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 4]
lea esi, [edi + 0xc]
push eax
mov ecx, esi
call fcn.0040d330
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [edi + 4]
mov edi, dword [eax]
cmp edi, eax
je 0x40e40f
lea esp, [esp]
push 0xffffffffffffffff
lea eax, [edi + 8]
push ebx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.00404a70
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x7c]
push edx
mov ecx, esi
mov byte [esp + 0x47c], 2
call fcn.0040daa0
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0x474], bl
jb 0x40e394
mov eax, dword [esp + 0x20]
push eax
call fcn.0065d0d4
add esp, 4
push 0xffffffffffffffff
lea eax, [edi + 0x24]
push ebx
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.00404a70
mov byte [esp + 0x74], bl
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x7c]
push edx
mov ecx, esi
mov byte [esp + 0x47c], 3
call fcn.0040daa0
cmp dword [esp + 0x70], 0x10
mov byte [esp + 0x474], bl
jb 0x40e3f4
mov eax, dword [esp + 0x5c]
push eax
call fcn.0065d0d4
add esp, 4
mov ecx, dword [esp + 0x18]
mov edi, dword [edi]
cmp edi, dword [ecx + 4]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
jne 0x40e340
cmp dword [esp + 0x54], 0x10
jb 0x40e423
mov edx, dword [esp + 0x40]
push edx
call fcn.0065d0d4
add esp, 4
mov ecx, dword [esp + 0x46c]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret