Function at 0x4080fd
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x40a892
call fcn.0040a120
mov eax, 0x38f4
call fcn.0040a150
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push esi
push edi
mov edi, dword [ebp + 8]
push str.thunder
mov esi, ecx
lea eax, [edi + 0x530]
push eax
mov dword [ebp - 0x18], eax
call ebx
test eax, eax
jne 0x4081a3
xor ebx, ebx
cmp dword [edi + 0x528], ebx
mov dword [ebp + 8], ebx
jbe 0x408b68
push 0x634
lea eax, [ebp - 0x830]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x830]
push eax
push dword [ebp + 8]
push dword [edi]
call sub.historyinfo_manage.dll_get_category_info
test eax, eax
jne 0x408190
cmp dword [ebp + 8], 1
mov ecx, esi
sete al
push eax
lea eax, [ebp - 0x830]
push dword [ebp + 0xc]
push eax
call fcn.004080fd
cmp eax, ebx
jne 0x408b6a
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x528]
jb 0x408145
jmp 0x408b68
push str.downloading
push dword [ebp - 0x18]
call ebx
test eax, eax
jne 0x408396
xor ebx, ebx
mov dword [ebp + 0x10], ebx
mov edi, dword [ebp + 0xc]
lea ecx, [ebp + 0x10]
push ecx
push ebx
mov eax, dword [edi]
push ebx
push 0x12
push ebx
push str.RunTasks
push edi
mov dword [ebp - 4], ebx
call dword [eax + 0x18]
cmp eax, 0x80030002
mov dword [ebp + 0xc], eax
jne 0x40837d
mov eax, dword [edi]
lea ecx, [ebp + 0x10]
push ecx
push ebx
push ebx
push 0x1012
push str.RunTasks
push edi
call dword [eax + 0x14]
mov edi, eax
cmp edi, ebx
jne 0x408365
lea ecx, [ebp - 0x1fc]
call fcn.00408b7b
xor eax, eax
lea edi, [ebp - 0x57]
mov byte [ebp - 0x58], bl
mov byte [ebp - 4], 1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], ebx
cmp dword [eax + 0x524], ebx
jbe 0x40832f
push 0x30d0
lea eax, [ebp - 0x3900]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x3900]
push eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
push dword [eax]
call sub.historyinfo_manage.dll_get_item_info
test eax, eax
jne 0x40831a
push 0x15
lea eax, [ebp - 0x58]
push ebx
push eax
call sub.MSVCRT.dll_memset
push dword [ebp - 0x10bc]
lea eax, [ebp - 0x10b8]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.MSVCRT.dll_memcpy
mov al, byte [ebp + 0xb]
add esp, 0x18
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], al
push ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x58]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea eax, [ebp - 0x30]
lea ecx, [esi + 4]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call fcn.00409db9
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
je 0x4082e3
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
jmp 0x4082e8
push 2
xor ecx, ecx
pop eax
push ecx
push eax
lea eax, [ebp - 0x1fc]
mov ecx, esi
push eax
lea eax, [ebp - 0x3900]
push eax
call fcn.00408df6
test eax, eax
je 0x40831a
push dword [ebp + 0x10]
lea eax, [ebp - 0x1fc]
mov ecx, esi
push eax
call fcn.0040906f
mov edi, eax
cmp edi, ebx
jne 0x408357
inc dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0x524]
jb 0x408230
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], bl
call fcn.00408c42
mov eax, dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x408b68
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x408b68
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], bl
call fcn.00408c42
mov eax, dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x408376
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x408b6a
mov eax, dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x40838e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
jmp 0x408b6a
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.004078c0
mov al, byte [ebp + 0xb]
pop ecx
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x40], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 3
mov byte [ebp - 0x30], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [edi + 0x20]
mov byte [ebp - 4], 4
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [edi + 0x20]
push eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
cmp dword [ebp - 0x38], 1
jae 0x4084ca
push dword [ebp - 0x18]
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea ecx, [ebp - 0x40]
push dword [ebp - 0x18]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push str.Software
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x408426
mov dword [ebp - 0x14], 4
jmp 0x408475
push str.Music
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x408441
mov dword [ebp - 0x14], 6
jmp 0x408475
push str.Movie
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40845c
mov dword [ebp - 0x14], 7
jmp 0x408475
push str.Game
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x408478
mov dword [ebp - 0x14], 5
mov dword [ebp - 0x10], ebx
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x70]
mov byte [ebp - 0x70], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [edi + 8]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [edi + 8]
push eax
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea eax, [ebp - 0x70]
lea ecx, [esi + 4]
push eax
mov byte [ebp - 4], 5
call fcn.00409d3a
mov ecx, dword [ebp - 0x14]
push 1
mov dword [eax], ecx
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 4
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
add edi, 0x124
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
cmp dword [ebp + 0x10], ebx
jne 0x408910
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.download
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x408910
push str.recycle
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x40868b
mov dword [ebp + 0x10], ebx
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
push edx
push ebx
mov ecx, dword [eax]
push ebx
push 0x12
mov edi, str.History
push ebx
push edi
push eax
mov byte [ebp - 4], 0xb
call dword [ecx + 0x18]
cmp eax, 0x80030002
mov dword [ebp - 0x20], eax
jne 0x408565
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
push edx
push ebx
mov ecx, dword [eax]
push ebx
push 0x1012
push edi
push eax
call dword [ecx + 0x14]
mov edi, eax
cmp edi, ebx
je 0x408583
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
jmp 0x40895b
cmp dword [ebp - 0x20], ebx
je 0x408583
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x40857b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x20]
jmp 0x4088eb
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x5f]
mov byte [ebp - 0x60], bl
mov dword [ebp - 0x14], 3
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x60]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x14]
push eax
push str._XLC
call fcn.00407942
add esp, 0xc
test eax, eax
jne 0x4085c2
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
jmp 0x408a65
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x60]
push 0xffffffffffffffff
push eax
mov byte [ebp - 4], 0xc
call fcn.00409cfb
pop ecx
mov dword [ebp + 0xc], eax
pop ecx
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x18]
push edx
push ebx
mov ecx, dword [eax]
push ebx
push 0x1012
mov byte [ebp - 4], 0xd
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x14]
push dword [ebp + 0xc]
mov edi, eax
mov byte [ebp - 4], 0xc
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp edi, ebx
je 0x408621
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x408559
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x408559
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
mov ecx, esi
push dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x18]
call fcn.0040973e
mov edi, eax
cmp edi, ebx
jne 0x408607
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.00408ce6
mov esi, eax
mov eax, dword [ebp - 0x18]
cmp esi, ebx
mov byte [ebp - 4], 0xb
je 0x408675
cmp eax, ebx
je 0x408669
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
jmp 0x4088e1
cmp eax, ebx
je 0x40867f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
jmp 0x408b40
xor eax, eax
lea edi, [ebp - 0x9b]
mov byte [ebp - 0x9c], bl
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
lea ecx, [eax + 8]
lea eax, [ebp - 0x9c]
push ecx
push eax
call sub.MSVCRT.dll_memcpy
mov al, byte [ebp + 0xb]
add esp, 0xc
lea ecx, [ebp - 0x70]
mov byte [ebp - 0x70], al
push ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x9c]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea eax, [ebp - 0x70]
lea ecx, [esi + 4]
push eax
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 0xe
call fcn.00409db9
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x84]
cmp ecx, eax
je 0x408726
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x10], eax
jmp 0x408730
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x64], ebx
jne 0x408815
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x7f]
mov byte [ebp - 0x80], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x38]
cmp eax, ebx
jne 0x408755
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x80]
push 0x1f
push eax
push 0x40f550
push str.LastCategory
push str.TaskProperty
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp + 8]
push dword [eax + 4]
add eax, 8
push eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x408815
mov eax, dword [ebp - 0x10]
push 7
mov dword [ebp - 0x18], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x5f]
mov byte [ebp - 0x60], bl
mov edx, dword [ebp - 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.MSVCRT.dll__itoa]
lea eax, [ebp - 0x60]
push 0xa
push eax
push edx
mov dword [ebp - 0x1c], edx
call edi
mov eax, dword [esi + 0x38]
add esp, 0xc
cmp eax, ebx
jne 0x4087ca
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x60]
push eax
push str.DefaultCategoryLoWord
push str.TaskDefaultSettings
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x60]
push 0xa
push eax
push dword [ebp - 0x18]
call edi
mov eax, dword [esi + 0x38]
add esp, 0xc
cmp eax, ebx
jne 0x4087f9
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x60]
push eax
push str.DefaultCategoryHiWord
push str.TaskDefaultSettings
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [esi + 0x64], 1
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0xdb]
mov byte [ebp - 0xdc], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x14]
push eax
push str._XLC
call fcn.00407942
add esp, 0xc
test eax, eax
je 0x408a6f
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0xdc]
push 0xffffffffffffffff
push eax
mov byte [ebp - 4], 0xf
call fcn.00409cfb
pop ecx
mov dword [ebp + 0x10], eax
pop ecx
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x20]
push edx
push ebx
mov ecx, dword [eax]
push ebx
push 0x1012
mov byte [ebp - 4], 0x10
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
push dword [ebp + 0x10]
mov edi, eax
mov byte [ebp - 4], 0xf
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp edi, ebx
je 0x40889f
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 4
jmp 0x40895b
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
mov ecx, esi
push dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x20]
call fcn.0040973e
mov edi, eax
cmp edi, ebx
jne 0x408893
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.00408ce6
mov esi, eax
mov eax, dword [ebp - 0x20]
cmp esi, ebx
mov byte [ebp - 4], 4
je 0x408b40
cmp eax, ebx
je 0x4088eb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, esi
jmp 0x408b6a
mov dword [ebp + 0x10], ebx
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
push edx
push ebx
mov ecx, dword [eax]
push ebx
push 0x12
mov edi, str.History
push ebx
push edi
push eax
mov byte [ebp - 4], 6
call dword [ecx + 0x18]
cmp eax, 0x80030002
mov dword [ebp - 0x20], eax
jne 0x408969
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
push edx
push ebx
mov ecx, dword [eax]
push ebx
push 0x1012
push edi
push eax
call dword [ecx + 0x14]
mov edi, eax
cmp edi, ebx
je 0x408987
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x408965
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, edi
jmp 0x4088eb
cmp dword [ebp - 0x20], ebx
je 0x408987
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x40897f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x20]
jmp 0x4088eb
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x50], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x40f550
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
mov byte [ebp - 0x70], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push dword [ebp - 0x10]
lea eax, [ebp - 0x50]
mov ecx, esi
mov byte [ebp - 4], 8
push dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0x10]
call fcn.0040973e
push 1
lea ecx, [ebp - 0x70]
mov edi, eax
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp edi, ebx
jne 0x408954
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0xbb]
mov byte [ebp - 0xbc], bl
mov dword [ebp - 0x14], 2
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x14]
push eax
push str._XLC
call fcn.00407942
add esp, 0xc
test eax, eax
jne 0x408a79
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x408a6f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x80004005
jmp 0x4088eb
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0xbc]
push 0xffffffffffffffff
push eax
mov byte [ebp - 4], 9
call fcn.00409cfb
pop ecx
mov dword [ebp + 0xc], eax
pop ecx
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x18]
push edx
push ebx
mov ecx, dword [eax]
push ebx
push 0x1012
mov byte [ebp - 4], 0xa
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x14]
push dword [ebp + 0xc]
mov edi, eax
mov byte [ebp - 4], 9
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp edi, ebx
jne 0x408adf
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
mov ecx, esi
push dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x18]
call fcn.0040973e
mov edi, eax
cmp edi, ebx
je 0x408af9
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x408954
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x408954
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.00408ce6
mov esi, eax
mov eax, dword [ebp - 0x18]
cmp esi, ebx
mov byte [ebp - 4], 6
je 0x408b2f
cmp eax, ebx
je 0x408b23
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
jmp 0x4088e1
cmp eax, ebx
je 0x408b39
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x408b4a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc