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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a5d1c
mov eax, dword fs:[0]
push eax
sub esp, 0x8d8
mov eax, dword [0x4c3518]
xor eax, esp
mov dword [esp + 0x8d0], eax
push ebx
push esi
push edi
mov eax, dword [0x4c3518]
xor eax, esp
push eax
lea eax, [esp + 0x8e8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edx, edx
push 0x206
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0xc]
push edx
lea eax, [esp + 0x2ce]
push eax
mov dword [esp + 0x20], ecx
mov word [esp + 0x2d0], dx
call fcn.0048ab30
add esp, 0xc
xor ecx, ecx
push 0x40e
push ecx
lea edx, [esp + 0x4d6]
push edx
mov word [esp + 0x4d8], cx
call fcn.0048ab30
add esp, 0xc
lea eax, [esp + 0x2c4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edi, [esp + 0x58]
call fcn.00418630
mov dword [esp + 0x8f0], 0
mov eax, dword [esp + 0x5c]
mov edi, 8
cmp dword [esp + 0x70], edi
jae 0x43458c
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x2c8]
push ecx
lea edx, [esp + 0x4d4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea esp, [esp]
push 0x250
lea eax, [esp + 0x78]
push 0
push eax
call fcn.0048ab30
add esp, 0xc
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x4d0]
push edx
call esi
cmp eax, 0xffffffff
jne 0x4345dc
xor bl, bl
jmp 0x4345e6
mov bl, byte [esp + 0x74]
shr bl, 4
and bl, 1
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
je 0x434659
lea edi, [esp + 0x20]
call fcn.00418630
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x60]
mov byte [esp + 0x8f8], 1
call fcn.00409830
mov edi, 8
mov byte [esp + 0x8f0], 0
cmp dword [esp + 0x38], edi
jb 0x43462f
mov eax, dword [esp + 0x24]
push eax
call fcn.00485321
add esp, 4
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], edi
jae 0x43463d
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x2c8]
push ecx
lea edx, [esp + 0x4d4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x4345b0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
push edx
lea edx, [esp + 0x4d0]
push edx
call eax
test eax, eax
je 0x434692
cmp dword [esp + 0x70], edi
jb 0x434688
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00485321
add esp, 4
mov eax, 0xfffffbd3
jmp 0x434800
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x3c]
call fcn.00438a50
mov byte [esp + 0x8f0], 2
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], edi
jae 0x4346b5
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4346d7
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], edi
jae 0x4346ce
lea eax, [esp + 0x40]
push eax
call fcn.00438f20
add esp, 4
mov ebx, dword [esp + 0x18]
sub esp, 0x1c
mov esi, esp
xor edi, edi
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov eax, ebx
mov word [esi + 4], dx
mov dword [esp + 0x30], esp
lea edx, [eax + 2]
jmp 0x434700
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x434700
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
call fcn.00409640
sub esp, 0x1c
mov esi, esp
mov byte [esp + 0x928], 3
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov word [esi + 4], ax
lea eax, [esp + 0x504]
mov dword [esp + 0x54], esp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x434742
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x508]
call fcn.00409640
mov byte [esp + 0x928], 2
call fcn.004306d0
mov bl, al
add esp, 0x38
lea eax, [esp + 0x4cc]
call fcn.00418ab0
mov esi, 8
test bl, bl
je 0x4347c2
cmp dword [esp + 0x54], esi
jb 0x434798
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00485321
add esp, 4
xor edx, edx
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], edi
mov word [esp + 0x40], dx
cmp dword [esp + 0x70], esi
jb 0x4347be
mov eax, dword [esp + 0x5c]
push eax
call fcn.00485321
add esp, 4
xor eax, eax
jmp 0x434800
cmp dword [esp + 0x54], esi
jb 0x4347d5
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00485321
add esp, 4
xor edx, edx
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], edi
mov word [esp + 0x40], dx
cmp dword [esp + 0x70], esi
jb 0x4347fb
mov eax, dword [esp + 0x5c]
push eax
call fcn.00485321
add esp, 4
mov eax, 0xfffffbc1
mov ecx, dword [esp + 0x8e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8d0]
xor ecx, esp
call fcn.0048532c
mov esp, ebp
pop ebp
ret 8