Function at 0x408163
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x40a68a
call fcn.0040a180
mov eax, 0x38f4
call fcn.0040a1b0
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 0x408209
xor ebx, ebx
cmp dword [edi + 0x528], ebx
mov dword [ebp + 8], ebx
jbe 0x408bce
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 0x4081f6
cmp dword [ebp + 8], 1
mov ecx, esi
sete al
push eax
lea eax, [ebp - 0x830]
push dword [ebp + 0xc]
push eax
call fcn.00408163
cmp eax, ebx
jne 0x408bd0
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x528]
jb 0x4081ab
jmp 0x408bce
push str.downloading
push dword [ebp - 0x18]
call ebx
test eax, eax
jne 0x4083fc
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 0x4083e3
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 0x4083cb
lea ecx, [ebp - 0x1fc]
call fcn.00408be1
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 0x408395
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 0x408380
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.00409e1f
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 0x408349
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
jmp 0x40834e
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.00408e5c
test eax, eax
je 0x408380
push dword [ebp + 0x10]
lea eax, [ebp - 0x1fc]
mov ecx, esi
push eax
call fcn.004090d5
mov edi, eax
cmp edi, ebx
jne 0x4083bd
inc dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0x524]
jb 0x408296
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], bl
call fcn.00408ca8
mov eax, dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x408bce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x408bce
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], bl
call fcn.00408ca8
mov eax, dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4083dc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x408bd0
mov eax, dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4083f4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
jmp 0x408bd0
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.00407926
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 0x408530
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 0x40848c
mov dword [ebp - 0x14], 4
jmp 0x4084db
push str.Music
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4084a7
mov dword [ebp - 0x14], 6
jmp 0x4084db
push str.Movie
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4084c2
mov dword [ebp - 0x14], 7
jmp 0x4084db
push str.Game
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4084de
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.00409da0
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 0x408976
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.download
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x408976
push str.recycle
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x4086f1
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 0x4085cb
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 0x4085e9
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
jmp 0x4089c1
cmp dword [ebp - 0x20], ebx
je 0x4085e9
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x4085e1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x20]
jmp 0x408951
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.004079a8
add esp, 0xc
test eax, eax
jne 0x408628
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
jmp 0x408acb
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x60]
push 0xffffffffffffffff
push eax
mov byte [ebp - 4], 0xc
call fcn.00409d61
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 0x408687
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x4085bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4085bf
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.004097a4
mov edi, eax
cmp edi, ebx
jne 0x40866d
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.00408d4c
mov esi, eax
mov eax, dword [ebp - 0x18]
cmp esi, ebx
mov byte [ebp - 4], 0xb
je 0x4086db
cmp eax, ebx
je 0x4086cf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
jmp 0x408947
cmp eax, ebx
je 0x4086e5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
jmp 0x408ba6
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.00409e1f
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 0x40878c
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x10], eax
jmp 0x408796
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x64], ebx
jne 0x40887b
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 0x4087bb
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 0x40f5d8
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 0x40887b
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 0x408830
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 0x40885f
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.004079a8
add esp, 0xc
test eax, eax
je 0x408ad5
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0xdc]
push 0xffffffffffffffff
push eax
mov byte [ebp - 4], 0xf
call fcn.00409d61
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 0x408905
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 4
jmp 0x4089c1
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.004097a4
mov edi, eax
cmp edi, ebx
jne 0x4088f9
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.00408d4c
mov esi, eax
mov eax, dword [ebp - 0x20]
cmp esi, ebx
mov byte [ebp - 4], 4
je 0x408ba6
cmp eax, ebx
je 0x408951
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 0x408bd0
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 0x4089cf
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 0x4089ed
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x4089cb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, edi
jmp 0x408951
cmp dword [ebp - 0x20], ebx
je 0x4089ed
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x4089e5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x20]
jmp 0x408951
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, 0x40f5d8
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.004097a4
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 0x4089ba
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.004079a8
add esp, 0xc
test eax, eax
jne 0x408adf
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x408ad5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x80004005
jmp 0x408951
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0xbc]
push 0xffffffffffffffff
push eax
mov byte [ebp - 4], 9
call fcn.00409d61
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 0x408b45
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.004097a4
mov edi, eax
cmp edi, ebx
je 0x408b5f
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x4089ba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4089ba
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.00408d4c
mov esi, eax
mov eax, dword [ebp - 0x18]
cmp esi, ebx
mov byte [ebp - 4], 6
je 0x408b95
cmp eax, ebx
je 0x408b89
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
jmp 0x408947
cmp eax, ebx
je 0x408b9f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x408bb0
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