Function at 0x430660
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7da1
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x65d0c8]
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], 0x63ee98
mov dword [ebp - 0x24c], str.VERSION.DLL
mov dword [ebp - 0x248], str.WLDP.DLL
mov dword [ebp - fcn.00520050], 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.005771e0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x430a16
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 0x4307d4
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c8]
call fcn.004183e0
push 0xd
push str.KERNEL32.DLL
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 4], 0
call fcn.00424fc0
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 0x430851
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x430851
push 0x800
call eax
test eax, eax
jne 0x430851
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 0x430884
sub eax, edi
lea ecx, [ebp - 0x2b0]
sar eax, 1
push eax
push edx
call fcn.004183e0
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 0x4308d0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x298]
call fcn.004183e0
push 1
push 0x64037c
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 2
call fcn.00424fc0
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.00424fc0
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 0x430989
mov ecx, dword [ebp - 0x298]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43097f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430a32
push edx
push ecx
call fcn.00573e4d
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x29c]
cmp edx, 8
jb 0x4309c9
mov ecx, dword [ebp - 0x2b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4309bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430a32
push edx
push ecx
call fcn.00573e4d
add esp, 8
add esi, 4
lea eax, [ebp - 0x220]
cmp esi, eax
jne 0x430860
mov edx, dword [ebp - 0x2b4]
cmp edx, 8
jb 0x430a16
mov ecx, dword [ebp - 0x2c8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430a0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430a32
push edx
push ecx
call fcn.00573e4d
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.005738eb
mov esp, ebp
pop ebp
ret
call fcn.0057f64e
int3