Function at 0x42adb0
Capabilities:
Check if file exists
Create directory
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ffaae
mov eax, dword fs:[0]
push eax
sub esp, 0xa0c
mov eax, dword [0x5503c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x42c], esi
cmp byte [esi + 0x878], 0
je 0x42ae05
lea ecx, [esi + 0x894]
mov byte [esi + 0x87a], 1
call fcn.0041e780
jmp 0x42b8bb
lea ecx, [ebp - 0xa0d]
call fcn.00405010
mov ecx, dword [esi + 0x78c]
lea edx, [ebp - 0x558]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, eax
mov dword [ebp - 4], 0
call sym.Office2.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
mov edx, eax
mov dword [ebp - 0x494], 0
mov ecx, edx
mov dword [ebp - 0x490], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x4a4], xmm0
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ae57
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4a4]
call fcn.00406a80
lea ecx, [ebp - 0x558]
mov byte [ebp - 4], 2
call sym.Office2.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp dword [ebp - 0x490], 8
lea eax, [ebp - 0x4a4]
cmovae eax, dword [ebp - 0x4a4]
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.004018a0
add esp, 8
cmp dword [ebp - 0x448], 0x10
lea eax, [ebp - 0x45c]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x45c]
push eax
call fcn.00405f10
mov ecx, eax
call sym.Office2.exe_public_virtual:_class_DuiLib::IListCallbackUI____thiscall_DuiLib::CListUI::GetTextCallback_void_const
mov ecx, eax
call fcn.00405620
test al, al
jne 0x42aeec
push 0xc8
push 0x506ebc
mov ecx, esi
call fcn.0042f330
jmp 0x42b85f
xorps xmm0, xmm0
movlpd qword [ebp - 0x428], xmm0
call fcn.00405f10
mov ecx, eax
call fcn.0041bd20
mov esi, eax
mov dword [ebp - 0x428], 0
lea eax, [ebp - 0x428]
mov dword [ebp - 0x424], 0
push 0x40
mov dword [ebp - 0xa18], eax
mov dword [ebp - 0xa14], eax
call fcn.004cf87e
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x428], eax
push eax
mov eax, dword [esi]
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 4
push dword [eax + 4]
call fcn.0041abf0
mov ecx, dword [ebp - 0x428]
mov dword [ecx + 4], eax
mov eax, dword [esi + 4]
mov esi, dword [ebp - 0x428]
mov dword [ebp - 0x424], eax
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x42afb7
mov ecx, dword [edx]
cmp byte [ecx + 0xd], 0
jne 0x42af93
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x42af87
mov dword [esi], edx
mov edx, dword [ebp - 0x428]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x42afb2
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x42afa7
mov dword [edx + 8], ecx
jmp 0x42afc2
mov dword [esi], esi
mov eax, dword [ebp - 0x428]
mov dword [eax + 8], eax
cmp dword [ebp - 0x424], 0
mov byte [ebp - 4], 5
je 0x42b838
mov eax, dword [ebp - 0x428]
lea ecx, [ebp - 0x474]
mov eax, dword [eax]
add eax, 0x28
push eax
call fcn.00402690
cmp dword [ebp - 0x460], 0x10
lea eax, [ebp - 0x474]
mov byte [ebp - 4], 6
cmovae eax, dword [ebp - 0x474]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
mov edx, eax
mov dword [ebp - 0x47c], 0
mov ecx, edx
mov dword [ebp - 0x478], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x48c], xmm0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42b030
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x48c]
call fcn.00404160
cmp dword [ebp - 0x478], 0x10
lea ecx, [ebp - 0x48c]
mov edx, dword [ebp - 0x48c]
lea edi, [ebp - 0x48c]
mov eax, dword [ebp - 0x47c]
cmovae ecx, edx
cmovae edi, edx
mov byte [ebp - 4], 7
add eax, ecx
lea ecx, [ebp - 0x48c]
cmp dword [ebp - 0x478], 0x10
push fcn.004daf71
push edi
push eax
cmovae ecx, edx
lea eax, [ebp - 0xa14]
push ecx
push eax
call fcn.004226f0
add esp, 0x14
lea eax, [ebp - 0x45c]
lea ecx, [ebp - 0x444]
push eax
call fcn.00402690
mov byte [ebp - 4], 8
call fcn.00405f10
mov ecx, eax
call fcn.0041bbc0
push eax
lea eax, [ebp - 0x4bc]
push eax
call fcn.00401670
add esp, 8
cmp dword [eax + 0x14], 0x10
mov ecx, eax
mov byte [ebp - 4], 9
jb 0x42b0d8
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x444]
call fcn.00402540
lea ecx, [ebp - 0x4bc]
mov byte [ebp - 4], 8
call fcn.00403630
cmp dword [ebp - 0x478], 0x10
lea eax, [ebp - 0x48c]
push dword [ebp - 0x47c]
cmovae eax, dword [ebp - 0x48c]
lea ecx, [ebp - 0x444]
push eax
call fcn.00402540
mov edi, dword [ebp - 0x42c]
mov byte [edi + 0x87a], 0
call fcn.00405f10
mov ecx, eax
call fcn.0041bbc0
push eax
lea eax, [ebp - 0x4bc]
push eax
call fcn.00401670
add esp, 8
lea esi, [edi + 0x860]
mov ecx, esi
push eax
call fcn.004025d0
lea ecx, [ebp - 0x4bc]
call fcn.00403630
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d1960
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004d1960
push 0x104
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004d1960
push 0x104
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.004d1960
add esp, 0x30
lea ecx, [edi + 0x848]
cmp dword [edi + 0x85c], 0x10
jb 0x42b1c2
mov ecx, dword [edi + 0x848]
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x42b1cc
mov eax, dword [esi]
push ecx
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x52923e
push 0x506ed4
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp dword [edi + 0x85c], 0x10
lea ecx, [edi + 0x848]
jb 0x42b1ff
mov ecx, dword [edi + 0x848]
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x42b209
mov eax, dword [esi]
push ecx
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push 0x52923e
push 0x5038b8
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp dword [edi + 0x85c], 0x10
lea ecx, [edi + 0x848]
jb 0x42b23c
mov ecx, dword [edi + 0x848]
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x42b246
mov eax, dword [esi]
push ecx
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 0x52923e
push str.progress
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp dword [edi + 0x85c], 0x10
lea ecx, [edi + 0x848]
jb 0x42b279
mov ecx, dword [edi + 0x848]
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x42b283
mov eax, dword [esi]
push ecx
push 0x104
lea ecx, [ebp - 0x31c]
push ecx
push 0x52923e
push str.complete
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x114]
mov byte [ebp - 0xa0d], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42b2b1
sub ecx, edx
lea eax, [ebp - 0x444]
cmp dword [ebp - 0x430], 0x10
push ecx
cmovae eax, dword [ebp - 0x444]
lea ecx, [ebp - 0x114]
push ecx
push dword [ebp - 0x434]
push eax
call fcn.00422080
add esp, 0x10
test eax, eax
jne 0x42b428
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42b2f6
sub ecx, edx
lea eax, [ebp - 0x474]
cmp dword [ebp - 0x460], 0x10
push ecx
cmovae eax, dword [ebp - 0x474]
lea ecx, [ebp - 0x218]
push ecx
push dword [ebp - 0x464]
push eax
call fcn.00422080
add esp, 0x10
test eax, eax
jne 0x42b428
mov ecx, 0x506e1c
lea eax, [ebp - 0x31c]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42b360
test dl, dl
je 0x42b35c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42b360
add eax, 2
add ecx, 2
test dl, dl
jne 0x42b340
xor eax, eax
jmp 0x42b365
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42b5e0
push 0x538
push eax
lea eax, [ebp - 0xa0c]
push eax
call fcn.004d1960
add esp, 0xc
lea eax, [ebp - 0x42c]
lea ecx, [ebp - 0xa0c]
push eax
call fcn.0041f130
push 0
push 0
push 0
push 0
push 0
push 0x100
push 0x10ce0000
push 0x503f10
mov byte [ebp - 4], 0xa
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0xa0c]
call sym.Office2.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____
lea ecx, [ebp - 0xa0c]
call sym.Office2.exe_public:_void___thiscall_DuiLib::CWindowWnd::CenterWindow_void_
push 1
lea ecx, [ebp - 0xa0c]
call fcn.0041fc00
push 0x506ef0
lea ecx, [ebp - 0xa0c]
call fcn.0041fae0
push 0x506efc
lea ecx, [ebp - 0xa0c]
call fcn.0041f880
lea ecx, [ebp - 0xa0c]
call sym.Office2.exe_public:_unsigned_int___thiscall_DuiLib::CWindowWnd::ShowModal_void_
cmp dword [ebp - 0x42c], 1
lea ecx, [ebp - 0xa0c]
jne 0x42b41f
call fcn.0041f2a0
jmp 0x42b817
mov byte [ebp - 4], 8
call fcn.0041f2a0
cmp dword [edi + 0x85c], 0x10
lea ecx, [edi + 0x848]
jb 0x42b43d
mov ecx, dword [edi + 0x848]
cmp dword [ebp - 0x460], 0x10
lea eax, [ebp - 0x474]
mov edx, esi
cmovae eax, dword [ebp - 0x474]
cmp dword [esi + 0x14], 0x10
jb 0x42b45b
mov edx, dword [esi]
push ecx
push eax
push 0x506ed4
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [edi + 0x85c], 0x10
lea ecx, [edi + 0x848]
jb 0x42b47e
mov ecx, dword [edi + 0x848]
cmp dword [ebp - 0x430], 0x10
lea eax, [ebp - 0x444]
mov edx, esi
cmovae eax, dword [ebp - 0x444]
cmp dword [esi + 0x14], 0x10
jb 0x42b49c
mov edx, dword [esi]
push ecx
push eax
push 0x5038b8
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [edi + 0x85c], 0x10
lea ecx, [edi + 0x848]
jb 0x42b4bf
mov ecx, dword [edi + 0x848]
cmp dword [ebp - 0x430], 0x10
lea eax, [ebp - 0x444]
mov edx, esi
cmovae eax, dword [ebp - 0x444]
cmp dword [esi + 0x14], 0x10
jb 0x42b4dd
mov edx, dword [esi]
push ecx
push eax
push str.progress
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [edi + 0x85c], 0x10
lea eax, [edi + 0x848]
jb 0x42b4fc
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
jb 0x42b504
mov esi, dword [esi]
push eax
push 0x506f60
push str.complete
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [ebp - 0x448], 0x10
lea eax, [ebp - 0x45c]
mov ecx, edi
cmovae eax, dword [ebp - 0x45c]
push eax
call fcn.00423a70
mov byte [edi + 0x87c], 1
cmp dword [ebp - 0x448], 0x10
lea eax, [ebp - 0x45c]
cmovae eax, dword [ebp - 0x45c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x42b577
cmp dword [ebp - 0x448], 0x10
lea eax, [ebp - 0x45c]
push 0
cmovae eax, dword [ebp - 0x45c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
push 0x34
call fcn.004cf87e
mov esi, eax
add esp, 4
test esi, esi
je 0x42b730
mov dword [esi + 0x28], 0
lea eax, [ebp - 0x474]
mov dword [esi + 0x2c], 0
xorps xmm0, xmm0
mov dword [esi + 0x30], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmmword [esi + 0x18], xmm0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0xf
mov byte [esi + 0x18], 0
cmp esi, eax
je 0x42b754
jmp 0x42b732
cmp byte [edi + 0x87c], 0
jne 0x42b6c5
push 0x538
lea eax, [ebp - 0xa0c]
mov byte [edi + 0x87c], 1
push 0
push eax
call fcn.004d1960
add esp, 0xc
lea eax, [ebp - 0x42c]
lea ecx, [ebp - 0xa0c]
push eax
call fcn.0041f130
push 0
push 0
push 0
push 0
push 0
push 0x100
push 0x10ce0000
push 0x503f10
mov byte [ebp - 4], 0xb
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0xa0c]
call sym.Office2.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____
lea ecx, [ebp - 0xa0c]
call sym.Office2.exe_public:_void___thiscall_DuiLib::CWindowWnd::CenterWindow_void_
push 1
lea ecx, [ebp - 0xa0c]
call fcn.0041fc00
push 0x506f2c
lea ecx, [ebp - 0xa0c]
call fcn.0041fae0
push 0x506f3c
lea ecx, [ebp - 0xa0c]
call fcn.0041f880
lea ecx, [ebp - 0xa0c]
call sym.Office2.exe_public:_unsigned_int___thiscall_DuiLib::CWindowWnd::ShowModal_void_
movzx eax, byte [ebp - 0xa0d]
mov ecx, 1
cmp dword [ebp - 0x42c], ecx
mov byte [ebp - 4], 8
cmove eax, ecx
lea ecx, [ebp - 0xa0c]
mov dword [ebp - 0xa14], eax
call fcn.0041f2a0
cmp byte [ebp - 0xa14], 0
jne 0x42b428
lea eax, [ebp - 0x4d4]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004e10dd
add esp, 8
test eax, eax
jne 0x42b539
mov eax, dword [ebp - 0x4c0]
mov dword [edi + 0x880], eax
lea eax, [ebp - 0x420]
push eax
mov byte [edi + 0x87b], 1
call fcn.004e15f0
mov ecx, dword [edi + 0x730]
add esp, 4
mov dword [edi + 0x884], eax
test ecx, ecx
je 0x42b539
lea edx, [eax - 1]
cmp edx, 0x62
ja 0x42b539
push eax
call sym.Office2.exe_public:_void___thiscall_DuiLib::CProgressUI::SetValue_int_
jmp 0x42b539
xor esi, esi
cmp dword [ebp - 0x460], 0x10
lea eax, [ebp - 0x474]
push dword [ebp - 0x464]
cmovae eax, dword [ebp - 0x474]
mov ecx, esi
push eax
call fcn.004031f0
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x444]
cmp ecx, eax
je 0x42b77b
cmp dword [ebp - 0x430], 0x10
push dword [ebp - 0x434]
cmovae eax, dword [ebp - 0x444]
push eax
call fcn.004031f0
mov ecx, edi
lea eax, [edi + 0x6e8]
neg ecx
push esi
sbb ecx, ecx
and ecx, eax
mov dword [esi + 0x30], ecx
lea ecx, [edi + 0x894]
call fcn.0041e180
mov ecx, dword [edi + 0x790]
mov byte [edi + 0x878], 1
test ecx, ecx
je 0x42b7b3
mov eax, dword [ecx]
push 0
call dword [eax + 0xec]
mov ecx, dword [edi + 0x794]
test ecx, ecx
je 0x42b7c7
mov eax, dword [ecx]
push 0x506f64
call dword [eax + 0x3c]
mov ecx, dword [edi + 0x798]
test ecx, ecx
je 0x42b7db
mov eax, dword [ecx]
push 0x506f6c
call dword [eax + 0x3c]
mov ecx, dword [edi + 0x798]
test ecx, ecx
je 0x42b7ef
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x79c]
test ecx, ecx
je 0x42b803
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x7a0]
test ecx, ecx
je 0x42b817
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
lea ecx, [ebp - 0x444]
call fcn.00403630
lea ecx, [ebp - 0x48c]
call fcn.00403630
lea ecx, [ebp - 0x474]
call fcn.00403630
mov eax, dword [ebp - 0x428]
push dword [eax + 4]
lea eax, [ebp - 0x428]
push eax
mov ecx, eax
call fcn.0041ad00
push 0x40
push dword [ebp - 0x428]
call fcn.004cf8ae
add esp, 8
mov ecx, dword [ebp - 0x448]
cmp ecx, 0x10
jb 0x42b895
mov edx, dword [ebp - 0x45c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42b88b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b8d6
push ecx
push edx
call fcn.004cf8ae
add esp, 8
lea ecx, [ebp - 0x4a4]
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], 0
call fcn.00403580
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cf8bc
mov esp, ebp
pop ebp
ret
call fcn.004d54df
int3