Function at 0x408144
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x40a8d2
call fcn.0040a160
mov eax, 0x38f4
call fcn.0040a190
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 0x4081ea
xor ebx, ebx
cmp dword [edi + 0x528], ebx
mov dword [ebp + 8], ebx
jbe 0x408baf
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 0x4081d7
cmp dword [ebp + 8], 1
mov ecx, esi
sete al
push eax
lea eax, [ebp - 0x830]
push dword [ebp + 0xc]
push eax
call fcn.00408144
cmp eax, ebx
jne 0x408bb1
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x528]
jb 0x40818c
jmp 0x408baf
push str.downloading
push dword [ebp - 0x18]
call ebx
test eax, eax
jne 0x4083dd
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 0x4083c4
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 0x4083ac
lea ecx, [ebp - 0x1fc]
call fcn.00408bc2
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 0x408376
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 0x408361
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.00409e00
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 0x40832a
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
jmp 0x40832f
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.00408e3d
test eax, eax
je 0x408361
push dword [ebp + 0x10]
lea eax, [ebp - 0x1fc]
mov ecx, esi
push eax
call fcn.004090b6
mov edi, eax
cmp edi, ebx
jne 0x40839e
inc dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0x524]
jb 0x408277
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], bl
call fcn.00408c89
mov eax, dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x408baf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x408baf
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], bl
call fcn.00408c89
mov eax, dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4083bd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x408bb1
mov eax, dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4083d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
jmp 0x408bb1
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.00407907
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 0x408511
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 0x40846d
mov dword [ebp - 0x14], 4
jmp 0x4084bc
push str.Music
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x408488
mov dword [ebp - 0x14], 6
jmp 0x4084bc
push str.Movie
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4084a3
mov dword [ebp - 0x14], 7
jmp 0x4084bc
push str.Game
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4084bf
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.00409d81
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 0x408957
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.download
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x408957
push str.recycle
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x4086d2
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 0x4085ac
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 0x4085ca
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
jmp 0x4089a2
cmp dword [ebp - 0x20], ebx
je 0x4085ca
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x4085c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x20]
jmp 0x408932
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.00407989
add esp, 0xc
test eax, eax
jne 0x408609
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
jmp 0x408aac
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x60]
push 0xffffffffffffffff
push eax
mov byte [ebp - 4], 0xc
call fcn.00409d42
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 0x408668
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x4085a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4085a0
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.00409785
mov edi, eax
cmp edi, ebx
jne 0x40864e
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.00408d2d
mov esi, eax
mov eax, dword [ebp - 0x18]
cmp esi, ebx
mov byte [ebp - 4], 0xb
je 0x4086bc
cmp eax, ebx
je 0x4086b0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
jmp 0x408928
cmp eax, ebx
je 0x4086c6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
jmp 0x408b87
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.00409e00
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 0x40876d
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x10], eax
jmp 0x408777
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x64], ebx
jne 0x40885c
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 0x40879c
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 0x40f560
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 0x40885c
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 0x408811
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 0x408840
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.00407989
add esp, 0xc
test eax, eax
je 0x408ab6
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0xdc]
push 0xffffffffffffffff
push eax
mov byte [ebp - 4], 0xf
call fcn.00409d42
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 0x4088e6
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 4
jmp 0x4089a2
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.00409785
mov edi, eax
cmp edi, ebx
jne 0x4088da
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.00408d2d
mov esi, eax
mov eax, dword [ebp - 0x20]
cmp esi, ebx
mov byte [ebp - 4], 4
je 0x408b87
cmp eax, ebx
je 0x408932
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 0x408bb1
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 0x4089b0
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 0x4089ce
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x4089ac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, edi
jmp 0x408932
cmp dword [ebp - 0x20], ebx
je 0x4089ce
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x4089c6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x20]
jmp 0x408932
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, 0x40f560
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.00409785
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 0x40899b
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.00407989
add esp, 0xc
test eax, eax
jne 0x408ac0
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x408ab6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x80004005
jmp 0x408932
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0xbc]
push 0xffffffffffffffff
push eax
mov byte [ebp - 4], 9
call fcn.00409d42
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 0x408b26
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.00409785
mov edi, eax
cmp edi, ebx
je 0x408b40
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x40899b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40899b
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.00408d2d
mov esi, eax
mov eax, dword [ebp - 0x18]
cmp esi, ebx
mov byte [ebp - 4], 6
je 0x408b76
cmp eax, ebx
je 0x408b6a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
jmp 0x408928
cmp eax, ebx
je 0x408b80
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x408b91
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