Function at 0x412234
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
sub esp, 0x120
lea ebp, [esp - 4]
mov eax, dword [0x46f570]
xor eax, ebp
mov dword [ebp + 0x120], eax
push 0xb0
mov eax, 0x4552c5
call fcn.0043bb65
lea eax, [ebp - 0x78]
push eax
mov edi, ecx
call dword [sym.imp.Duilib.dll_public:_static_class_DuiLib::CDuiString___cdecl_DuiLib::CPaintManagerUI::GetInstancePath_void_]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xbc]
mov dword [esp], str.SetupConfig.ini
push ecx
mov ecx, eax
call dword [sym.imp.Duilib.dll_public:_class_DuiLib::CDuiString___thiscall_DuiLib::CDuiString::operator_char_const__]
mov ecx, eax
mov byte [ebp - 4], 1
call dword [sym.imp.Duilib.dll_public:_char_const____thiscall_DuiLib::CDuiString::operator_char_const__void_const]
push eax
lea ecx, [ebp - 0x24]
call fcn.004017bc
mov byte [ebp - 4], 3
mov esi, dword [sym.imp.Duilib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [ebp - 0xbc]
call esi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
call esi
push dword [ebp - 0x24]
lea ecx, [ebp - 0x2c]
push str.CustomName
call fcn.0040c4d9
pop ecx
pop ecx
push 0x46005c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.004017bc
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], ebx
je 0x4122f3
push eax
lea eax, [ebp - 0x18]
push 0x45e3a0
push eax
call fcn.004056dc
add esp, 0xc
call fcn.00419691
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401445
lea eax, [ebp - 0x14]
push eax
push 0x1a
push ebx
mov byte [ebp - 4], 7
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x41233c
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp + 0x1c]
push str.MicrosoftInternet_ExplorerQuick_Launch
push eax
call fcn.0043a8c0
pop ecx
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040135e
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], ebx
jne 0x4123a0
lea ecx, [eax - 0x10]
call fcn.00401212
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401212
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00401212
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00401212
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x120]
xor ecx, ebp
call fcn.0043526a
add ebp, 0x124
leave
ret 4
mov esi, 0x45e28f
push esi
lea ecx, [ebp - 0x10]
call fcn.004017bc
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.004017bc
push str.iconmain.ico
add edi, 0x29c
lea eax, [ebp - 0x30]
push edi
push eax
mov byte [ebp - 4], 9
call fcn.004055a8
mov esi, str.RuijieSupplicant.exe
push esi
lea eax, [ebp - 0x14]
push edi
push eax
mov byte [ebp - 4], 0xa
call fcn.004055a8
add esp, 0x18
mov byte [ebp - 4], 0xb
push dword [eax]
lea ecx, [ebp]
call fcn.00404bb8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401212
push esi
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.004055a8
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call fcn.004056ef
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401212
push 0x45e3b4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004055a8
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xf
call fcn.00405551
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x10
call fcn.004056ef
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401212
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00401212
cmp dword [ebp + 0x12c], ebx
jne 0x41252d
push ebx
lea ecx, [ebp - 0x30]
call fcn.00401251
push ebx
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.00401251
push ebx
lea ecx, [ebp - 0x28]
mov edi, eax
call fcn.00401251
push edi
mov ecx, esi
mov edi, eax
call fcn.004051bd
test eax, eax
pop ecx
jne 0x41251b
xor esi, esi
push ebx
push 1
lea ecx, [ebp]
call fcn.0040499e
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00401212
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401212
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401212
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401212
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401212
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00401212
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00401212
mov eax, esi
jmp 0x41237b
push ebx
lea ecx, [ebp - 0x10]
call fcn.00401251
mov esi, eax
call fcn.004052ef
jmp 0x412543
lea eax, [ebp - 0x10]
push eax
call fcn.0040c07a
test eax, eax
pop ecx
je 0x412543
mov esi, dword [ebp - 0x10]
call fcn.0040fa9b
xor esi, esi
inc esi
jmp 0x4124bc