Function at 0x42d3b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8e0
push ebx
push esi
push edi
lea edi, [ebp - 0x8e0]
mov ecx, 0x238
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x400], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x3ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x804], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x803]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x844], 0
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x843]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x878], 0
mov dword [ebp - 0x87c], 0
mov byte [ebp - 0x8a0], 0
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x89f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, esp
push 0x400
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp esi, esp
call fcn.00457ec0
lea ecx, [ebp - 0x86c]
push ecx
lea edx, [ebp - 0x868]
push edx
push 0x82
push 0x4eddd4
call fcn.0043f7a0
add esp, 0x10
mov eax, dword [ebp - 0x86c]
xor edx, edx
mov ecx, 6
div ecx
mov dword [ebp - 0x874], eax
mov edx, dword [ebp - 0x874]
shl edx, 5
add edx, 0x10
mov dword [ebp - 0x880], edx
mov eax, dword [ebp - 0x880]
push eax
call fcn.00458f40
add esp, 4
mov dword [ebp - 0x87c], eax
mov ecx, dword [ebp - 0x880]
push ecx
push 0
mov edx, dword [ebp - 0x87c]
push edx
call fcn.00457a30
add esp, 0xc
mov dword [ebp - 0x870], 0
jmp 0x42d4f0
mov eax, dword [ebp - 0x870]
add eax, 1
mov dword [ebp - 0x870], eax
mov ecx, dword [ebp - 0x870]
cmp ecx, dword [ebp - 0x874]
jge 0x42d5da
mov edx, dword [ebp - 0x870]
imul edx, edx, 6
mov eax, dword [ebp - 0x868]
add eax, edx
mov dword [ebp - 0x878], eax
push 0x20
push 0
lea ecx, [ebp - 0x864]
push ecx
call fcn.00457a30
add esp, 0xc
push 0x40
push 0
lea edx, [ebp - 0x844]
push edx
call fcn.00457a30
add esp, 0xc
mov eax, dword [ebp - 0x878]
xor ecx, ecx
mov cl, byte [eax + 5]
push ecx
mov edx, dword [ebp - 0x878]
xor eax, eax
mov al, byte [edx + 4]
push eax
mov ecx, dword [ebp - 0x878]
xor edx, edx
mov dl, byte [ecx + 3]
push edx
mov eax, dword [ebp - 0x878]
xor ecx, ecx
mov cl, byte [eax + 2]
push ecx
mov edx, dword [ebp - 0x878]
xor eax, eax
mov al, byte [edx + 1]
push eax
mov ecx, dword [ebp - 0x878]
xor edx, edx
mov dl, byte [ecx]
push edx
push str._02X_02X_02X_02X_02X_02X
lea eax, [ebp - 0x864]
push eax
call fcn.00457b10
add esp, 0x20
lea ecx, [ebp - 0x864]
push ecx
push 0x40
lea edx, [ebp - 0x844]
push edx
call fcn.0042c170
add esp, 0xc
push 0x20
lea eax, [ebp - 0x844]
push eax
mov ecx, dword [ebp - 0x870]
shl ecx, 5
mov edx, dword [ebp - 0x87c]
add edx, ecx
push edx
call fcn.004576f0
add esp, 0xc
jmp 0x42d4e1
cmp dword [ebp - 0x868], 0
je 0x42d610
mov eax, dword [ebp - 0x868]
push eax
call fcn.00459980
add esp, 4
mov dword [ebp - 0x868], 0
mov dword [ebp - 0x878], 0
mov dword [ebp - 0x86c], 0
lea ecx, [ebp - 0x86c]
push ecx
lea edx, [ebp - 0x868]
push edx
mov eax, dword [ebp - 0x880]
push eax
mov ecx, dword [ebp - 0x87c]
push ecx
call fcn.0043f860
add esp, 0x10
lea edx, [ebp - 0x8a0]
push edx
call fcn.0042d340
add esp, 4
lea eax, [ebp - 0x8a0]
push eax
push 0x4e2a7c
lea ecx, [ebp - 0x400]
push ecx
push str._s_s_s
lea edx, [ebp - 0x804]
push edx
call fcn.00457b10
add esp, 0x14
push 0x4e27c8
lea eax, [ebp - 0x804]
push eax
call fcn.00458730
add esp, 8
mov dword [ebp - 0x404], eax
mov ecx, dword [ebp - 0x404]
push ecx
mov edx, dword [ebp - 0x86c]
push edx
push 1
mov eax, dword [ebp - 0x868]
push eax
call fcn.00458b60
add esp, 0x10
mov ecx, dword [ebp - 0x404]
push ecx
call fcn.00458a80
add esp, 4
cmp dword [ebp - 0x868], 0
je 0x42d6d4
mov edx, dword [ebp - 0x868]
push edx
call fcn.00459980
add esp, 4
mov dword [ebp - 0x868], 0
cmp dword [ebp - 0x87c], 0
je 0x42d6f6
mov eax, dword [ebp - 0x87c]
push eax
call fcn.00459980
add esp, 4
mov dword [ebp - 0x87c], 0
pop edi
pop esi
pop ebx
add esp, 0x8e0
cmp ebp, esp
call fcn.00457ec0
mov esp, ebp
pop ebp
ret