Function at 0x4013c0
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4447db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1cc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1e8]
push edi
push 0x25
mov ecx, esi
call fcn.0043c39d
mov edi, eax
mov eax, dword [0x453250]
mov dword [esp + 0x10], eax
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x1e4], ebx
jl 0x401fed
mov eax, dword [esi]
mov ecx, dword [eax - 8]
dec ecx
cmp edi, ecx
jge 0x401fed
movsx eax, byte [eax + edi + 1]
add eax, 0xffffffbf
cmp eax, 0x36
ja case.0x401432.76
xor ecx, ecx
mov cl, byte [eax + 0x40204c]
jmp dword [ecx*4 + 0x40201c]
lea edx, [edi + 2]
lea eax, [esp + 0xc8]
push edx
push eax
mov ecx, esi
call fcn.0043a9a3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 1
call fcn.0043c00f
lea ecx, [esp + 0xc8]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
mov ecx, dword [0x456ab8]
cmp ecx, ebx
jne 0x401481
mov ecx, dword [0x456a58]
lea edx, [esp + 0xa8]
push 3
push edx
call fcn.0043aad8
mov ebp, eax
lea eax, [esp + 0x20]
push edi
push eax
mov ecx, esi
mov byte [esp + 0x1ec], 2
call fcn.0043aad8
push ebp
lea ecx, [esp + 0x7c]
push eax
push ecx
mov byte [esp + 0x1f0], 3
call fcn.0043c105
push eax
mov ecx, esi
mov byte [esp + 0x1e8], 4
call fcn.0043c00f
lea ecx, [esp + 0x78]
mov byte [esp + 0x1e4], 3
call fcn.0043bf22
lea ecx, [esp + 0x20]
mov byte [esp + 0x1e4], 2
call fcn.0043bf22
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401fda
cmp byte [eax], 0x5c
jne 0x4018c3
lea edx, [esp + 0x28]
push 1
push edx
lea ecx, [esp + 0x18]
call fcn.0043a9a3
push eax
mov ecx, esi
mov byte [esp + 0x1e8], 5
call fcn.0043c2ee
lea ecx, [esp + 0x28]
jmp 0x401fce
lea ecx, [edi + 2]
lea edx, [esp + 0x80]
push ecx
push edx
mov ecx, esi
call fcn.0043a9a3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 6
call fcn.0043c00f
lea ecx, [esp + 0x80]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
lea eax, [esp + 0xc0]
push edi
push eax
mov ecx, esi
call fcn.0043aad8
mov ecx, dword [0x456a58]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
mov byte [esp + 0x1f0], 7
call fcn.0043c105
push eax
mov ecx, esi
mov byte [esp + 0x1e8], 8
call fcn.0043c00f
lea ecx, [esp + 0x30]
mov byte [esp + 0x1e4], 7
call fcn.0043bf22
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401fda
mov cl, byte [eax]
cmp cl, 0x5c
lea ecx, [esp + 0x10]
jne 0x401f33
lea eax, [esp + 0x38]
push 1
push eax
call fcn.0043a9a3
push eax
mov ecx, esi
mov byte [esp + 0x1e8], 9
call fcn.0043c2ee
lea ecx, [esp + 0x38]
jmp 0x401fce
lea edx, [edi + 2]
lea eax, [esp + 0x88]
push edx
push eax
mov ecx, esi
call fcn.0043a9a3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 0xa
call fcn.0043c00f
lea ecx, [esp + 0x88]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
mov ebp, dword [0x456ab4]
cmp ebp, ebx
jne 0x40165e
mov ebp, dword [0x456ab0]
lea ecx, [esp + 0xb0]
push edi
push ecx
mov ecx, esi
call fcn.0043aad8
push ebp
lea edx, [esp + 0x44]
push eax
push edx
mov byte [esp + 0x1f0], 0xb
call fcn.0043c105
push eax
mov ecx, esi
mov byte [esp + 0x1e8], 0xc
call fcn.0043c00f
lea ecx, [esp + 0x40]
mov byte [esp + 0x1e4], 0xb
call fcn.0043bf22
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401fda
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0043c2ee
jmp 0x401fda
lea edx, [edi + 2]
lea eax, [esp + 0x48]
push edx
push eax
mov ecx, esi
call fcn.0043a9a3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 0xd
call fcn.0043c00f
lea ecx, [esp + 0x48]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
mov ebp, dword [0x456ab8]
cmp ebp, ebx
jne 0x401716
mov ebp, dword [0x456a58]
lea ecx, [esp + 0x50]
push edi
push ecx
mov ecx, esi
call fcn.0043aad8
push ebp
lea edx, [esp + 0x94]
push eax
push edx
mov byte [esp + 0x1f0], 0xe
call fcn.0043c105
push eax
mov ecx, esi
mov byte [esp + 0x1e8], 0xf
call fcn.0043c00f
lea ecx, [esp + 0x90]
mov byte [esp + 0x1e4], 0xe
call fcn.0043bf22
lea ecx, [esp + 0x50]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401fda
mov cl, byte [eax]
cmp cl, 0x5c
lea ecx, [esp + 0x10]
jne 0x401f33
lea eax, [esp + 0xd0]
push 1
push eax
call fcn.0043a9a3
push eax
mov ecx, esi
mov byte [esp + 0x1e8], 0x10
call fcn.0043c2ee
lea ecx, [esp + 0xd0]
jmp 0x401fce
lea edx, [edi + 2]
lea eax, [esp + 0x58]
push edx
push eax
mov ecx, esi
call fcn.0043a9a3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 0x11
call fcn.0043c00f
lea ecx, [esp + 0x58]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x40182d
cmp byte [eax], 0x5c
jne 0x40182d
lea ecx, [esp + 0x98]
push 1
push ecx
lea ecx, [esp + 0x18]
call fcn.0043a9a3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 0x12
call fcn.0043c00f
lea ecx, [esp + 0x98]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
lea edx, [esp + 0xd4]
push 0x105
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0xd4]
push 0x105
lea ecx, [esp + 0xd8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea edx, [esp + 0xb8]
push edi
push edx
mov ecx, esi
call fcn.0043aad8
lea ecx, [esp + 0xd4]
lea edx, [esp + 0x60]
push ecx
push eax
push edx
mov byte [esp + 0x1f0], 0x13
call fcn.0043c16b
push eax
mov ecx, esi
mov byte [esp + 0x1e8], 0x14
call fcn.0043c00f
lea ecx, [esp + 0x60]
mov byte [esp + 0x1e4], 0x13
call fcn.0043bf22
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
push esi
call fcn.00410ac0
add esp, 4
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.0043c2ee
jmp 0x401fda
lea ecx, [edi + 2]
lea edx, [esp + 0x68]
push ecx
push edx
mov ecx, esi
call fcn.0043a9a3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 0x15
call fcn.0043c00f
lea ecx, [esp + 0x68]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x40194c
cmp byte [eax], 0x5c
jne 0x40194c
lea eax, [esp + 0xa0]
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.0043a9a3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 0x16
call fcn.0043c00f
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
lea ecx, [esp + 0xd4]
push 0x105
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0xd4]
push 0x105
lea eax, [esp + 0xd8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea ecx, [esp + 0x14]
push edi
push ecx
mov ecx, esi
call fcn.0043aad8
lea edx, [esp + 0xd4]
mov byte [esp + 0x1e4], 0x17
push edx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0043c16b
push eax
mov ecx, esi
mov byte [esp + 0x1e8], 0x18
call fcn.0043c00f
lea ecx, [esp + 0x70]
mov byte [esp + 0x1e4], 0x17
call fcn.0043bf22
lea ecx, [esp + 0x14]
jmp 0x401f1a
lea edx, [edi + 2]
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, esi
call fcn.0043a9a3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 0x19
call fcn.0043c00f
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401a3e
cmp byte [eax], 0x5c
jne 0x401a3e
lea ecx, [esp + 0x1c]
push 1
push ecx
lea ecx, [esp + 0x18]
call fcn.0043a9a3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 0x1a
call fcn.0043c00f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
lea edx, [esp + 0xd4]
push 0x105
push edx
push 0x19
call fcn.00404690
add esp, 0xc
test eax, eax
jne 0x401a70
lea eax, [esp + 0xd4]
push 0x105
push eax
push 0x10
call fcn.00404690
add esp, 0xc
lea ecx, [esp + 0xd4]
push 0x105
lea edx, [esp + 0xd8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [esp + 0x2c]
push edi
push eax
mov ecx, esi
call fcn.0043aad8
lea ecx, [esp + 0xd4]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov byte [esp + 0x1f0], 0x1b
call fcn.0043c16b
push eax
mov ecx, esi
mov byte [esp + 0x1e8], 0x1c
call fcn.0043c00f
lea ecx, [esp + 0x24]
mov byte [esp + 0x1e4], 0x1b
call fcn.0043bf22
lea ecx, [esp + 0x2c]
jmp 0x4018ae
lea ecx, [edi + 2]
lea edx, [esp + 0x34]
push ecx
push edx
mov ecx, esi
call fcn.0043a9a3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 0x1d
call fcn.0043c00f
lea ecx, [esp + 0x34]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401b4f
cmp byte [eax], 0x5c
jne 0x401b4f
lea eax, [esp + 0x3c]
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.0043a9a3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 0x1e
call fcn.0043c00f
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
lea ecx, [esp + 0xd4]
push 0x105
push ecx
push 0x10
call fcn.00404690
add esp, 0xc
lea edx, [esp + 0xd4]
lea eax, [esp + 0xd4]
push 0x105
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea ecx, [esp + 0x4c]
push edi
push ecx
mov ecx, esi
call fcn.0043aad8
lea edx, [esp + 0xd4]
mov byte [esp + 0x1e4], 0x1f
push edx
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0043c16b
push eax
mov ecx, esi
mov byte [esp + 0x1e8], 0x20
call fcn.0043c00f
lea ecx, [esp + 0x44]
mov byte [esp + 0x1e4], 0x1f
call fcn.0043bf22
lea ecx, [esp + 0x4c]
jmp 0x401f1a
lea edx, [edi + 2]
lea eax, [esp + 0x54]
push edx
push eax
mov ecx, esi
call fcn.0043a9a3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 0x21
call fcn.0043c00f
lea ecx, [esp + 0x54]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401c45
cmp byte [eax], 0x5c
jne 0x401c45
lea ecx, [esp + 0x5c]
push 1
push ecx
lea ecx, [esp + 0x18]
call fcn.0043a9a3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 0x22
call fcn.0043c00f
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
lea edx, [esp + 0xd4]
push 0x105
push edx
push 0x17
call fcn.00404690
add esp, 0xc
test eax, eax
jne 0x401c77
lea eax, [esp + 0xd4]
push 0x105
push eax
push 2
call fcn.00404690
add esp, 0xc
lea ecx, [esp + 0xd4]
push 0x105
lea edx, [esp + 0xd8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [esp + 0x6c]
push edi
push eax
mov ecx, esi
call fcn.0043aad8
lea ecx, [esp + 0xd4]
lea edx, [esp + 0x64]
push ecx
push eax
push edx
mov byte [esp + 0x1f0], 0x23
call fcn.0043c16b
push eax
mov ecx, esi
mov byte [esp + 0x1e8], 0x24
call fcn.0043c00f
lea ecx, [esp + 0x64]
mov byte [esp + 0x1e4], 0x23
call fcn.0043bf22
lea ecx, [esp + 0x6c]
jmp 0x4018ae
lea ecx, [edi + 2]
lea edx, [esp + 0x74]
push ecx
push edx
mov ecx, esi
call fcn.0043a9a3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 0x25
call fcn.0043c00f
lea ecx, [esp + 0x74]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401d56
cmp byte [eax], 0x5c
jne 0x401d56
lea eax, [esp + 0x7c]
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.0043a9a3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 0x26
call fcn.0043c00f
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
lea ecx, [esp + 0xd4]
push 0x105
push ecx
push 2
call fcn.00404690
add esp, 0xc
lea edx, [esp + 0xd4]
lea eax, [esp + 0xd4]
push 0x105
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea ecx, [esp + 0x8c]
push edi
push ecx
mov ecx, esi
call fcn.0043aad8
lea edx, [esp + 0xd4]
mov byte [esp + 0x1e4], 0x27
push edx
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.0043c16b
push eax
mov ecx, esi
mov byte [esp + 0x1e8], 0x28
call fcn.0043c00f
lea ecx, [esp + 0x84]
mov byte [esp + 0x1e4], 0x27
call fcn.0043bf22
lea ecx, [esp + 0x8c]
jmp 0x401f1a
lea edx, [edi + 2]
lea eax, [esp + 0x94]
push edx
push eax
mov ecx, esi
call fcn.0043a9a3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 0x29
call fcn.0043c00f
lea ecx, [esp + 0x94]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401e64
cmp byte [eax], 0x5c
jne 0x401e64
lea ecx, [esp + 0x9c]
push 1
push ecx
lea ecx, [esp + 0x18]
call fcn.0043a9a3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 0x2a
call fcn.0043c00f
lea ecx, [esp + 0x9c]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
lea edx, [esp + 0xd4]
push 0x105
push edx
call fcn.00402840
add esp, 8
test eax, eax
je 0x401ef3
lea eax, [esp + 0xd4]
push 0x105
lea ecx, [esp + 0xd8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea edx, [esp + 0xac]
push edi
push edx
mov ecx, esi
call fcn.0043aad8
lea ecx, [esp + 0xd4]
lea edx, [esp + 0xa4]
push ecx
push eax
push edx
mov byte [esp + 0x1f0], 0x2b
call fcn.0043c16b
push eax
mov ecx, esi
mov byte [esp + 0x1e8], 0x2c
call fcn.0043c00f
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1e4], 0x2b
call fcn.0043bf22
lea ecx, [esp + 0xac]
jmp 0x401f1a
lea eax, [esp + 0xb4]
push edi
push eax
mov ecx, esi
call fcn.0043aad8
push eax
mov ecx, esi
mov byte [esp + 0x1e8], 0x2d
call fcn.0043c00f
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
push esi
call fcn.00410ac0
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0043c2ee
jmp 0x401fda
lea edx, [edi + 2]
lea eax, [esp + 0xbc]
push edx
push eax
mov ecx, esi
call fcn.0043a9a3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 0x2e
call fcn.0043c00f
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
lea ecx, [esp + 0xcc]
push edi
push ecx
mov ecx, esi
call fcn.0043aad8
lea edx, [esp + 0x10]
mov byte [esp + 0x1e4], 0x2f
push edx
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.0043c105
push eax
mov ecx, esi
mov byte [esp + 0x1e8], 0x30
call fcn.0043c00f
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1e4], 0x2f
call fcn.0043bf22
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1e4], bl
call fcn.0043bf22
push 0x25
mov ecx, esi
call fcn.0043c39d
mov edi, eax
cmp edi, ebx
jge 0x40140b
lea ecx, [esp + 0x10]
mov dword [esp + 0x1e4], 0xffffffff
call fcn.0043bf22
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1d8
ret