Function at 0x409c43
Capabilities:
Check for time delay via gettickcount
Create process on windows
Get disk size
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x420849
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x74d0
call fcn.0041dab0
mov eax, dword [0x42f028]
xor eax, esp
mov dword [esp + 0x74cc], eax
push esi
push edi
mov eax, dword [0x42f028]
xor eax, esp
push eax
lea eax, [esp + 0x74e0]
mov dword fs:[0], eax
mov eax, dword [0x42fe90]
xor esi, esi
cmp eax, esi
jne 0x409c98
mov dword [esp + 0x10], esi
jmp 0x409c9f
mov eax, dword [eax + 0x20]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x7fffffff
mov dword [ebx + 0x213b8], eax
mov eax, dword [ebx + 0x21398]
mov dword [ebx + 0x213a8], esi
mov dword [ebx + 0x213ac], esi
mov dword [ebx + 0x213b0], esi
mov dword [ebx + 0x213b4], esi
cmp eax, 0xffffffff
je 0x409fae
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [0x42fe90]
push dword [eax + 0x11d0]
call dword [0x42fcf0]
add esp, 0xc
test eax, eax
je 0x40a83a
xor eax, eax
push 0x1ffe
mov word [esp + 0x34d8], ax
lea eax, [esp + 0x34da]
push esi
push eax
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x30]
add esp, 0xc
lea edx, [esp + 0x34d4]
movzx eax, word [ecx]
inc ecx
mov word [edx], ax
inc ecx
inc edx
inc edx
cmp ax, si
jne 0x409d27
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x34d4]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x4c], 0x58
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], str.Any_file__._
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x6c], 0x1000
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], 0x80802
mov word [esp + 0x84], ax
mov word [esp + 0x86], ax
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
jmp 0x409f95
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x7fffffff
mov dword [ebx + 0x213b8], eax
movzx eax, word [esp + 0x84]
inc eax
push eax
lea eax, [esp + 0x34d8]
push eax
lea eax, [esp + 0x54dc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
push esi
mov dword [esp + 0x2c], eax
push esi
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x54e0]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x409e3c
push dword [esp + 0x28]
lea eax, [esp + 0x38]
push edi
call fcn.00409b2b
jmp 0x409e3e
xor eax, eax
cmp eax, esi
je 0x409f49
mov eax, dword [esp + 0x68]
movzx eax, byte [eax]
push eax
push dword [ebx + 0x21398]
mov eax, dword [0x42fe90]
push dword [eax + 0x11d0]
call dword [0x42fc30]
add esp, 0xc
test eax, eax
jne 0x409ec8
push 0x4219d8
push str.IDS_WRITING_WARN
lea eax, [esp + 0x14]
push eax
mov ecx, 0x42fd78
call dword [sym.imp.SolvusoftWMhelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
push 1
push esi
mov dword [esp + 0x74f0], esi
push dword [0x42fe90]
mov eax, dword [eax]
push 0x34
push eax
call dword [sym.imp.SolvusoftWMhelper.dll_public:_static_int___cdecl_CSystweakApp::AfxMessageBox_wchar_t_const___unsigned_int__class_CDialog___class_CRect___bool_]
mov edi, eax
sub edi, 6
add esp, 0x14
neg edi
sbb edi, edi
or dword [esp + 0x74e8], 0xffffffff
lea ecx, [esp + 0xc]
inc edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp edi, esi
je 0x409f95
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov dword [ebx + 0x213a8], ecx
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x213ac], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push esi
push 0x1000
mov dword [ebx + 0x213b8], eax
lea eax, [esp + 0x14e0]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x34e8]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x14d4]
push eax
push dword [ebx + 0x21398]
mov eax, dword [0x42fe90]
push dword [eax + 0x11d0]
call dword [0x42fce4]
add esp, 0xc
push 5
push esi
push esi
lea eax, [esp + 0x34e0]
push eax
push esi
push dword [esp + 0x24]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40a83a
push 0x4219d8
push str.IDS_INVALID_DRIVE
lea eax, [esp + 0x24]
push eax
mov ecx, 0x42fd78
call dword [sym.imp.SolvusoftWMhelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
xor ecx, ecx
inc ecx
push ecx
push esi
mov dword [esp + 0x74f0], ecx
push dword [0x42fe90]
mov eax, dword [eax]
push 0x10
push eax
call dword [sym.imp.SolvusoftWMhelper.dll_public:_static_int___cdecl_CSystweakApp::AfxMessageBox_wchar_t_const___unsigned_int__class_CDialog___class_CRect___bool_]
or dword [esp + 0x74fc], 0xffffffff
add esp, 0x14
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
cmp eax, 1
je 0x409dd4
jmp 0x40a83a
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x42fe90]
push dword [eax + 0x11d0]
call dword [0x42fcf8]
pop ecx
pop ecx
test eax, eax
je 0x40a83a
xor edi, edi
mov dword [ebx + 0x2139c], esi
mov dword [ebx + 0x213a0], esi
mov dword [ebx + 0x213b0], esi
mov dword [ebx + 0x213b4], esi
mov dword [ebx + 0x213a8], esi
mov dword [ebx + 0x213ac], esi
cmp dword [esp + 0x20], esi
jbe 0x40a04c
mov ecx, dword [ebx + 0x2135c]
mov eax, edi
call fcn.00404b57
test eax, eax
je 0x40a045
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x42fe90]
push edi
push dword [eax + 0x11d0]
call dword [0x42fcf0]
add esp, 0xc
test eax, eax
je 0x40a045
inc dword [ebx + 0x2139c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
add dword [ebx + 0x213a8], ecx
mov eax, dword [eax + 0xc]
adc dword [ebx + 0x213ac], eax
inc edi
cmp edi, dword [esp + 0x20]
jb 0x409ffa
cmp dword [ebx + 0x2139c], esi
jbe 0x40a83a
push 0x4219d8
push str.IDS_SEL_LOC
lea eax, [esp + 0x24]
push eax
mov ecx, 0x42fd78
call dword [sym.imp.SolvusoftWMhelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
mov eax, dword [eax]
lea ecx, [esp + 0x2cc]
movzx edx, word [eax]
inc eax
mov word [ecx], dx
inc eax
inc ecx
inc ecx
cmp dx, si
jne 0x40a07b
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
push 8
mov word [esp + 0xc8], ax
pop ecx
lea edi, [esp + 0xa4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0xc4]
mov dword [esp + 0xac], eax
lea eax, [esp + 0x2cc]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], 0x50
jmp 0x40a68e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edi, [ebx + 0x213bc]
push edi
push dword [esp + 0x14]
add eax, 0x7fffffff
mov dword [ebx + 0x213b8], eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [esp + 0x30]
push dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x10], eax
cmp eax, esi
jne 0x40a17b
push 0x4219d8
push str.IDS_SEL_OTHER_LOC
lea eax, [esp + 0x24]
push eax
mov ecx, 0x42fd78
call dword [sym.imp.SolvusoftWMhelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
push 1
push esi
mov dword [esp + 0x74f0], 2
push dword [0x42fe90]
mov eax, dword [eax]
push 0x10
push eax
call dword [sym.imp.SolvusoftWMhelper.dll_public:_static_int___cdecl_CSystweakApp::AfxMessageBox_wchar_t_const___unsigned_int__class_CDialog___class_CRect___bool_]
lea ecx, [esp + 0x30]
jmp 0x40a21c
cmp word [ebx + eax*2 + 0x213ba], 0x5c
je 0x40a1a0
push 0x5c
pop ecx
mov word [ebx + eax*2 + 0x213bc], cx
inc eax
xor ecx, ecx
mov dword [esp + 0x10], eax
mov word [ebx + eax*2 + 0x213bc], cx
mov eax, dword [ebx + 0x213a8]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x213ac]
push esi
mov dword [esp + 0x2c], eax
push esi
lea eax, [esp + 0x3c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x40a1d9
push dword [esp + 0x28]
lea eax, [esp + 0x38]
push dword [esp + 0x28]
call fcn.00409b2b
jmp 0x40a1db
xor eax, eax
cmp eax, esi
jne 0x40a232
push 0x4219d8
push str.IDS_INVALID_DRIVE
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x42fd78
call dword [sym.imp.SolvusoftWMhelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
push 1
push esi
mov dword [esp + 0x74f0], 3
push dword [0x42fe90]
mov eax, dword [eax]
push 0x10
push eax
call dword [sym.imp.SolvusoftWMhelper.dll_public:_static_int___cdecl_CSystweakApp::AfxMessageBox_wchar_t_const___unsigned_int__class_CDialog___class_CRect___bool_]
lea ecx, [esp + 0x28]
or dword [esp + 0x74fc], 0xffffffff
add esp, 0x14
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x40a68e
xor edi, edi
cmp dword [esp + 0x20], esi
jbe 0x40a277
mov ecx, dword [ebx + 0x2135c]
mov eax, edi
call fcn.00404b57
test eax, eax
je 0x40a270
movzx eax, byte [ebx + 0x213bc]
push eax
mov eax, dword [0x42fe90]
push edi
push dword [eax + 0x11d0]
call dword [0x42fc30]
add esp, 0xc
test eax, eax
je 0x40a612
inc edi
cmp edi, dword [esp + 0x20]
jb 0x40a23a
mov eax, dword [0x42fe90]
mov ecx, dword [eax + 0x11c0]
push 0x4b2
call dword [sym.imp.SolvusoftWMhelper.dll_public:_void___thiscall_CDlgLeftSideChild::ChangeTheRightSideStep_enum_DLG_BTN_STEPS_]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x213b8], eax
lea eax, [esp + 0x2c]
push eax
mov eax, dword [0x42fe90]
mov dword [esp + 0x30], esi
push dword [eax + 0x11d0]
call dword [0x42fcec]
pop ecx
pop ecx
test eax, eax
je 0x40a403
mov dword [esp + 0xc], esi
cmp dword [esp + 0x2c], esi
jbe 0x40a403
mov eax, dword [ebx + 0x2135c]
mov ecx, dword [esp + 0xc]
cmp ecx, dword [eax + 0x164]
jae 0x40a3b7
mov ecx, dword [eax + 0x160]
add ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x168]
lea eax, [eax + ecx*2]
movzx eax, word [eax]
test al, 1
je 0x40a3f1
shr eax, 1
and eax, 3
mov dword [esp + 0x1c], eax
cmp eax, 1
jne 0x40a3b1
mov edi, dword [esp + 0x10]
push 0x5c
pop eax
push 0xfff
mov word [ebx + edi*2 + 0x213ba], ax
lea eax, [esp + 0x14d9]
push esi
push eax
mov byte [esp + 0x14e0], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push esi
push esi
push 0x1000
lea eax, [esp + 0x14e0]
push eax
push 0xffffffffffffffff
lea eax, [ebx + 0x213bc]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, 0x1000
sub eax, dword [esp + 0x10]
lea edi, [esp + edi + 0x14d4]
push eax
mov eax, dword [esp + 0x10]
call fcn.00409baa
test eax, eax
je 0x40a3b7
push 0x4000
lea edi, [ebx + 0x213bc]
push edi
push 0xffffffffffffffff
lea eax, [esp + 0x14e0]
push eax
push 1
push esi
mov byte [esp + 0x24eb], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
mov word [ebx + 0x293ba], ax
call fcn.00409b6c
cmp dword [esp + 0x1c], esi
je 0x40a3f1
mov eax, dword [ebx + 0x2135c]
mov ecx, dword [esp + 0xc]
cmp ecx, dword [eax + 0x164]
jae 0x40a3f1
mov edx, dword [eax + 0x160]
add edx, ecx
mov ecx, dword [eax + 0x168]
lea ecx, [ecx + edx*2]
push 1
mov edx, 0xfff9
and word [ecx], dx
push esi
push dword [eax + 0xc4]
call dword [sym.imp.USER32.dll_InvalidateRect]
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x2c]
jb 0x40a2cb
mov dword [esp + 0x14], 2
mov byte [esp + 0x1b], 0
mov dword [esp + 0xc], esi
cmp dword [esp + 0x20], esi
jbe 0x40a83a
mov eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x2135c]
call fcn.00404b57
test eax, eax
je 0x40a810
cmp byte [0x42fe95], 0
jne 0x40a44b
cmp dword [0x42fe9c], 5
jge 0x40a83a
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x10]
mov eax, dword [0x42fe90]
push dword [eax + 0x11d0]
call dword [0x42fcf0]
add esp, 0xc
test eax, eax
je 0x40a810
mov esi, dword [esp + 0x10]
push 0x5c
pop eax
push 0xfff
mov word [ebx + esi*2 + 0x213ba], ax
xor edi, edi
lea eax, [esp + 0x4d9]
push edi
push eax
mov byte [esp + 0x4e0], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push edi
push edi
push 0x1000
lea eax, [esp + 0x4e0]
push eax
push 0xffffffffffffffff
lea eax, [ebx + 0x213bc]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, 0x1000
sub eax, esi
push eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
lea edi, [esp + esi + 0x4d8]
call fcn.00409baa
test eax, eax
je 0x40a810
push 0x4000
lea edi, [ebx + 0x213bc]
push edi
push 0xffffffffffffffff
lea eax, [esp + 0x4e0]
push eax
push 1
push 0
mov byte [esp + 0x14eb], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
mov word [ebx + 0x293ba], ax
call fcn.00409b6c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x30]
mov ecx, eax
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x40a527
sub eax, ecx
lea edi, [ebx + 0x213bc]
dec edi
mov esi, ecx
dec edi
mov cx, word [edi + 2]
inc edi
inc edi
test cx, cx
jne 0x40a53d
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test byte [esp + 0x14], 0x80
rep movsb byte es:[edi], byte [esi]
jne 0x40a6b1
cmp byte [esp + 0x1b], 0
jne 0x40a6b1
xor edi, edi
push edi
push edi
push 3
push edi
push 7
push 0x80
lea eax, [ebx + 0x213bc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x40a6b1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x42fe90]
mov eax, dword [eax + 0x11c0]
call fcn.00415191
push 0x4219d8
push str.IDS_OVERWRITE_MSG
lea eax, [esp + 0x24]
push eax
mov ecx, 0x42fd78
call dword [sym.imp.SolvusoftWMhelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
push 1
push edi
mov dword [esp + 0x74f0], 5
push dword [0x42fe90]
mov eax, dword [eax]
push 4
push eax
call dword [sym.imp.SolvusoftWMhelper.dll_public:_static_int___cdecl_CSystweakApp::AfxMessageBox_wchar_t_const___unsigned_int__class_CDialog___class_CRect___bool_]
or dword [esp + 0x74fc], 0xffffffff
add esp, 0x14
lea ecx, [esp + 0x1c]
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp esi, 6
jne 0x40a6ad
mov dword [esp + 0x14], 2
mov byte [esp + 0x1b], 1
jmp 0x40a6b1
push 0x4219d8
push str.IDS_WARN_SAME_DRIVE
lea eax, [esp + 0x14]
push eax
mov ecx, 0x42fd78
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 0x12c
mov dword [esp + 0x54], 0xc8
call dword [sym.imp.SolvusoftWMhelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
push 1
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x74f0], 4
push dword [0x42fe90]
mov eax, dword [eax]
push 0x34
push eax
call dword [sym.imp.SolvusoftWMhelper.dll_public:_static_int___cdecl_CSystweakApp::AfxMessageBox_wchar_t_const___unsigned_int__class_CDialog___class_CRect___bool_]
mov edi, eax
sub edi, 6
add esp, 0x14
neg edi
sbb edi, edi
or dword [esp + 0x74e8], 0xffffffff
lea ecx, [esp + 0xc]
inc edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp edi, esi
jne 0x40a277
lea eax, [esp + 0xa4]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov dword [esp + 0x10], eax
cmp eax, esi
jne 0x40a0e1
jmp 0x40a83a
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x14]
and esi, 0xffffff7f
je 0x40a824
xor eax, eax
push eax
push eax
push 0x1000
lea ecx, [esp + 0x24e0]
push ecx
push 0xffffffffffffffff
lea edi, [ebx + 0x213bc]
push edi
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp esi, 2
jne 0x40a76c
lea eax, [esp + 0x24d4]
push eax
push dword [esp + 0x10]
mov eax, dword [0x42fe90]
push dword [eax + 0x11d0]
call dword [0x42fce4]
add esp, 0xc
test eax, eax
je 0x40a76c
mov esi, dword [ebx + 0x2135c]
push dword [esp + 0xc]
mov eax, esi
call fcn.00403a98
push 1
push 0
push dword [esi + 0xc4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push edi
lea ecx, [ebx + 0x293bc]
call dword [0x42165c]
inc dword [ebx + 0x213a0]
cmp byte [0x42fe95], 0
jne 0x40a7c7
inc dword [0x42fe9c]
push 1
lea ecx, [esp + 0x28]
mov esi, ebx
call fcn.0040bb60
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x40a7c7
mov eax, dword [esp + 0xc]
jmp 0x40a7b5
mov eax, dword [ebx + 0x2135c]
mov ecx, dword [eax + 0x164]
add ecx, dword [eax + 0x160]
cmp esi, ecx
jae 0x40a7b3
mov ecx, dword [eax + 0x168]
lea ecx, [ecx + esi*2]
mov dx, word [ecx]
mov edi, 0xfffd
and dx, di
push 1
or dx, 4
push 0
mov word [ecx], dx
push dword [eax + 0xc4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, esi
mov esi, dword [ebx + 0x2135c]
call fcn.00403a27
mov esi, eax
cmp esi, 0xffffffff
jne 0x40a772
test byte [esp + 0x14], 0x80
jne 0x40a7d6
mov dword [esp + 0x14], 2
mov ecx, dword [esp + 0x10]
xor eax, eax
mov word [ebx + ecx*2 + 0x213bc], ax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
add dword [ebx + 0x213b0], ecx
mov eax, dword [eax + 0xc]
adc dword [ebx + 0x213b4], eax
mov eax, dword [0x42fe90]
push dword [eax + 0x11d0]
call dword [0x42fcc0]
pop ecx
test eax, eax
jne 0x40a83a
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x20]
jb 0x40a41e
jmp 0x40a83a
mov eax, dword [0x42fe90]
mov ecx, dword [eax + 0x11c0]
push 0x4b1
call dword [sym.imp.SolvusoftWMhelper.dll_public:_void___thiscall_CDlgLeftSideChild::ChangeTheRightSideStep_enum_DLG_BTN_STEPS_]
mov ecx, dword [esp + 0x74e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74cc]
xor ecx, esp
call fcn.0041d342
mov esp, ebp
pop ebp
ret