Function at 0x43cf90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440e08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x398
push ebx
push esi
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], esp
call fcn.00438cd0
lea eax, [ebp - 0x3a4]
xor esi, esi
push 0x104
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, dword [ebp + 0xc]
push esi
push ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00438d60
push esi
lea edx, [ebp - 0x38]
push 0x47c3cc
push edx
lea ecx, [ebp - 0x24]
call fcn.00438e00
push 0x47c3c4
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00438fc0
mov esi, eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
call fcn.00438dc0
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
cmp eax, dword [esi + 4]
je 0x43d2f5
lea edi, [eax + 8]
push 0
lea eax, [ebp - 0x5c]
push 0x47c3bc
push eax
mov ecx, edi
call fcn.00438e00
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00438fb0
push eax
call dword [sym.imp.ntdll.dll_atoi]
add esp, 4
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
call fcn.00438dc0
push 0
lea ecx, [ebp - 0x54]
push 0x46c2bc
push ecx
mov ecx, edi
call fcn.00438e00
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00438fb0
lea ecx, [ebp - 0x54]
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 1
call fcn.00438dc0
push 0
lea edx, [ebp - 0x64]
push 0x464784
push edx
mov ecx, edi
call fcn.00438e00
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00438fb0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
call fcn.00438dc0
push 0
lea eax, [ebp - 0x40]
push 0x464790
push eax
mov ecx, edi
call fcn.00438e00
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00438fb0
mov ebx, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 1
call fcn.00438dc0
push 0
lea ecx, [ebp - 0x4c]
push 0x44aaf8
push ecx
mov ecx, edi
call fcn.00438e00
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00438fb0
mov esi, eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 1
call fcn.00438dc0
mov edx, dword [ebp + 0xc]
push edx
call fcn.0043c950
mov edi, dword [ebp - 0x28]
push edi
call fcn.0043c950
push ebx
call fcn.0043c950
push esi
call fcn.0043c950
add esp, 0x10
mov ecx, edi
mov al, byte [ecx]
test al, al
je 0x43d14b
cmp al, 0x2f
jne 0x43d148
mov byte [ecx], 0x5c
inc ecx
jmp 0x43d13b
cmp byte [edi], 0
mov eax, dword [ebp + 0xc]
push eax
je 0x43d177
lea ecx, [ebp - 0x3a4]
push edi
push ecx
push 0x47c3b0
lea edx, [ebp - 0x2a0]
push 0x104
push edx
call fcn.00407080
add esp, 0x18
jmp 0x43d197
lea ecx, [ebp - 0x3a4]
lea edx, [ebp - 0x2a0]
push ecx
push 0x44aae4
push 0x104
push edx
call fcn.00407080
add esp, 0x14
lea eax, [ebp - 0x2a0]
lea ecx, [ebp - 0x168]
push eax
push 0x104
push ecx
call fcn.0040aba0
lea edx, [ebp - 0x168]
push edx
call dword [sym.imp.ntdll.dll__strupr]
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x168]
push ecx
push eax
call fcn.00437810
mov esi, dword [ebp + 8]
xor edx, edx
add esp, 0xc
div dword [esi + 8]
lea ecx, [esi + 0x14]
push ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 4]
mov edi, dword [edx + edi*4]
test edi, edi
je 0x43d243
lea eax, [ebp - 0x2a0]
lea ebx, [edi + 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x43d23f
add esi, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x43d2e3
mov ecx, dword [ebp - 0x30]
xor eax, eax
cmp ecx, eax
je 0x43d252
mov dword [ebx + 0x124], 2
mov dword [ebx + 0x12c], eax
jmp 0x43d2e3
mov edi, dword [edi]
jmp 0x43d1f6
add esi, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x43d2e3
push 0x28
mov dword [ebx + 0x124], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, dword [ebp - 0x1c]
mov dword [ebx + 0x12c], eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
inc esi
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebx + 0x12c]
add esp, 4
cmp esi, 0x7fffffff
mov dword [ecx], eax
ja 0x43d2b9
mov eax, dword [ebx + 0x12c]
mov edx, dword [ebp - 0x1c]
test esi, esi
mov eax, dword [eax]
je 0x43d2b9
test esi, esi
je 0x43d2b5
mov cl, byte [edx]
test cl, cl
je 0x43d2b1
mov byte [eax], cl
inc eax
inc edx
dec esi
jmp 0x43d2a0
test esi, esi
jne 0x43d2b6
dec eax
mov byte [eax], 0
mov eax, dword [ebx + 0x12c]
mov edx, dword [ebp - 0x2c]
mov esi, 0x21
add eax, 4
test esi, esi
je 0x43d2df
mov cl, byte [edx]
test cl, cl
je 0x43d2db
mov byte [eax], cl
inc eax
inc edx
dec esi
jmp 0x43d2ca
test esi, esi
jne 0x43d2e0
dec eax
mov byte [eax], 0
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, edx
jmp 0x43d022
test esi, esi
mov dword [ebp - 4], 0
je 0x43d36c
mov ebx, dword [esi + 4]
mov edi, dword [ebx]
cmp edi, ebx
je 0x43d352
mov eax, edi
mov edi, dword [edi]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 8]
push 0
push eax
lea ecx, [ebp + 0xc]
call fcn.0043e4d0
mov esi, dword [eax]
push 0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
lea ecx, [esi + 8]
mov dword [edx + 4], eax
call fcn.0043e630
push esi
call fcn.0043fa08
mov eax, dword [ebp - 0x14]
add esp, 4
mov ecx, dword [eax + 8]
dec ecx
cmp edi, ebx
mov dword [eax + 8], ecx
jne 0x43d309
mov esi, eax
mov eax, dword [esi + 4]
push eax
call fcn.0043fa08
xor eax, eax
push esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call fcn.0043fa08
add esp, 8
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00438dc0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret