Function at 0x42a080
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x459e00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x294]
mov esi, ecx
push 0x91
push eax
lea ebx, [esi + 0x30]
call fcn.00401eb0
lea ecx, [ebp - 0x278]
push 0x8c
push ecx
call fcn.00401eb0
lea edx, [ebp - 0x25c]
push 0x8d
push edx
call fcn.00401eb0
push 0x206
xor edi, edi
lea ecx, [ebp - 0x20a]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x20c], ax
call fcn.00434d00
add esp, 0x24
push edi
push edi
lea edx, [ebp - 0x20c]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, 0x217
mov dword [ebp - 0x2cc], eax
mov eax, 0x2d
mov dword [ebp - 0x2c4], eax
lea eax, [ebp - 0x2d0]
push eax
mov ecx, 1
lea edx, [edi + 0x14]
push ebx
mov dword [esi + 0x828], edi
mov dword [ebp - 0x2d0], 2
mov dword [ebp - 0x2c8], ecx
mov dword [ebp - 0x2c0], edx
mov dword [ebp - 0x2bc], 5
call fcn.00426c80
add esp, 8
mov dword [esi + 0x82c], eax
test byte [0x45be18], 1
jne 0x42a17f
or dword [0x45be18], 1
mov ecx, 0x45bba0
call fcn.0041dc20
push 0x446310
call fcn.00435667
add esp, 4
push 0xffffffffffffffff
xor ecx, ecx
push edi
mov word [ebp - 0x2b0], cx
push 0x45bbc0
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x29c], 7
mov dword [ebp - 0x2a0], edi
call fcn.00402570
mov eax, 0x32
lea edx, [eax - 0x19]
mov dword [ebp - 0x23c], eax
mov eax, 0x1e0
push 0xffffffffffffffff
mov ecx, 5
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], edx
push edi
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x238], ecx
xor edx, edx
push eax
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x240], 1
mov dword [ebp - 0x22c], 4
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], edi
mov word [ebp - 0x228], dx
call fcn.00402570
cmp dword [ebp - 0x29c], 8
jb 0x42a22f
mov ecx, dword [ebp - 0x2b0]
push ecx
call fcn.00433949
add esp, 4
lea edx, [ebp - 0x240]
push edx
push ebx
call fcn.00426d60
add esp, 8
cmp dword [ebp - 0x214], 8
mov dword [esi + 0x848], eax
jb 0x42a25d
mov eax, dword [ebp - 0x228]
push eax
call fcn.00433949
add esp, 4
mov eax, dword [esi + 0x848]
mov ecx, dword [eax + 0x50]
push 0x1000
push ecx
mov dword [ebp - 0x2b4], eax
call sub.gdiplus.dll_GdipSetStringFormatFlags
cmp eax, edi
je 0x42a284
mov edx, dword [ebp - 0x2b4]
mov dword [edx + 0x54], eax
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [eax + 0x50]
push 5
push ecx
call sub.gdiplus.dll_GdipSetStringFormatTrimming
cmp eax, edi
je 0x42a2a2
mov edx, dword [ebp - 0x2b4]
mov dword [edx + 0x54], eax
test byte [0x45be18], 1
jne 0x42a2c9
or dword [0x45be18], 1
mov ecx, 0x45bba0
call fcn.0041dc20
push 0x446310
call fcn.00435667
add esp, 4
push 0xffffffffffffffff
push edi
xor eax, eax
push 0x45bbdc
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x29c], 7
mov dword [ebp - 0x2a0], edi
mov word [ebp - 0x2b0], ax
call fcn.00402570
mov eax, 0x14
lea edx, [eax + 0xd]
mov ecx, 0x78
mov dword [ebp - 0x238], ecx
push 0xffffffffffffffff
xor ecx, ecx
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x23c], eax
push edi
lea edx, [ebp - 0x2b0]
mov eax, 0x221
mov word [ebp - 0x228], cx
push edx
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x240], 1
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x22c], 2
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], edi
call fcn.00402570
cmp dword [ebp - 0x29c], 8
jb 0x42a379
mov eax, dword [ebp - 0x2b0]
push eax
call fcn.00433949
add esp, 4
lea ecx, [ebp - 0x240]
push ecx
push ebx
call fcn.00426d60
add esp, 8
cmp dword [ebp - 0x214], 8
mov dword [esi + 0x84c], eax
jb 0x42a3a7
mov edx, dword [ebp - 0x228]
push edx
call fcn.00433949
add esp, 4
mov eax, 0x14
mov dword [ebp - 0x2cc], eax
mov eax, 0x226
mov dword [ebp - 0x2c4], eax
mov ecx, 0xc0
lea eax, [esi + 0x85c]
push eax
lea edx, [ecx - 0x2a]
mov dword [ebp - 0x2c8], ecx
mov ecx, dword [esi + 4]
push 0x3e8
mov dword [ebp - 0x2c0], edx
push ecx
lea edx, [ebp - 0x2d0]
push edx
push ebx
mov dword [ebp - 0x2d0], 5
mov dword [ebp - 0x2bc], edi
call fcn.00426df0
add esp, 0x14
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x294]
mov dword [esi + 0x838], eax
xor eax, eax
push ecx
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x29c], 7
mov dword [ebp - 0x2a0], edi
mov word [ebp - 0x2b0], ax
call fcn.00402570
mov eax, 0x14
lea edx, [eax - 5]
mov dword [ebp - 0x23c], eax
mov eax, 0x226
push 0xffffffffffffffff
mov ecx, 0x15c
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], edx
push edi
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x238], ecx
xor edx, edx
push eax
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x240], 1
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], edi
mov word [ebp - 0x228], dx
call fcn.00402570
cmp dword [ebp - 0x29c], 8
jb 0x42a4b9
mov ecx, dword [ebp - 0x2b0]
push ecx
call fcn.00433949
add esp, 4
lea edx, [ebp - 0x240]
push edx
push ebx
call fcn.00426d60
add esp, 8
cmp dword [ebp - 0x214], 8
mov dword [esi + 0x87c], eax
jb 0x42a4e7
mov eax, dword [ebp - 0x228]
push eax
call fcn.00433949
add esp, 4
xor ecx, ecx
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x29c], 7
mov dword [ebp - 0x2a0], edi
mov word [ebp - 0x2b0], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x42a510
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x2b0]
call fcn.004028a0
mov eax, 0x14
mov edx, eax
mov ecx, 0x16d
mov dword [ebp - 0x23c], eax
push 0xffffffffffffffff
mov dword [ebp - 0x238], ecx
mov eax, 0x1ea
push edi
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x234], eax
xor eax, eax
push ecx
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x240], 1
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], edi
mov word [ebp - 0x228], ax
call fcn.00402570
cmp dword [ebp - 0x29c], 8
jb 0x42a5b5
mov edx, dword [ebp - 0x2b0]
push edx
call fcn.00433949
add esp, 4
lea eax, [ebp - 0x240]
push eax
push ebx
call fcn.00426d60
add esp, 8
cmp dword [ebp - 0x214], 8
mov dword [esi + 0x880], eax
jb 0x42a5e3
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.00433949
add esp, 4
mov eax, dword [esi + 0x880]
mov edx, dword [eax + 0x50]
push 0x1000
push edx
mov dword [ebp - 0x2b4], eax
call sub.gdiplus.dll_GdipSetStringFormatFlags
cmp eax, edi
je 0x42a60a
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx + 0x54], eax
mov edx, dword [ebp - 0x2b4]
mov eax, dword [edx + 0x50]
push 5
push eax
call sub.gdiplus.dll_GdipSetStringFormatTrimming
cmp eax, edi
je 0x42a628
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx + 0x54], eax
push 3
xor edx, edx
push 0x44de60
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x29c], 7
mov dword [ebp - 0x2a0], edi
mov word [ebp - 0x2b0], dx
call fcn.004028a0
mov eax, 0x208
mov ecx, 0x16d
mov dword [ebp - 0x23c], eax
push 0xffffffffffffffff
mov dword [ebp - 0x238], ecx
mov eax, 0x37
push edi
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x234], eax
mov edx, 0x14
xor eax, eax
push ecx
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x240], 2
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x22c], 4
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], edi
mov word [ebp - 0x228], ax
call fcn.00402570
cmp dword [ebp - 0x29c], 8
jb 0x42a6d9
mov edx, dword [ebp - 0x2b0]
push edx
call fcn.00433949
add esp, 4
lea eax, [ebp - 0x240]
push eax
push ebx
call fcn.00426d00
add esp, 8
cmp dword [ebp - 0x214], 8
mov dword [esi + 0x884], eax
jb 0x42a707
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.00433949
add esp, 4
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x278]
xor edx, edx
push eax
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x29c], 7
mov dword [ebp - 0x2a0], edi
mov word [ebp - 0x2b0], dx
call fcn.00402570
mov eax, 0x14
lea edx, [eax + 0xa]
mov ecx, 0x208
mov dword [ebp - 0x238], ecx
push 0xffffffffffffffff
xor ecx, ecx
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x23c], eax
push edi
lea edx, [ebp - 0x2b0]
mov eax, 0x90
mov word [ebp - 0x228], cx
push edx
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x240], 2
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x22c], 4
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], edi
call fcn.00402570
cmp dword [ebp - 0x29c], 8
jb 0x42a7b9
mov eax, dword [ebp - 0x2b0]
push eax
call fcn.00433949
add esp, 4
lea ecx, [ebp - 0x240]
push ecx
push ebx
call fcn.00426d00
add esp, 8
cmp dword [ebp - 0x214], 8
mov dword [esi + 0x830], eax
jb 0x42a7e7
mov edx, dword [ebp - 0x228]
push edx
call fcn.00433949
add esp, 4
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x25c]
xor eax, eax
push ecx
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x29c], 7
mov dword [ebp - 0x2a0], edi
mov word [ebp - 0x2b0], ax
call fcn.00402570
mov eax, 0x1b1
mov dword [ebp - 0x23c], eax
mov eax, 0x90
push 0xffffffffffffffff
mov edx, 0x1e
mov ecx, 0x208
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], edx
push edi
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x238], ecx
xor edx, edx
push eax
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x240], 2
mov dword [ebp - 0x22c], 4
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], edi
mov word [ebp - 0x228], dx
call fcn.00402570
mov edi, 8
cmp dword [ebp - 0x29c], edi
jb 0x42a89f
mov ecx, dword [ebp - 0x2b0]
push ecx
call fcn.00433949
add esp, 4
lea edx, [ebp - 0x240]
push edx
push ebx
call fcn.00426d00
add esp, 8
mov dword [esi + 0x834], eax
cmp dword [ebp - 0x214], edi
jb 0x42a8cc
mov eax, dword [ebp - 0x228]
push eax
call fcn.00433949
add esp, 4
mov ecx, 0x186
mov dword [ebp - 0x2c8], ecx
mov eax, 0x14
push 0x8f0700
lea ecx, [ebp - 0x2d0]
push ecx
mov edx, 0x226
lea edi, [eax + 5]
push ebx
mov dword [ebp - 0x2d0], 3
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x2c4], edx
mov dword [ebp - 0x2c0], edi
mov dword [ebp - 0x2bc], 1
call fcn.00427650
lea edx, [esi + 0x86c]
mov dword [ebp - 0x2bc], edi
add esp, 0xc
mov dword [esi + 0x868], eax
mov edi, 0x1a4
mov dword [ebp - 0x2b4], 0x45bcf8
mov dword [ebp - 0x2b8], edx
test byte [0x45be18], 1
jne 0x42a96d
or dword [0x45be18], 1
mov ecx, 0x45bba0
call fcn.0041dc20
push 0x446310
call fcn.00435667
add esp, 4
mov eax, dword [ebp - 0x2b4]
mov eax, dword [eax]
mov ecx, 0x14
mov dword [ebp - 0x2a8], ecx
push eax
mov ecx, 0x226
lea edx, [ebp - 0x2ac]
mov dword [ebp - 0x2a0], ecx
mov ecx, dword [ebp - 0x2bc]
push edx
push ebx
mov dword [ebp - 0x2ac], 3
mov dword [ebp - 0x2a4], edi
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 0x298], 1
call fcn.00427650
mov ecx, dword [ebp - 0x2b8]
add dword [ebp - 0x2b4], 4
mov dword [ecx], eax
add edi, 0x1e
add ecx, 4
add esp, 0xc
mov dword [ebp - 0x2b8], ecx
cmp edi, 0x1fe
jl 0x42a946
mov eax, 0x96
lea ecx, [eax + 0xf]
lea edi, [eax + 0x78]
mov dword [ebp - 0x2a8], eax
lea eax, [esi + 0x860]
push eax
mov edx, 0x140
mov dword [ebp - 0x2a4], ecx
mov ecx, dword [esi + 4]
push 0x3e9
mov dword [ebp - 0x2a0], edx
push ecx
lea edx, [ebp - 0x2ac]
push edx
push ebx
mov dword [ebp - 0x2ac], 5
mov dword [ebp - 0x29c], edi
mov dword [ebp - 0x298], 0
call fcn.00426df0
add esp, 0x14
push 1
mov dword [esi + 0x83c], eax
push 0
lea eax, [ebp - 0x2b0]
mov edi, 0x14
push eax
mov ecx, esi
mov dword [ebp - 0x2bc], edi
call fcn.00413cc0
mov eax, 0x1ae
mov dword [ebp - 0x238], eax
mov ecx, edi
mov dword [ebp - 0x23c], edi
mov eax, 0x226
push 0xffffffffffffffff
xor edi, edi
mov dword [ebp - 0x234], eax
push edi
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x230], ecx
xor edx, edx
push eax
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x240], 1
mov dword [ebp - 0x22c], 2
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], edi
mov word [ebp - 0x228], dx
call fcn.00402570
cmp dword [ebp - 0x29c], 8
jb 0x42aae8
mov ecx, dword [ebp - 0x2b0]
push ecx
call fcn.00433949
add esp, 4
lea eax, [ebp - 0x240]
push eax
xor edx, edx
push ebx
mov dword [ebp - 0x29c], 7
mov dword [ebp - 0x2a0], edi
mov word [ebp - 0x2b0], dx
call fcn.00426d60
add esp, 8
cmp dword [ebp - 0x214], 8
mov dword [esi + 0x850], eax
jb 0x42ab2f
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.00433949
add esp, 4
cmp ebx, edi
je 0x42ab3e
lea edx, [ebx + 0x44]
mov dword [ebp - 0x2b8], edx
jmp 0x42ab44
mov dword [ebp - 0x2b8], edi
push 0x6c
call fcn.0043429d
add esp, 4
cmp eax, edi
je 0x42ab5b
mov ecx, eax
call fcn.0042fcc0
mov edi, eax
mov eax, dword [ebp - 0x2b8]
mov edx, dword [edi]
mov dword [edi + 0x28], eax
mov eax, 0x14
mov dword [edi + 8], eax
mov eax, 0x1c7
mov dword [edi + 0xc], eax
mov eax, 0x226
mov dword [edi + 0x10], eax
mov eax, 0x17
mov dword [edi + 0x14], eax
mov eax, dword [edx + 0x14]
push 1
mov ecx, edi
mov dword [edi + 0x2c], ebx
call eax
push edi
mov ecx, ebx
call fcn.004307d0
push 0
push 0
lea ecx, [ebp - 0x2b0]
mov dword [esi + 0x840], edi
push ecx
mov edi, 0x14
mov ecx, esi
mov dword [ebp - 0x2bc], edi
call fcn.00413cc0
mov eax, 0x1ea
mov edx, edi
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x238], eax
push 0xffffffffffffffff
xor edi, edi
mov eax, 0x226
push edi
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x234], eax
xor eax, eax
push ecx
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x240], 1
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x22c], 2
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], edi
mov word [ebp - 0x228], ax
call fcn.00402570
cmp dword [ebp - 0x29c], 8
jb 0x42ac3d
mov edx, dword [ebp - 0x2b0]
push edx
call fcn.00433949
add esp, 4
lea ecx, [ebp - 0x240]
push ecx
xor eax, eax
push ebx
mov dword [ebp - 0x29c], 7
mov dword [ebp - 0x2a0], edi
mov word [ebp - 0x2b0], ax
call fcn.00426d60
add esp, 8
cmp dword [ebp - 0x214], 8
mov dword [esi + 0x854], eax
jb 0x42ac84
mov edx, dword [ebp - 0x228]
push edx
call fcn.00433949
add esp, 4
cmp ebx, edi
je 0x42ac93
lea eax, [ebx + 0x44]
mov dword [ebp - 0x2b8], eax
jmp 0x42ac99
mov dword [ebp - 0x2b8], edi
push 0x6c
mov dword [ebp - 0x2c0], 0x226
call fcn.0043429d
add esp, 4
cmp eax, edi
je 0x42acba
mov ecx, eax
call fcn.0042fcc0
mov edi, eax
mov edx, dword [ebp - 0x2c0]
mov ecx, dword [ebp - 0x2b8]
mov eax, 0x14
mov dword [edi + 8], eax
mov eax, 0x203
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], edx
mov eax, 0x17
mov dword [edi + 0x14], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
mov dword [edi + 0x28], ecx
push 1
mov ecx, edi
mov dword [edi + 0x2c], ebx
call edx
push edi
mov ecx, ebx
call fcn.004307d0
lea eax, [esi + 0x888]
mov dword [esi + 0x844], edi
mov dword [esi + 0x878], 0
mov edi, 0xa5
mov dword [ebp - 0x2b8], eax
jmp 0x42ad20
sub esp, 0x1c
mov ecx, esp
xor edx, edx
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x44dadc
mov word [ecx], dx
call fcn.004028a0
mov eax, 0x14
mov dword [ebp - 0x2a8], eax
mov eax, 0x212
mov dword [ebp - 0x2a0], eax
mov eax, 0x19
mov dword [ebp - 0x29c], eax
push 6
lea eax, [ebp - 0x2ac]
push eax
push ebx
mov dword [ebp - 0x2ac], 3
mov dword [ebp - 0x2a4], edi
mov dword [ebp - 0x298], 1
call fcn.004270c0
mov ecx, dword [ebp - 0x2b8]
mov dword [ecx], eax
add ecx, 4
add edi, 0x1e
add esp, 0x28
mov dword [ebp - 0x2b8], ecx
cmp edi, 0x1d1
jl 0x42ad20
mov edi, 0x8c
add esi, 0x8b0
jmp 0x42adc0
sub esp, 0x1c
mov ecx, esp
xor edx, edx
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x44dadc
mov word [ecx], dx
call fcn.004028a0
mov eax, 0xd2
mov dword [ebp - 0x2a8], eax
mov eax, 0x15e
mov dword [ebp - 0x2a0], eax
mov eax, 0x19
mov dword [ebp - 0x29c], eax
push 6
lea eax, [ebp - 0x2ac]
push eax
push ebx
mov dword [ebp - 0x2ac], 3
mov dword [ebp - 0x2a4], edi
mov dword [ebp - 0x298], 1
call fcn.004270c0
mov dword [esi], eax
add edi, 0x1e
add esp, 0x28
add esi, 4
cmp edi, 0x140
jl 0x42adc0
mov esi, 8
cmp dword [ebp - 0x248], esi
jb 0x42ae5c
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.00433949
add esp, 4
xor edi, edi
xor edx, edx
mov ebx, 7
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x24c], edi
mov word [ebp - 0x25c], dx
cmp dword [ebp - 0x264], esi
jb 0x42ae8f
mov eax, dword [ebp - 0x278]
push eax
call fcn.00433949
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x268], edi
mov word [ebp - 0x278], cx
cmp dword [ebp - 0x280], esi
jb 0x42aebb
mov edx, dword [ebp - 0x294]
push edx
call fcn.00433949
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434758
mov esp, ebp
pop ebp
ret