Function at 0x443578
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 [0x5dc240], 0
jne 0x44360b
mov dword [0x5dc240], 1
lea ecx, [esp]
push 0x208
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [esp]
mov edx, 0x8106ec
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 0x4435ba
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4437dc
push 0x8106f8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x809ba4], eax
push 0x810708
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x809ba8], eax
push 0x81071c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x809bac], eax
mov ecx, dword [0x58ea10]
mov dword [esp + 0x25c], ecx
mov esi, dword [0x58ea14]
mov dword [esp + 0x260], esi
mov edi, dword [0x58ea18]
mov dword [esp + 0x264], edi
mov ecx, dword [0x58ea1c]
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 [0x809ba4]
lea esi, [esp + 0x208]
xor ecx, ecx
push ecx
push ecx
push ebx
push esi
call dword [0x809ba8]
test eax, eax
je 0x443742
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 [0x809bac]
test eax, eax
je 0x443762
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 0x809b9c
push eax
push ecx
call dword [ebx]
test eax, eax
je 0x44378c
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 [0x809b9c]
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x58]
mov edx, dword [0x809b9c]
mov ecx, dword [edx]
lea eax, [esp + 0x258]
push eax
push edx
call dword [ecx + 0x20]
mov eax, dword [0x809b9c]
mov edx, dword [eax]
push eax
call dword [edx + 0x70]
inc dword [0x809ba0]
mov eax, dword [esp + 0x258]
add esp, 0x270
pop ebx
pop ebp
pop esi
pop edi
ret
push 0x81072c
push 0
call fcn.0040c598
xor eax, eax
add esp, 0x278
pop ebx
pop ebp
pop esi
pop edi
ret