Function at 0x417d10
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8d41
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x535820]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x45c], ecx
mov eax, dword [ebp + 0xc]
cmp eax, 0x5e4a
je 0x417e18
cmp eax, 0xb333
je 0x417e18
cmp eax, 0x5e4b
jne 0x417e0e
call fcn.004178a0
mov esi, eax
test esi, esi
je 0x418141
mov ebx, dword [ebp + 8]
push ebx
push esi
call fcn.004b5fb0
add esp, 8
test eax, eax
jne 0x417da1
push eax
push esi
call fcn.004b5760
add esp, 8
mov ecx, esi
call fcn.00412270
or eax, 0xffffffff
jmp 0x4180c4
push esi
call fcn.004b50c0
mov edi, eax
add esp, 4
cmp edi, 1
je 0x417dd5
push edi
push esi
call fcn.004b5760
add esp, 8
cmp eax, 2
je 0x417dc5
cmp eax, 3
jne 0x417e00
push esi
call fcn.004b50c0
mov edi, eax
add esp, 4
cmp edi, 1
jne 0x417db1
push esi
call fcn.004b5890
mov ecx, dword [ebp - 0x45c]
add esp, 4
push 0x5e4b
push esi
push ebx
call fcn.00418150
cmp eax, 0xffffffff
jne 0x4180c2
or eax, eax
jmp 0x4180c4
mov ecx, esi
call fcn.00412270
mov eax, edi
jmp 0x4180c4
mov eax, 0xfffffffe
jmp 0x4180c4
push 0x3ff
lea eax, [ebp - 0x40f]
push 0
push eax
mov byte [ebp - 0x410], 0
call fcn.00423960
add esp, 0xc
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], 0
mov byte [ebp - 0x458], 0
mov dword [ebp - 4], 0
push 0x16
push str._policy_file_request__
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
call fcn.00405920
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.WS2_32.dll_recv]
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x417ea0
push 2
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push edi
call esi
cmp eax, 0xffffffff
jne 0x417ec6
call ebx
cmp eax, 0x2733
je 0x417ea0
call ebx
jmp 0x4180f8
cmp byte [ebp - 0x410], 0
jne 0x417ed3
xor ecx, ecx
jmp 0x417ee9
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417ee0
sub ecx, edx
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x458]
call fcn.00405920
cmp dword [ebp - 0x414], 0x10
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x428]
cmovae ecx, dword [ebp - 0x428]
cmp dword [ebp - 0x444], 0x10
lea edx, [ebp - 0x458]
cmovae edx, dword [ebp - 0x458]
cmp dword [ebp - 0x448], eax
mov esi, eax
cmovb esi, dword [ebp - 0x448]
test esi, esi
je 0x417f9c
sub esi, 4
jb 0x417f53
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x417f58
add edx, 4
add ecx, 4
sub esi, 4
jae 0x417f42
cmp esi, 0xfffffffc
je 0x417f8c
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x417f85
cmp esi, 0xfffffffd
je 0x417f8c
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x417f85
cmp esi, 0xfffffffe
je 0x417f8c
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x417f85
cmp esi, 0xffffffff
je 0x417f8c
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x417f8c
sbb eax, eax
or eax, 1
jmp 0x417f8e
xor eax, eax
test eax, eax
jne 0x4180e2
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x448]
cmp ecx, eax
jb 0x4180e2
xor eax, eax
cmp ecx, dword [ebp - 0x418]
setne al
test eax, eax
jne 0x4180e2
mov dword [ebp - 0x42c], 0xf
mov dword [ebp - 0x430], eax
mov byte [ebp - 0x440], al
push 0xd4
push str.__xml_version1.0____DOCTYPE_cross_domain_policy_SYSTEM_http:__www.adobe.com_xml_dtds_cross_domain_policy.dtd__cross_domain_policy__allow_access_from_domain_to_ports52073_51629_____cross_domain_policy_
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 2
call fcn.00407440
cmp dword [ebp - 0x42c], 0x10
push 0
push dword [ebp - 0x430]
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x41804e
call ebx
cmp dword [ebp - 0x42c], 0x10
jb 0x41802e
push dword [ebp - 0x440]
call fcn.0041e60d
add esp, 4
mov dword [ebp - 0x42c], 0xf
mov dword [ebp - 0x430], 0
mov byte [ebp - 0x440], 0
jmp 0x4180f8
test edi, edi
je 0x418062
push 1
push edi
call dword [sym.imp.WS2_32.dll_shutdown]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [ebp - 0x42c], 0x10
jb 0x418079
push dword [ebp - 0x440]
call fcn.0041e60d
add esp, 4
cmp dword [ebp - 0x414], 0x10
jb 0x418090
push dword [ebp - 0x428]
call fcn.0041e60d
add esp, 4
cmp dword [ebp - 0x444], 0x10
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
jb 0x4180c2
push dword [ebp - 0x458]
call fcn.0041e60d
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x45c]
push 0
push edi
call fcn.00418150
cmp eax, 0xffffffff
jne 0x418079
cmp dword [ebp - 0x414], 0x10
jb 0x41810f
push dword [ebp - 0x428]
call fcn.0041e60d
add esp, 4
cmp dword [ebp - 0x444], 0x10
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
jb 0x418141
push dword [ebp - 0x458]
call fcn.0041e60d
add esp, 4
or eax, 0xffffffff
jmp 0x4180c4