Function at 0x45a910
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x814
mov eax, dword [0x5fe940]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [esp + 0x818], eax
push edi
lea eax, [ebx + ebx*2]
mov edi, ecx
lea esi, [edi + eax*4]
mov eax, dword [esi + 0xe1d4]
test eax, eax
mov dword [esp + 0x14], esi
je 0x45a959
push eax
mov ecx, 0x879bc8
call fcn.0055c7b0
mov dword [esi + 0xe1d4], 0
lea ecx, [ebx + ebx*2 + 0x3876]
mov eax, dword [edi + ecx*4]
test eax, eax
lea edi, [edi + ecx*4]
mov dword [esp + 0x10], edi
je 0x45a97f
push eax
mov ecx, 0x879bc8
call fcn.0055c7b0
mov dword [edi], 0
mov eax, dword [esi + 0xe1dc]
test eax, eax
je 0x45a99e
push eax
mov ecx, 0x879bc8
call fcn.0055c7b0
mov dword [esi + 0xe1dc], 0
mov ecx, 6
mov esi, 0x5bc148
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
mov ecx, 0x39
lea edi, [esp + 0x31]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
mov esi, 0x5bc128
lea edi, [esp + 0x118]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
mov ecx, 0x38
lea edi, [esp + 0x135]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 6
mov esi, 0x5bc10c
lea edi, [esp + 0x218]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
mov ecx, 0x39
lea edi, [esp + 0x231]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
mov esi, 0x5bc0f0
lea edi, [esp + 0x318]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov ecx, 0x39
lea edi, [esp + 0x334]
rep stosd dword es:[edi], eax
mov ecx, 6
mov esi, 0x5bc0d4
lea edi, [esp + 0x418]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x39
lea edi, [esp + 0x432]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x618]
mov ecx, 7
mov esi, 0x5bc0b8
lea edi, [esp + 0x518]
rep movsd dword es:[edi], dword [esi]
push edx
xor eax, eax
mov ecx, 0x39
lea edi, [esp + 0x538]
push 0x200
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str.equip
call fcn.00436a80
mov esi, ebx
imul esi, esi, 0xbec
lea edi, [esi + 0x67e24c]
add esp, 4
mov ecx, edi
call fcn.00407310
test al, al
jne 0x45aabb
mov dword [0], 1
mov al, byte [edi + 0xc]
mov cl, byte [edi + 4]
mov dl, byte [edi + 5]
xor cl, al
xor dl, al
mov byte [esp + 0xc], cl
mov cl, byte [edi + 6]
mov byte [esp + 0xd], dl
mov dl, byte [edi + 7]
xor cl, al
xor dl, al
mov byte [esp + 0xe], cl
mov byte [esp + 0xf], dl
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x45ab40
mov eax, dword [0x6508a4]
imul ebx, ebx, 0x4ac
mov cl, byte [ebx + eax + 0x3ac]
test cl, cl
je 0x45ab40
lea ecx, [edi + 0x20]
call fcn.00409160
test eax, eax
push 0
push 1
push 1
jg 0x45ab32
mov eax, dword [esi + 0x67d94c]
shl eax, 8
lea ecx, [esp + eax + 0x24]
push ecx
mov ecx, 0x879bc8
call fcn.0055cf20
mov edx, dword [esp + 0x10]
mov dword [edx], eax
jmp 0x45ab64
mov eax, dword [0x6508a4]
lea ecx, [ebx + eax + 0x3ac]
jmp 0x45ab1f
mov eax, dword [esi + 0x67d94c]
push 0
push 1
shl eax, 8
push 1
lea eax, [esp + eax + 0x24]
push eax
mov ecx, 0x879bc8
call fcn.0055cf20
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
lea esi, [esi + 0x67e35c]
mov ecx, esi
call fcn.00407310
test al, al
jne 0x45ab7f
mov dword [0], 1
mov al, byte [esi + 0xc]
mov dl, byte [esi + 4]
mov cl, byte [esi + 5]
xor dl, al
xor cl, al
mov byte [esp + 0xc], dl
mov dl, byte [esi + 6]
mov byte [esp + 0xd], cl
mov cl, byte [esi + 7]
xor dl, al
xor cl, al
mov byte [esp + 0xe], dl
mov byte [esp + 0xf], cl
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45abe7
mov edx, dword [0x6508a4]
imul eax, eax, 0x4ac
mov cl, byte [eax + edx + 0x3ac]
test cl, cl
lea eax, [eax + edx + 0x3ac]
je 0x45abe7
push 0
push 1
push 1
push eax
mov ecx, 0x879bc8
call fcn.0055cf20
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0xe1dc], eax
lea edx, [esp + 0x618]
push edx
call fcn.00436a80
mov ecx, dword [esp + 0x820]
add esp, 4
call fcn.005900c7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4