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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6c038c
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.0040d310
push 0x6d1e60
push str.Data_FindPath.txt
call fcn.00630ed0
mov esi, eax
xor ebx, ebx
add esp, 8
cmp esi, ebx
jne 0x40e230
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 0x6d1416
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.0062f7d0
add esp, 4
push eax
push 0x6d1416
lea ecx, [esp + 0x44]
call fcn.00404c50
test byte [esi + 0xc], 0x10
mov dword [esp + 0x474], ebx
jne 0x40e2c6
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.00630e28
lea ecx, [esp + 0x90]
push ecx
call fcn.0062f7d0
add esp, 0x14
push eax
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x44]
call fcn.0040cb40
test byte [esi + 0xc], 0x10
je 0x40e270
push 1
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
xor esi, esi
mov byte [esp + 0x20], 0xa
call fcn.00403ae0
mov edi, eax
cmp edi, ebx
jl 0x40e363
mov ecx, edi
sub ecx, esi
push ecx
push esi
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x48]
call fcn.004098e0
mov ecx, dword [eax + 0x18]
mov esi, 0x10
cmp ecx, esi
mov byte [esp + 0x474], 1
jb 0x40e311
mov eax, dword [eax + 4]
jmp 0x40e314
add eax, 4
mov ecx, dword [esp + 0x18]
push eax
call fcn.0040dd00
cmp dword [esp + 0x34], esi
mov byte [esp + 0x474], bl
jb 0x40e338
mov eax, dword [esp + 0x20]
push eax
call fcn.00630114
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.00403ae0
mov edi, eax
cmp edi, ebx
jge 0x40e2e4
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.0040d390
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 0x40e46f
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.00404b60
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.0040db00
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0x474], bl
jb 0x40e3f4
mov eax, dword [esp + 0x20]
push eax
call fcn.00630114
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.00404b60
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.0040db00
cmp dword [esp + 0x70], 0x10
mov byte [esp + 0x474], bl
jb 0x40e454
mov eax, dword [esp + 0x5c]
push eax
call fcn.00630114
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 0x40e3a0
cmp dword [esp + 0x54], 0x10
jb 0x40e483
mov edx, dword [esp + 0x40]
push edx
call fcn.00630114
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