Function at 0x41ed99
Capabilities:
Initialize winsock library

Disassembly:
mov eax, 0x4dddcf
call fcn.004d1ec0
sub esp, 0x1f8
mov eax, dword [0x52f220]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, ebp
mov edi, ecx
push str.thunder_performance_startup_InitInstance
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x204], edi
call fcn.00414d45
pop ecx
lea eax, [ebp - 0x1f4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor ebx, ebx
cmp esi, ebx
je 0x41edf6
push str._nobughandler
push esi
call dword [sym.imp.MSVCR71.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
jne 0x41ee08
push 0x4f1910
call fcn.004ce390
pop ecx
mov ecx, edi
call fcn.0041d6d2
push str.thunder_performance_startup_InitXLBugHandler
call fcn.00414d45
pop ecx
push esi
lea ecx, [ebp - 0x1fc]
call fcn.00402f7c
push str._AgentFile:
push str._AgentFile
lea ecx, [ebp - 0x1fc]
mov dword [ebp - 4], ebx
call fcn.0041dac5
push ebx
push 0x4f1da4
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 0x1f5], bl
call fcn.0041da26
cmp eax, 0xffffffff
je 0x41eeae
push ebx
push 0x4f1da0
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 0x1f5], 1
call fcn.0041da26
mov ecx, dword [ebp - 0x1fc]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x1fc]
call fcn.0041dc43
mov esi, dword [ebp - 0x200]
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCR71.dll__wtoi]
push eax
call fcn.0041ec3f
pop ecx
pop ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], bl
call fcn.00401591
push dword [ebp - 0x1fc]
call section..text
mov ecx, eax
call fcn.004327d1
test eax, eax
jne 0x41eef6
call fcn.0041ea46
test al, al
jne 0x41efac
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
mov esi, str.XLShellCommandWindow
push esi
push esi
call edi
test eax, eax
jne 0x41eedc
call section..text
mov ecx, eax
call fcn.00431d94
mov edi, dword [ebp - 0x204]
push str.thunder_performance_startup_InitShellCommandManager
call fcn.00414d45
pop ecx
call fcn.0041f1f9
test al, al
jne 0x41ef81
push str.thunder_performance_startup_InitOldMutex
call fcn.00414d45
mov dword [esp], str.xl_data.dll
call fcn.0041680d
mov dword [esp], str.thunder_performance_startup_InitXLData
call fcn.00414d45
pop ecx
lea ecx, [edi + 0x4a8]
call fcn.00416635
lea esi, [edi + 4]
mov ecx, esi
call fcn.0042fbc5
mov ecx, edi
call fcn.0041cfbe
push str.thunder_performance_startup_InitSkinManager
call fcn.00414d45
pop ecx
mov ecx, esi
call fcn.0042d482
push str.thunder_performance_startup_LoadXAR
call fcn.00414d45
pop ecx
mov ecx, esi
call fcn.0042c83e
push dword [ebp - 0x1fc]
call section..text
mov ecx, eax
call fcn.00432031
mov bl, 1
mov ecx, dword [ebp - 0x1fc]
add ecx, 0xfffffff0
call fcn.00401591
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004d1f17
leave
ret 4
cmp byte [ebp - 0x1f5], bl
jne 0x41eef6
lea eax, [ebp - 0x200]
push eax
mov dword [ebp - 0x200], ebx
call section..text
mov ecx, eax
call fcn.00431b4e
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [ebp - 0x2c]
push eax
push ebx
mov byte [ebp - 4], 3
call section..text
mov ecx, eax
call fcn.00431fc0
cmp dword [ebp - 0x200], 1
jbe 0x41f017
lea eax, [ebp - 0x48]
push eax
push 1
call section..text
mov ecx, eax
call fcn.00431fc0
mov edi, str._starttype:
push edi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push eax
call esi
lea ecx, [ebp - 0x2c]
mov ebx, eax
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp ebx, eax
je 0x41f061
push edi
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call esi
lea ecx, [ebp - 0x48]
mov edi, eax
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp edi, eax
mov byte [ebp - 0x1f6], 0
jne 0x41f068
mov byte [ebp - 0x1f6], 1
mov edi, str._quicklaunch:
push edi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call esi
lea ecx, [ebp - 0x2c]
mov ebx, eax
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp ebx, eax
je 0x41f0ac
push edi
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call esi
lea ecx, [ebp - 0x48]
mov edi, eax
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp edi, eax
mov byte [ebp - 0x1f5], 0
jne 0x41f0b3
mov byte [ebp - 0x1f5], 1
mov edi, str._UnfinishTaskNum:
push edi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call esi
lea ecx, [ebp - 0x2c]
mov ebx, eax
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp ebx, eax
je 0x41f0f4
push edi
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call esi
lea ecx, [ebp - 0x48]
mov ebx, eax
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp ebx, eax
je 0x41f0f4
xor al, al
jmp 0x41f0f6
mov al, 1
xor ecx, ecx
cmp dword [ebp - 0x200], ecx
je 0x41f145
cmp dword [ebp - 0x200], 1
jne 0x41f111
cmp byte [ebp - 0x1f6], cl
jne 0x41f145
cmp dword [ebp - 0x200], 2
jne 0x41f12e
cmp byte [ebp - 0x1f6], cl
je 0x41f12e
cmp byte [ebp - 0x1f5], cl
jne 0x41f158
cmp al, cl
jne 0x41f158
push dword [ebp - 0x1fc]
call section..text
mov ecx, eax
call fcn.00432031
jmp 0x41f1d9
cmp byte [ebp - 0x1f5], cl
jne 0x41f158
cmp al, cl
jne 0x41f158
push str._window:bringtotop
jmp 0x41f134
push 0x4f1b48
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push str._quicklaunch:
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call esi
lea ecx, [ebp - 0x2c]
mov ebx, eax
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp ebx, eax
je 0x41f1a9
push edi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call esi
lea ecx, [ebp - 0x2c]
mov esi, eax
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp esi, eax
lea eax, [ebp - 0x48]
jne 0x41f1ac
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x64]
push eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call section..text
mov ecx, eax
call fcn.00432031
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor bl, bl
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x41ef81