Function at 0x442acc
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 [0x5d8240], 0
jne 0x442b5f
mov dword [0x5d8240], 1
lea ecx, [esp]
push 0x208
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [esp]
mov edx, 0x8074e0
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 0x442b0e
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x442d30
push 0x8074ec
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x800eb0], eax
push 0x8074fc
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x800eb4], eax
push 0x807510
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x800eb8], eax
mov ecx, dword [0x58a990]
mov dword [esp + 0x25c], ecx
mov esi, dword [0x58a994]
mov dword [esp + 0x260], esi
mov edi, dword [0x58a998]
mov dword [esp + 0x264], edi
mov ecx, dword [0x58a99c]
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 [0x800eb0]
lea esi, [esp + 0x208]
xor ecx, ecx
push ecx
push ecx
push ebx
push esi
call dword [0x800eb4]
test eax, eax
je 0x442c96
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 [0x800eb8]
test eax, eax
je 0x442cb6
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 0x800ea8
push eax
push ecx
call dword [ebx]
test eax, eax
je 0x442ce0
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 [0x800ea8]
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x58]
mov edx, dword [0x800ea8]
mov ecx, dword [edx]
lea eax, [esp + 0x258]
push eax
push edx
call dword [ecx + 0x20]
mov eax, dword [0x800ea8]
mov edx, dword [eax]
push eax
call dword [edx + 0x70]
inc dword [0x800eac]
mov eax, dword [esp + 0x258]
add esp, 0x270
pop ebx
pop ebp
pop esi
pop edi
ret
push 0x807520
push 0
call fcn.0040c5f0
xor eax, eax
add esp, 0x278
pop ebx
pop ebp
pop esi
pop edi
ret