Function at 0x437a50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x47ae26
mov eax, dword fs:[0]
push eax
sub esp, 0x3d8
mov eax, dword [0x536400]
xor eax, esp
mov dword [esp + 0x3d4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x536400]
xor eax, esp
push eax
lea eax, [esp + 0x3ec]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3fc]
mov edi, dword [esp + 0x400]
mov esi, ecx
xor ebx, ebx
lea ecx, [esi + 0x5c]
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
call fcn.004197b0
lea ecx, [esi + 0x64]
call fcn.004197b0
lea ecx, [esi + 0x54]
call fcn.004197b0
lea ecx, [esi + 0x18]
mov dword [esi + 0x50], ebx
mov byte [esi + 0x40], bl
mov dword [esi + 0x44], ebx
call fcn.00408220
cmp ebp, ebx
mov byte [esi + 0x41], bl
jne 0x437aec
cmp edi, ebx
je 0x437ae5
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.loadFileInfoAnsi_failed:_no_filename
mov ecx, edi
call edx
xor al, al
jmp 0x437d39
push ebp
call fcn.0041e150
add esp, 4
cmp eax, 0xffffffff
jne 0x437b73
cmp edi, ebx
je 0x437b35
lea eax, [esp + 0xc4]
push eax
push 0x320
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, dword [edi]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0xc4]
push eax
push str.curDir
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.loadFileInfoAnsi_failed:_cannot_get_attributes
mov ecx, edi
call edx
push edi
push ebp
call fcn.0041b8a0
add esp, 8
test al, al
jne 0x437b59
cmp edi, ebx
mov byte [esi + 0x10], 1
je 0x437b6c
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.File_does_not_exist.
mov ecx, edi
call edx
cmp edi, ebx
je 0x437b6c
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
push ebp
push str.filename
mov ecx, edi
call edx
xor al, al
jmp 0x437d39
mov dword [esi + 0x50], eax
shr eax, 4
and al, 1
lea ecx, [esp + 0x3c]
mov byte [esi + 0x40], al
call fcn.00406b00
push ebp
lea ecx, [esp + 0x40]
mov dword [esp + 0x3f8], ebx
call fcn.00406d40
lea ecx, [esp + 0x3c]
call fcn.00407530
push eax
lea ecx, [esi + 0x18]
call fcn.00409350
lea ecx, [esp + 0x18]
call fcn.0042bd20
cmp byte [esi + 0x40], bl
push edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
lea edx, [esp + 0x20]
push ecx
mov byte [esp + 0x400], 1
push edx
je 0x437bd7
call fcn.0041c870
jmp 0x437bdc
call fcn.0041c830
add esp, 0x10
cmp al, bl
jne 0x437c3a
cmp dword [esp + 0x14], 1
jne 0x437bee
mov byte [esi + 0x11], 1
cmp edi, ebx
je 0x437c0f
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.loadFileInfoAnsi_failed:_cannot_open_for_reading
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
push ebp
push str.filename
mov ecx, edi
call edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x3f4], bl
call fcn.0042bd80
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3f4], 0xffffffff
call fcn.00406bc0
xor al, al
jmp 0x437d39
lea ecx, [esp + 0x34]
call fcn.004197c0
lea ecx, [esp + 0x2c]
call fcn.004197c0
lea ecx, [esp + 0x24]
call fcn.004197c0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x24]
call fcn.0042bfc0
cmp al, bl
jne 0x437cba
cmp edi, ebx
je 0x437c92
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.loadFileInfoAnsi_failed:_cannot_get_file_time
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
push ebp
push str.filename
mov ecx, edi
call edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x3f4], bl
call fcn.0042bd80
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3f4], 0xffffffff
call fcn.00406bc0
xor al, al
jmp 0x437d39
lea eax, [esi + 0x5c]
push eax
lea ecx, [esp + 0x38]
call fcn.00419a60
lea eax, [esi + 0x64]
push eax
lea ecx, [esp + 0x30]
call fcn.00419a60
lea eax, [esi + 0x54]
push eax
lea ecx, [esp + 0x28]
call fcn.00419a60
cmp byte [esi + 0x40], bl
je 0x437cf1
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
jmp 0x437d13
push ebx
lea ecx, [esp + 0x1c]
call fcn.0042c580
mov dword [esi + 0x48], eax
mov ecx, dword [esi + 0x48]
mov eax, edx
push eax
push ecx
mov dword [esi + 0x4c], edx
call fcn.0042c750
add esp, 8
mov dword [esi + 0x44], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3f4], bl
call fcn.0042bd80
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3f4], 0xffffffff
call fcn.00406bc0
mov al, 1
mov ecx, dword [esp + 0x3ec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3d4]
xor ecx, esp
call fcn.0046255c
add esp, 0x3e4
ret 8