Function at 0x473330
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
push ebp
mov eax, 0xffffffff
mov dword [ecx + 4], ebx
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x87c], ebx
mov dword [ecx], 0x534de8
mov ebp, ecx
push ebx
mov dword [0x6e3404], ebx
mov dword [0x6c3cec], ebx
mov byte [0x6c3cf8], bl
mov dword [0x6e33f0], ebx
call fcn.004793f0
push ebx
mov ecx, ebp
call fcn.00479430
push ebx
mov ecx, ebp
call fcn.00479440
push 1
mov ecx, ebp
call fcn.00479450
push ebx
mov ecx, ebp
call fcn.00479470
push 8
mov ecx, ebp
push 0x60
push 0x60
call fcn.00479490
push ebx
mov ecx, ebp
call fcn.004794c0
push ebx
mov ecx, ebp
call fcn.004794d0
push 1
mov ecx, ebp
call fcn.004794e0
push ebx
mov ecx, ebp
call fcn.004794f0
push 1
mov ecx, ebp
call fcn.00479500
push 1
mov ecx, ebp
call fcn.00479510
push ebx
mov ecx, ebp
call fcn.00479530
push ebx
mov ecx, ebp
call fcn.00479560
push 0
mov ecx, ebp
push ebx
call fcn.00479540
push 1
mov ecx, ebp
push ebx
call fcn.00479570
inc ebx
cmp ebx, 9
jl 0x4733e7
push 4
mov ecx, ebp
call fcn.00479520
push 0x543050
mov ecx, ebp
xor ebx, ebx
call fcn.00479400
mov eax, dword [esp + 0x14]
mov dword [0x54738c], ebp
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x18], 1
mov dword [ebp + 0x24], ebx
mov dword [0x6e340c], ebx
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x54], ebx
mov word [ebp + 0x68], bx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x88], ebx
mov dword [ebp + 0x8c], ebx
mov dword [ebp + 0x74], ebx
mov dword [ebp + 0x7c], ebx
mov dword [ebp + 0x80], ebx
mov dword [ebp + 0x78], ebx
mov dword [ebp + 0x90], ebx
mov dword [ebp + 0x94], ebx
mov dword [ebp + 0x98], ebx
mov dword [ebp + 0x9c], ebx
mov dword [ebp + 0xa0], ebx
mov dword [ebp + 0xa4], ebx
mov word [ebp + 0xb8], bx
mov dword [ebp + 0xa8], ebx
lea ecx, [ebp + 0xc0]
mov dword [ebp + 0xac], ebx
push ecx
mov edi, str.language.dll
push 0x105
mov dword [ebp + 0xbc], ebx
mov byte [ebp + 0x50], 2
mov dword [ebp + 0x84], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, 0xffffffff
sub eax, eax
mov ecx, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
lea edi, [ebp + 0x1c5]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [ebp + 0x2d4], dx
mov dword [ebp + 0x2cc], ebx
mov word [ebp + 0x2d6], dx
mov byte [ebp + 0x2dc], bl
mov word [ebp + 0x2d8], dx
mov dword [ebp + 0x3dc], ebx
mov dword [ebp + 0x3e0], ebx
mov dword [ebp + 0x3e4], ebx
mov dword [ebp + 0x3e8], ebx
mov dword [ebp + 0x3ec], ebx
mov dword [ebp + 0x3f0], ebx
mov dword [ebp + 0x3f4], ebx
mov dword [ebp + 0x3f8], ebx
mov dword [ebp + 0x3fc], ebx
lea ecx, [ebp + 0x400]
mov eax, 0x1e
mov dword [ebp + 0x2d0], 1
mov word [ebp + 0x2da], 1
mov dword [ebp + 0x7cc], ebx
mov dword [ecx], ebx
add ecx, 0x20
dec eax
mov dword [ecx - 0x1c], ebx
mov dword [ecx - 0x18], ebx
mov dword [ecx - 0xc], ebx
mov dword [ecx - 8], ebx
mov dword [ecx - 4], ebx
mov dword [ecx - 0x14], ebx
mov dword [ecx - 0x10], ebx
jne 0x473580
mov dword [ebp + 0x880], 1
xor edx, edx
mov dword [ebp + 0x7c0], edx
mov dword [ebp + 0x7c4], edx
mov dword [ebp + 0x7c8], edx
mov dword [0x547328], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x410]
mov dword [0x6c3ce8], ecx
mov dword [0x6e33fc], edx
mov dword [0x6e3424], edx
mov dword [0x6e342c], edx
lea edi, [ebp + 0x884]
xor eax, eax
mov ecx, 9
mov dword [0x6e3414], edx
mov dword [0x6e341c], edx
mov dword [0x6e33ec], edx
mov dword [ebp + 8], edx
rep stosd dword es:[edi], eax
mov dword [ebp + 0x8cc], edx
mov dword [ebp + 0x8d8], edx
mov ecx, ebp
mov dword [ebp + 0x8dc], edx
mov dword [ebp + 0x8d0], 1
mov dword [ebp + 0x8d4], 0x3f800000
mov dword [ebp + 0x8e0], edx
call fcn.00476300
test eax, eax
jne 0x47364d
mov dword [ebp + 0x40], 0xe
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
ret 8
mov eax, dword [ebp + 0x90]
mov ecx, ebp
mov dword [0x6e3414], eax
call fcn.00476390
test eax, eax
jne 0x473673
mov dword [ebp + 0x40], 0xf
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
ret 8
mov eax, dword [ebp + 0x88]
mov ecx, dword [esp + 0x18]
mov dword [0x547328], eax
test ecx, ecx
je 0x47369f
mov ecx, ebp
call fcn.004737f0
test eax, eax
jne 0x47369f
mov eax, dword [ebp + 0x40]
test eax, eax
jne 0x47369f
mov dword [ebp + 0x40], 1
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
ret 8