Function at 0x43cd90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49df51
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x4cb06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x20a
lea eax, [ebp - 0x220]
mov dword [ebp - 0x280], str.NTASN1.DLL
push 0
push eax
mov dword [ebp - 0x27c], str.USER32.DLL
mov dword [ebp - 0x278], str.GDI32.DLL
mov dword [ebp - 0x274], str.ADVAPI32.DLL
mov dword [ebp - 0x270], str.SHELL32.DLL
mov dword [ebp - 0x26c], str.OLE32.DLL
mov dword [ebp - 0x268], str.OLEAUT32.DLL
mov dword [ebp - 0x264], str.WINHTTP.DLL
mov dword [ebp - 0x260], str.SHLWAPI.DLL
mov dword [ebp - 0x25c], str.COMCTL32.DLL
mov dword [ebp - 0x258], str.GDIPLUS.DLL
mov dword [ebp - 0x254], str.MPR.DLL
mov dword [ebp - 0x250], str.IPHLPAPI.DLL
mov dword [ebp - 0x24c], str.VERSION.DLL
mov dword [ebp - 0x248], str.WLDP.DLL
mov dword [ebp - 0x244], str.PROFAPI.DLL
mov dword [ebp - 0x240], str.TEXTSHAPING.DLL
mov dword [ebp - 0x23c], str.WEBIO.DLL
mov dword [ebp - 0x238], str.SSPICLI.DLL
mov dword [ebp - 0x234], str.NCRYPT.DLL
mov dword [ebp - 0x230], str.MSASN1.DLL
mov dword [ebp - 0x22c], str.DPAPI.DLL
mov dword [ebp - 0x228], str.DWRITE.DLL
mov dword [ebp - 0x224], str.WINDOWSCODECS.DLL
call fcn.00475700
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x43d146
xor eax, eax
mov dword [ebp - 0x2b8], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x2b4], 7
mov word [ebp - 0x2c8], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43cf04
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c8]
call fcn.00407780
push 0xd
push str.KERNEL32.DLL
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 4], 0
call fcn.00417a80
cmp dword [ebp - 0x2b4], 8
lea eax, [ebp - 0x2c8]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmovae eax, dword [ebp - 0x2c8]
push eax
call ebx
test eax, eax
je 0x43cf81
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43cf81
push 0x800
call eax
test eax, eax
jne 0x43cf81
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [ebp - 0x280]
nop word [eax + eax]
mov edx, dword [esi]
xor eax, eax
mov word [ebp - 0x2b0], ax
mov eax, edx
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 7
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43cfb4
sub eax, edi
lea ecx, [ebp - 0x2b0]
sar eax, 1
push eax
push edx
call fcn.00407780
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
xor eax, eax
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 7
lea edx, [ecx + 2]
mov word [ebp - 0x298], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d000
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x298]
call fcn.00407780
push 1
push 0x4b6a74
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 2
call fcn.00417a80
cmp dword [ebp - 0x29c], 8
lea eax, [ebp - 0x2b0]
push dword [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x2b0]
lea ecx, [ebp - 0x298]
push eax
call fcn.00417a80
cmp dword [ebp - 0x284], 8
lea eax, [ebp - 0x298]
cmovae eax, dword [ebp - 0x298]
push eax
call ebx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x284]
cmp edx, 8
jb 0x43d0b9
mov ecx, dword [ebp - 0x298]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43d0af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43d162
push edx
push ecx
call fcn.0045d989
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x29c]
cmp edx, 8
jb 0x43d0f9
mov ecx, dword [ebp - 0x2b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43d0ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43d162
push edx
push ecx
call fcn.0045d989
add esp, 8
add esi, 4
lea eax, [ebp - 0x220]
cmp esi, eax
jne 0x43cf90
mov edx, dword [ebp - 0x2b4]
cmp edx, 8
jb 0x43d146
mov ecx, dword [ebp - 0x2c8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43d13c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43d162
push edx
push ecx
call fcn.0045d989
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045d468
mov esp, ebp
pop ebp
ret
call fcn.004786bc
int3