Function at 0x43584c
Capabilities:
Get common file path

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x270
mov ebp, edx
mov ebx, eax
cmp dword [0x5aa6e0], 0
jne 0x4358df
mov dword [0x5aa6e0], 1
lea ecx, [esp]
push 0x208
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [esp]
mov edx, 0x7da320
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x43588e
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x435ab0
push 0x7da32c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x7d469c], eax
push 0x7da33c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x7d46a0], eax
push 0x7da350
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x7d46a4], eax
mov ecx, dword [0x560950]
mov dword [esp + 0x25c], ecx
mov esi, dword [0x560954]
mov dword [esp + 0x260], esi
mov edi, dword [0x560958]
mov dword [esp + 0x264], edi
mov ecx, dword [0x56095c]
mov dword [esp + 0x268], ecx
mov edx, str.d27cdb6e_ae6d_11cf_96b8_444553540000
mov ecx, dword [edx]
mov dword [esp + 0x208], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x20c], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x210], ecx
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x214], ecx
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x218], ecx
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x21c], ecx
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x220], ecx
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x224], ecx
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x228], ecx
mov ecx, dword [edx + 0x24]
mov dword [esp + 0x22c], ecx
mov ecx, dword [edx + 0x28]
mov dword [esp + 0x230], ecx
mov ecx, dword [edx + 0x2c]
mov dword [esp + 0x234], ecx
mov ecx, dword [edx + 0x30]
mov dword [esp + 0x238], ecx
mov ecx, dword [edx + 0x34]
mov dword [esp + 0x23c], ecx
mov ecx, dword [edx + 0x38]
mov dword [esp + 0x240], ecx
mov ecx, dword [edx + 0x3c]
mov dword [esp + 0x244], ecx
mov ecx, dword [edx + 0x40]
mov dword [esp + 0x248], ecx
mov ecx, dword [edx + 0x44]
mov dword [esp + 0x24c], ecx
mov ecx, dword [edx + 0x48]
mov dword [esp + 0x250], ecx
movzx ecx, word [edx + 0x4c]
mov word [esp + 0x254], cx
mov dword [esp + 0x26c], 0
call dword [0x7d469c]
lea esi, [esp + 0x208]
xor ecx, ecx
push ecx
push ecx
push ebx
push esi
call dword [0x7d46a0]
test eax, eax
je 0x435a16
xor eax, eax
add esp, 0x270
pop ebx
pop ebp
pop esi
pop edi
ret
lea ecx, [esp + 0x26c]
push ecx
push ebx
call dword [0x7d46a4]
test eax, eax
je 0x435a36
xor eax, eax
add esp, 0x270
pop ebx
pop ebp
pop esi
pop edi
ret
mov ecx, dword [esp + 0x26c]
mov ebx, dword [ecx]
lea eax, [esp + 0x25c]
push 0x7d4694
push eax
push ecx
call dword [ebx]
test eax, eax
je 0x435a60
xor eax, eax
add esp, 0x270
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, dword [esp + 0x26c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x7d4694]
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x58]
mov edx, dword [0x7d4694]
mov ecx, dword [edx]
lea eax, [esp + 0x258]
push eax
push edx
call dword [ecx + 0x20]
mov eax, dword [0x7d4694]
mov edx, dword [eax]
push eax
call dword [edx + 0x70]
inc dword [0x7d4698]
mov eax, dword [esp + 0x258]
add esp, 0x270
pop ebx
pop ebp
pop esi
pop edi
ret
push 0x7da360
push 0
call fcn.0040af10
xor eax, eax
add esp, 0x278
pop ebx
pop ebp
pop esi
pop edi
ret