Function at 0x442860
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 [0x5d9240], 0
jne 0x4428f3
mov dword [0x5d9240], 1
lea ecx, [esp]
push 0x208
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [esp]
mov edx, 0x8084a8
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 0x4428a2
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x442ac4
push 0x8084b4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x801d58], eax
push 0x8084c4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x801d5c], eax
push 0x8084d8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x801d60], eax
mov ecx, dword [0x58b9b0]
mov dword [esp + 0x25c], ecx
mov esi, dword [0x58b9b4]
mov dword [esp + 0x260], esi
mov edi, dword [0x58b9b8]
mov dword [esp + 0x264], edi
mov ecx, dword [0x58b9bc]
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 [0x801d58]
lea esi, [esp + 0x208]
xor ecx, ecx
push ecx
push ecx
push ebx
push esi
call dword [0x801d5c]
test eax, eax
je 0x442a2a
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 [0x801d60]
test eax, eax
je 0x442a4a
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 0x801d50
push eax
push ecx
call dword [ebx]
test eax, eax
je 0x442a74
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 [0x801d50]
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x58]
mov edx, dword [0x801d50]
mov ecx, dword [edx]
lea eax, [esp + 0x258]
push eax
push edx
call dword [ecx + 0x20]
mov eax, dword [0x801d50]
mov edx, dword [eax]
push eax
call dword [edx + 0x70]
inc dword [0x801d54]
mov eax, dword [esp + 0x258]
add esp, 0x270
pop ebx
pop ebp
pop esi
pop edi
ret
push 0x8084e8
push 0
call fcn.0040c5ac
xor eax, eax
add esp, 0x278
pop ebx
pop ebp
pop esi
pop edi
ret