Function at 0x417455
Capabilities:
Create thread
Initialize winsock library

Disassembly:
mov eax, 0x4249bc
call fcn.00422230
sub esp, 0x1fc
mov eax, dword [0x430520]
push ebx
xor eax, ebp
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [edi + 0x40c], ebx
mov dword [ebp - 0x1e4], edi
mov dword [ebp - 0x1ac], eax
jne 0x4174b8
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, ebx
je 0x4174ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x417b68
mov dword [edi + 0x40c], 1
lea esi, [edi + 0x400]
cmp dword [esi], 0xffffffff
jne 0x4174d9
push ebx
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x417b68
lea ecx, [ebp - 0x1c4]
call fcn.00402f4c
lea eax, [ebp - 0x1c4]
push eax
mov dword [ebp - 4], ebx
call fcn.00402b32
mov ecx, eax
call fcn.004027db
push ebx
lea ecx, [ebp - 0x1c4]
call fcn.0040259e
mov esi, eax
call fcn.00402b32
mov ecx, eax
call fcn.0040210c
mov ecx, edi
push eax
push esi
call fcn.004170f3
lea ecx, [ebp - 0x204]
call fcn.0040de76
mov byte [ebp - 4], 1
call fcn.0040a251
mov ecx, eax
call fcn.00408ea7
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00405488
mov dword [ebp - 0x1bc], ebx
lea eax, [ebp - 0x1bc]
push eax
mov byte [ebp - 4], 3
call fcn.0040398b
lea ecx, [ebp - 0x1cc]
mov esi, eax
mov dword [esp], str.FFFFFFFFFFFFFFFF
call fcn.00402150
cmp esi, ebx
mov byte [ebp - 4], 4
jne 0x417589
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [eax]
lea edx, [ebp - 0x1cc]
push edx
push eax
call dword [ecx + 0x28]
push ecx
mov ecx, esp
mov dword [ebp - 0x1b0], esp
push dword [ebp - 0x1cc]
call fcn.00405488
lea ecx, [ebp - 0x204]
call fcn.0040df5b
lea eax, [ebp - 0x1dc]
push eax
call fcn.0041e39e
lea eax, [ebp - 0x1dc]
mov dword [ebp - 0x1b0], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 5
call fcn.00402536
lea ecx, [ebp - 0x204]
call fcn.0040e407
push ecx
mov ecx, esp
mov dword [ebp - 0x1b0], esp
push 0x428c00
call fcn.00405488
lea ecx, [ebp - 0x204]
call fcn.0040e2dc
push dword [ebp + 8]
lea ecx, [ebp - 0x204]
push dword [ebp - 0x1ac]
call fcn.0040eae4
push ecx
mov ecx, esp
mov dword [ebp - 0x1ac], esp
push 0x428bfc
call fcn.00405488
lea ecx, [ebp - 0x204]
call fcn.0040e532
mov dword [ebp - 0x1b8], ebx
lea eax, [ebp - 0x1b8]
push eax
push 0x428ca0
push ebx
mov byte [ebp - 4], 6
call fcn.0040f4e6
cmp eax, ebx
je 0x41767a
mov eax, dword [ebp - 0x1b8]
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x41765b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1dc]
add ecx, 0xfffffff0
call fcn.004021e8
push dword [ebp - 0x1cc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x417b2a
mov dword [ebp - 0x1a8], ebx
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax]
lea edx, [ebp - 0x1a8]
push edx
push eax
mov byte [ebp - 4], 7
call dword [ecx + 0xc]
mov dword [ebp - 0x1c8], ebx
mov dword [ebp - 0x1e8], ebx
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [eax]
lea edx, [ebp - 0x1e8]
push edx
push eax
mov byte [ebp - 4], 9
call dword [ecx + 0x14]
push 0x42771c
lea ecx, [ebp - 0x1e8]
call fcn.004021b8
test al, al
je 0x4176df
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [eax]
push str.ThunderUpdate
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c8]
push edx
push eax
call dword [ecx + 0xc]
cmp dword [ebp - 0x1c8], ebx
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
je 0x417714
push dword [ebp - 0x1c8]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, ebx
jne 0x4177cc
lea eax, [ebp - 0x1b0]
push eax
call fcn.0041dafb
push dword [eax]
lea eax, [ebp - 0x1ac]
push eax
mov byte [ebp - 4], 0xa
call fcn.0041dd35
add esp, 0xc
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xfffffff0
call fcn.004021e8
mov dword [ebp - 0x1a4], ebx
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [eax]
lea edx, [ebp - 0x1a4]
push edx
push eax
mov byte [ebp - 4], 0xd
call dword [ecx + 0x2c]
cmp dword [ebp - 0x1a4], ebx
je 0x4177aa
push dword [ebp - 0x1ac]
lea ecx, [ebp - 0x1c0]
call fcn.00402150
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1a4]
mov edx, dword [ecx]
push eax
push ecx
mov byte [ebp - 4], 0xe
call dword [edx + 0x10]
push dword [ebp - 0x1c0]
mov byte [ebp - 4], 0xd
call esi
mov eax, dword [ebp - 0x1a8]
push dword [ebp - 0x1a4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x1a4]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x4177be
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1ac]
add ecx, 0xfffffff0
call fcn.004021e8
mov dword [ebp - 0x1d8], ebx
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [eax]
lea edx, [ebp - 0x1d8]
push edx
push eax
mov byte [ebp - 4], 0xf
call dword [ecx + 0x3c]
cmp dword [ebp - 0x1d8], ebx
je 0x417adc
mov edi, dword [sym.imp.ATL71.DLL_Ordinal_30]
push ebx
lea eax, [ebp - 0x1a8]
push eax
call edi
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax]
lea edx, [ebp - 0x1a8]
push edx
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jne 0x417a61
mov eax, dword [ebp - 0x1a8]
cmp eax, ebx
je 0x417a61
mov dword [ebp - 0x1ac], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x1ac]
push edx
push eax
mov byte [ebp - 4], 0x10
call dword [ecx + 0x14]
push dword [ebp - 0x1ac]
lea ecx, [ebp - 0x1b0]
call fcn.00405488
mov dword [ebp - 0x1d4], ebx
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [eax]
lea edx, [ebp - 0x1d4]
push edx
push eax
mov byte [ebp - 4], 0x12
call dword [ecx + 0xc]
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x1d0]
push eax
call fcn.00417273
test al, al
pop ecx
pop ecx
push ecx
mov ecx, esp
je 0x417a01
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x1a4], esp
push eax
call fcn.00402536
lea ecx, [ebp - 0x204]
call fcn.0040e086
push ecx
mov ecx, esp
mov dword [ebp - 0x1a4], esp
push dword [ebp - 0x1d4]
call fcn.00405488
lea ecx, [ebp - 0x204]
call fcn.0040e1b1
mov dword [ebp - 0x1e0], ebx
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [eax]
lea edx, [ebp - 0x1e0]
push edx
push eax
mov byte [ebp - 4], 0x13
call dword [ecx + 0x40]
cmp eax, ebx
jne 0x4179eb
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 0x1a4], ebx
jmp 0x4179a2
mov eax, dword [ebp - 0x1b4]
mov ecx, dword [eax]
lea edx, [ebp - 0x1a4]
push edx
push 0x428c70
push eax
call dword [ecx]
cmp edi, ebx
jne 0x4179c3
mov dword [ebp - 0x1c0], ebx
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c0]
push edx
push eax
mov byte [ebp - 4], 0x17
call dword [ecx + 0x18]
push ecx
mov ecx, esp
mov dword [ebp - 0x1ec], esp
push dword [ebp - 0x1c0]
call fcn.00405488
lea ecx, [ebp - 0x204]
call fcn.0040e65d
push dword [ebp - 0x1c0]
call esi
mov eax, dword [ebp - 0x1a4]
cmp eax, ebx
mov byte [ebp - 4], 0x15
je 0x417982
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1b4]
cmp eax, ebx
mov byte [ebp - 4], 0x14
je 0x417996
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 0x1a4], ebx
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [eax]
lea edx, [ebp - 0x1b4]
push edx
push eax
mov byte [ebp - 4], 0x16
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
je 0x41790b
mov eax, dword [ebp - 0x1a4]
cmp eax, ebx
mov byte [ebp - 4], 0x15
je 0x4179d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1b4]
cmp eax, ebx
mov byte [ebp - 4], 0x14
je 0x4179eb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1e0]
cmp eax, ebx
mov byte [ebp - 4], 0x12
je 0x417a3a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x417a3a
mov dword [ebp - 0x1ec], esp
push dword [ebp - 0x1d4]
call fcn.00405488
push ecx
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x208], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x18
call fcn.00402536
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 0x12
call fcn.0040e80d
push dword [ebp - 0x1d4]
call esi
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xfffffff0
call fcn.004021e8
push dword [ebp - 0x1ac]
mov byte [ebp - 4], 0xf
call esi
jmp 0x4177f5
mov eax, dword [ebp - 0x1e4]
add eax, 0x410
push eax
lea ecx, [ebp - 0x204]
call fcn.0040e9cb
mov eax, dword [ebp - 0x1e4]
add eax, 0x410
push 0x42771c
push eax
call fcn.00417418
test al, al
pop ecx
pop ecx
je 0x417abe
lea eax, [ebp - 0x1ec]
push eax
push ebx
push dword [ebp - 0x1e4]
push 0x417382
push ebx
push ebx
call dword [sym.imp.MSVCR71.dll__beginthreadex]
mov ecx, dword [ebp - 0x1e4]
add esp, 0x18
mov dword [ecx + 0x408], eax
push ebx
lea eax, [ebp - 0x1b8]
push eax
call edi
mov eax, dword [ebp - 0x1d8]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x417adc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x1e8]
call esi
push dword [ebp - 0x1c8]
call esi
mov eax, dword [ebp - 0x1a8]
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x417b00
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1b8]
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x417b14
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1dc]
add ecx, 0xfffffff0
call fcn.004021e8
push dword [ebp - 0x1cc]
call esi
mov eax, dword [ebp - 0x1bc]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x417b3e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1d0]
add ecx, 0xfffffff0
call fcn.004021e8
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], bl
call fcn.0040df0d
mov ecx, dword [ebp - 0x1c4]
add ecx, 0xfffffff0
call fcn.004021e8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422213
leave
ret 8