Function at 0x56966c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
test dl, dl
je 0x56969e
add esp, 0xfffffff0
call fcn.00404100
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, 0x5ad8c0
xor eax, eax
push ebp
push 0x569dfb
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.0046726c
mov byte [ebx + 0x1f8], 1
mov eax, dword [ebx + 0x22c]
mov byte [eax + 0x1f8], 1
mov eax, dword [ebx + 0x28c]
mov byte [eax + 0x1f8], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x1f8], 1
mov eax, dword [ebx + 0x2e8]
mov eax, dword [eax + 0x168]
mov edx, 0x569e2c
call fcn.005922f4
mov eax, dword [ebx + 0x2a0]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x2b0]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x2d8]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x29c]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x2ec]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x294]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x2ac]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x290]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x2a8]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov dl, 1
mov eax, dword [0x41b50c]
call fcn.00403d58
mov dword [ebx + 0x32c], eax
mov dl, 1
mov eax, dword [0x41b50c]
call fcn.00403d58
mov dword [0x5ad8b0], eax
mov dl, 1
mov eax, dword [0x41b50c]
call fcn.00403d58
mov dword [0x5ad8b4], eax
mov dl, 1
mov eax, dword [0x41b50c]
call fcn.00403d58
mov dword [ebx + 0x330], eax
mov eax, dword [ebx + 0x294]
mov edx, 0x10
call fcn.004dd730
mov eax, dword [ebx + 0x2ac]
mov edx, 0x14
call fcn.004dd730
push 0xffffff
push 0xff000011
mov edx, dword [ebx + 0x2a0]
xor ecx, ecx
mov eax, ebx
call fcn.0056cf7c
push 0xffffff
push 0xff000011
mov edx, dword [ebx + 0x2d8]
xor ecx, ecx
mov eax, ebx
call fcn.0056cf7c
push 0xffffff
push 0xff000011
mov edx, dword [ebx + 0x2b0]
xor ecx, ecx
mov eax, ebx
call fcn.0056cf7c
xor eax, eax
mov dword [ebx + 0x2f0], eax
mov byte [ebx + 0x1f8], 1
mov eax, dword [ebx + 0x24c]
mov byte [eax + 0x1f8], 1
mov eax, dword [ebx + 0x278]
mov byte [eax + 0x1f8], 1
mov eax, dword [ebx + 0x264]
mov byte [eax + 0x1f8], 1
mov eax, dword [ebx + 0x280]
mov byte [eax + 0x1f8], 1
mov eax, dword [ebx + 0x244]
mov eax, dword [eax + 0x168]
mov edx, 0x569e48
call fcn.005922f4
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x168]
mov edx, 0x569e68
call fcn.005922f4
mov eax, dword [ebx + 0x23c]
mov eax, dword [eax + 0x168]
mov edx, 0x569e84
call fcn.005922f4
mov eax, dword [ebx + 0x238]
mov eax, dword [eax + 0x168]
mov edx, 0x569e9c
call fcn.005922f4
mov eax, dword [ebx + 0x2bc]
mov eax, dword [eax + 0x168]
mov edx, 0x569e9c
call fcn.005922f4
mov eax, dword [ebx + 0x2b8]
mov eax, dword [eax + 0x168]
mov edx, 0x569e9c
call fcn.005922f4
mov eax, dword [ebx + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x284]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x260]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x258]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x250]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x26c]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x230]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x240]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x2c4]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x2c0]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x2d4]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x2e0]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x2e4]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x26c]
mov edi, dword [eax + 0x68]
mov eax, edi
call fcn.0042af1c
mov edx, eax
add edx, 3
mov eax, edi
call fcn.0042af38
mov eax, dword [ebx + 0x2e0]
mov edi, dword [eax + 0x68]
mov eax, edi
call fcn.0042af1c
mov edx, eax
add edx, 3
mov eax, edi
call fcn.0042af38
mov eax, dword [ebx + 0x284]
mov eax, dword [eax + 0x68]
mov edx, 0x757575
call fcn.0042ac98
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x68]
mov edx, 0x67dd
call fcn.0042ac98
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x68]
mov edx, 0x8000
call fcn.0042ac98
mov eax, dword [ebx + 0x240]
mov eax, dword [eax + 0x68]
mov edx, 0xbf7b0b
call fcn.0042ac98
mov dl, 1
mov eax, dword [0x41b50c]
call fcn.00403d58
mov dword [ebx + 0x2f4], eax
mov dl, 1
mov eax, dword [0x41b50c]
call fcn.00403d58
mov dword [ebx + 0x2f8], eax
mov dl, 1
mov eax, dword [0x41b50c]
call fcn.00403d58
mov dword [ebx + 0x340], eax
mov eax, dword [ebx + 0x284]
mov edx, dword [eax + 0x38]
mov dword [0x5ad8d4], edx
mov edx, dword [eax + 0x3c]
mov dword [0x5ad8d8], edx
mov eax, dword [ebx + 0x284]
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], 0x56badc
mov eax, dword [ebx + 0x27c]
mov edx, dword [eax + 0x38]
mov dword [0x5ad8dc], edx
mov edx, dword [eax + 0x3c]
mov dword [0x5ad8e0], edx
mov eax, dword [ebx + 0x27c]
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], 0x56bba0
mov dl, 1
mov eax, dword [0x41b50c]
call fcn.00403d58
mov dword [ebx + 0x33c], eax
mov dl, 1
mov eax, dword [0x54cdb8]
call fcn.0054ce14
mov dword [0x5ad8e4], eax
mov dl, 1
mov eax, dword [0x41b50c]
call fcn.00403d58
mov dword [0x5ad8e8], eax
mov dl, 1
mov eax, dword [0x41b50c]
call fcn.00403d58
mov dword [0x5ad8ec], eax
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x105]
call fcn.0040d2f0
mov edx, dword [ebp - 0x10c]
mov eax, 0x5ad8f4
call fcn.00404d08
lea edx, [ebp - 0x110]
mov eax, dword [0x5ad8f4]
call fcn.00411410
mov edx, dword [ebp - 0x110]
mov eax, 0x5ad8f4
mov ecx, 0x569eb4
call fcn.00404fc0
mov eax, dword [0x5ad8f4]
call fcn.0040ca74
push 0x569ebc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x5ad8fc], eax
cmp dword [0x5ad8fc], 0
je 0x569bbe
push 0x569ecc
mov eax, dword [0x5ad8fc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5ad8f8], eax
mov byte [0x5ad904], 0
mov byte [0x5ad90c], 1
xor eax, eax
mov dword [0x5ad914], eax
mov dl, 1
mov eax, dword [0x41b50c]
call fcn.00403d58
mov dword [0x5ad908], eax
mov dl, 1
mov eax, dword [0x41bc60]
call fcn.00403d58
mov dword [0x5ad8f0], eax
mov eax, dword [0x5ad8f0]
mov byte [eax + 0x1d], 0
mov eax, dword [ebx + 0x284]
mov dword [0x5ad910], eax
lea edx, [ebp - 0x114]
mov eax, dword [ebx + 0x68]
call fcn.0042aea8
mov eax, dword [ebp - 0x114]
push eax
lea edx, [ebp - 0x118]
mov eax, dword [0x5a83d0]
call fcn.004070b8
mov edx, dword [ebp - 0x118]
pop eax
call fcn.004050c0
jne 0x569c8c
mov eax, dword [ebx + 0x260]
mov edx, 7
call fcn.0044cbdc
mov eax, dword [ebx + 0x25c]
mov edx, 7
call fcn.0044cbdc
mov eax, dword [ebx + 0x258]
mov edx, 7
call fcn.0044cbdc
mov eax, dword [ebx + 0x254]
mov edx, 7
call fcn.0044cbdc
mov eax, dword [ebx + 0x250]
mov edx, 7
call fcn.0044cbdc
mov dword [esi], 0x161
mov dword [esi + 4], 0x1b1
mov dword [esi + 8], 0x1f9
mov dword [esi + 0xc], 0x2bd
mov dword [esi + 0x10], 0x302
mov eax, dword [ebx + 0x284]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.0043dc1c
mov edx, dword [esi]
call fcn.0043db74
mov eax, dword [ebx + 0x284]
mov eax, dword [eax + 0x208]
mov edx, 1
call fcn.0043dc1c
mov edx, dword [esi + 4]
sub edx, dword [esi]
call fcn.0043db74
mov eax, dword [ebx + 0x284]
mov eax, dword [eax + 0x208]
mov edx, 2
call fcn.0043dc1c
mov edx, dword [esi + 8]
sub edx, dword [esi + 4]
call fcn.0043db74
mov eax, dword [ebx + 0x284]
mov eax, dword [eax + 0x208]
mov edx, 3
call fcn.0043dc1c
mov edx, dword [esi + 0xc]
sub edx, dword [esi + 8]
call fcn.0043db74
mov eax, dword [ebx + 0x284]
mov eax, dword [eax + 0x208]
mov edx, 4
call fcn.0043dc1c
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
call fcn.0043db74
mov eax, dword [ebx + 0x27c]
mov eax, dword [eax + 0x20c]
xor edx, edx
call fcn.004666f8
mov byte [ebx + 0x321], 0
mov byte [ebx + 0x322], 0
mov byte [ebx + 0x323], 0
mov byte [ebx + 0x324], 0
mov eax, dword [ebx + 0x228]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x220]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov eax, dword [ebx + 0x224]
mov eax, dword [eax + 0x68]
call fcn.00592ad0
mov edx, ebx
mov eax, ebx
call fcn.00569100
mov eax, dword [ebx + 0x288]
mov dl, 1
call fcn.00438c2c
mov eax, dword [ebx + 0x284]
mov byte [eax + 0x1f8], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x569e02
lea eax, [ebp - 0x118]
call fcn.00404cb4
lea eax, [ebp - 0x114]
call fcn.00404cb4
lea eax, [ebp - 0x110]
mov edx, 2
call fcn.00404cd8
ret