Function at 0x42aed0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x459e00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
test byte [0x45be18], 1
mov edi, 7
mov esi, ecx
mov dword [ebp - 0x284], edi
mov dword [ebp - 0x288], ebx
mov word [ebp - 0x298], ax
jne 0x42af2b
or dword [0x45be18], 1
mov ecx, 0x45bba0
call fcn.0041dc20
push 0x446310
call fcn.00435667
add esp, 4
cmp dword [0x45bcec], ebx
jne 0x42af47
push 0x26
push str.http:__home.br.soft365.com_license.htm
lea ecx, [ebp - 0x298]
call fcn.004028a0
jmp 0x42af81
test byte [0x45be18], 1
jne 0x42af6e
or dword [0x45be18], 1
mov ecx, 0x45bba0
call fcn.0041dc20
push 0x446310
call fcn.00435667
add esp, 4
push 0xffffffffffffffff
push ebx
push 0x45bcdc
lea ecx, [ebp - 0x298]
call fcn.00402570
lea ecx, [ebp - 0x298]
push ecx
mov ecx, dword [esi + 0x838]
call fcn.00431c00
xor edx, edx
test byte [0x45be18], 1
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x218], ebx
mov word [ebp - 0x228], dx
jne 0x42afcf
or dword [0x45be18], 1
mov ecx, 0x45bba0
call fcn.0041dc20
push 0x446310
call fcn.00435667
add esp, 4
cmp dword [0x45bc94], ebx
je 0x42b013
test byte [0x45be18], 1
jne 0x42affe
or dword [0x45be18], 1
mov ecx, 0x45bba0
call fcn.0041dc20
push 0x446310
call fcn.00435667
add esp, 4
push 0xffffffffffffffff
push ebx
push 0x45bc84
lea ecx, [ebp - 0x228]
call fcn.00402570
jmp 0x42b025
push 0x32
push str.http:__www.soft365.com_ad_soft365_AD_20120803.html
lea ecx, [ebp - 0x228]
call fcn.004028a0
mov ecx, dword [esi + 0x83c]
lea eax, [ebp - 0x228]
push eax
call fcn.00431c00
test byte [0x45be18], 1
jne 0x42b05e
or dword [0x45be18], 1
mov ecx, 0x45bba0
call fcn.0041dc20
push 0x446310
call fcn.00435667
add esp, 4
cmp byte [0x45bd74], bl
jne 0x42b0c8
mov ecx, dword [esi + 0x87c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
push ebx
call eax
mov ecx, dword [esi + 0x880]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
push ebx
call eax
mov ecx, dword [esi + 0x884]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
push ebx
call eax
lea ecx, [ebp - 0x244]
push ecx
call fcn.00418ea0
mov ecx, dword [esi + 0x880]
add esp, 4
push eax
call fcn.00430240
mov ebx, 8
cmp dword [ebp - 0x230], ebx
jb 0x42b1f2
mov edx, dword [ebp - 0x244]
push edx
jmp 0x42b1ea
test byte [0x45be18], 1
jne 0x42b0ef
or dword [0x45be18], 1
mov ecx, 0x45bba0
call fcn.0041dc20
push 0x446310
call fcn.00435667
add esp, 4
push 0xffffffffffffffff
push ebx
xor eax, eax
push 0x45bddc
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x268], edi
mov dword [ebp - 0x26c], ebx
mov word [ebp - 0x27c], ax
call fcn.00402570
push 0x206
lea edx, [ebp - 0x20a]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x20c], cx
call fcn.00434d00
add esp, 0xc
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [ebp - 0x26c], 0
mov ebx, 8
je 0x42b167
lea ecx, [ebp - 0x27c]
push ecx
mov ecx, dword [esi + 0x880]
call fcn.00430240
jmp 0x42b1db
xor edx, edx
lea eax, [ebp - 0x20c]
mov word [ebp - 0x244], dx
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x234], 0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42b190
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x244]
call fcn.004028a0
lea ecx, [ebp - 0x244]
push ecx
mov ecx, dword [esi + 0x880]
call fcn.00430240
cmp dword [ebp - 0x230], ebx
jb 0x42b1db
mov edx, dword [ebp - 0x244]
push edx
call fcn.00433949
add esp, 4
cmp dword [ebp - 0x268], ebx
jb 0x42b1f2
mov eax, dword [ebp - 0x27c]
push eax
call fcn.00433949
add esp, 4
push 0xfa
push 0x12c
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov ecx, dword [esi + 0x860]
push 0
mov edi, eax
push edi
push ecx
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov edx, dword [esi + 4]
push 0x3ea
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0x21
push 0x221
push 0x9d
push 0x16
push eax
mov dword [esi + 0x8e8], eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x44ee5c
push 0x20
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0xf
call dword [sym.imp.GDI32.dll_CreateFontW]
push 1
push eax
mov eax, dword [esi + 0x8e8]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x260]
push 0x9a
push ecx
call fcn.00401eb0
mov eax, dword [ebp - 0x260]
add esp, 8
cmp dword [ebp - 0x24c], ebx
jae 0x42b2a6
lea eax, [ebp - 0x260]
mov edx, dword [esi + 0x8e8]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 0x8e8]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x8e8]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [ebp - 0x24c], ebx
jb 0x42b2e7
mov edx, dword [ebp - 0x260]
push edx
call fcn.00433949
add esp, 4
xor esi, esi
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], esi
mov word [ebp - 0x260], ax
cmp edi, esi
je 0x42b30d
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x214], ebx
jb 0x42b324
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.00433949
add esp, 4
pop edi
mov dword [ebp - 0x218], esi
xor edx, edx
cmp dword [ebp - 0x284], ebx
pop esi
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], dx
pop ebx
jb 0x42b357
mov eax, dword [ebp - 0x298]
push eax
call fcn.00433949
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434758
mov esp, ebp
pop ebp
ret