Function at 0x41b060
Capabilities:
Create udp socket
Delete file
Get file size
Initialize winsock library
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495a5c
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x630
mov eax, dword [0x4cf0c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x640], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00474a90
add esp, 4
cmp eax, 2
jbe 0x41b0ba
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00474a90
add esp, 4
cmp eax, 2
ja 0x41b0c1
xor eax, eax
jmp 0x41b54c
mov edx, dword [ebp + 0xc]
push edx
call fcn.00474a90
add esp, 4
cmp eax, 0x200
jbe 0x41b0db
xor eax, eax
jmp 0x41b54c
mov dword [ebp - 0x41c], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x640]
cmp dword [eax + 4], 0xffffffff
jne 0x41b224
cmp dword [0x4d3d3c], 0
jne 0x41b124
lea ecx, [ebp - 0x638]
push ecx
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x41b124
mov dword [0x4d3d3c], 1
push 0
push 2
push 2
call sub.WS2_32.dll_socket
mov edx, dword [ebp - 0x640]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x640]
cmp dword [eax + 4], 0xffffffff
je 0x41b205
push 0x10
push 0
lea ecx, [ebp - 0x4a4]
push ecx
call fcn.00474130
add esp, 0xc
mov edx, 2
mov word [ebp - 0x4a4], dx
push 0
call sub.WS2_32.dll_htonl
mov dword [ebp - 0x4a0], eax
mov eax, dword [ebp - 0x640]
movzx ecx, word [eax + 0x1cd0]
push ecx
call sub.WS2_32.dll_htons
mov word [ebp - 0x4a2], ax
push 0x10
lea edx, [ebp - 0x4a4]
push edx
mov eax, dword [ebp - 0x640]
mov ecx, dword [eax + 4]
push ecx
call sub.WS2_32.dll_bind
test eax, eax
jge 0x41b205
mov edx, dword [ebp - 0x640]
mov eax, dword [edx + 4]
push eax
mov ecx, 0x4d4470
call fcn.0042a500
mov ecx, dword [ebp - 0x640]
mov dword [ecx + 4], 0xffffffff
push 0x49df40
mov edx, dword [ebp - 0x640]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x640]
mov edx, dword [eax + 0x10]
call edx
mov eax, dword [ebp - 0x640]
mov ecx, dword [eax + 0x1cd0]
add ecx, 1
mov edx, dword [ebp - 0x640]
mov dword [edx + 0x1cd0], ecx
xor eax, eax
jmp 0x41b54c
push 4
lea eax, [ebp - 0x41c]
push eax
push 0x20
push 0xffff
mov ecx, dword [ebp - 0x640]
mov edx, dword [ecx + 4]
push edx
call sub.WS2_32.dll_setsockopt
mov dword [ebp - 0x494], 0
push 0x50
push 0
lea eax, [ebp - 0x490]
push eax
call fcn.00474130
add esp, 0xc
push str.d:cachelog_
lea ecx, [ebp - 0x490]
push ecx
call fcn.00478da0
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x490]
push eax
call fcn.00474a90
add esp, 4
lea ecx, [ebp + eax - 0x490]
push ecx
call fcn.00478da0
add esp, 8
push str..txt
lea edx, [ebp - 0x490]
push edx
call fcn.00474a90
add esp, 4
lea eax, [ebp + eax - 0x490]
push eax
call fcn.00478da0
add esp, 8
push 0
push 0
push 4
push 0
push 7
push 0xc0000000
lea ecx, [ebp - 0x490]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x494], eax
cmp dword [ebp - 0x494], 0xffffffff
je 0x41b302
push 0
mov edx, dword [ebp - 0x494]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x63c], eax
mov eax, dword [ebp - 0x494]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x63c], 0x7a120
jbe 0x41b302
lea ecx, [ebp - 0x490]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x1e
lea edx, [ebp - 0x43c]
push edx
mov ecx, dword [ebp - 0x640]
call fcn.0040c780
mov eax, dword [ebp - 0x640]
mov ecx, dword [eax + 0x1644]
add ecx, 1
mov edx, dword [ebp - 0x640]
mov dword [edx + 0x1644], ecx
mov eax, dword [ebp - 0x640]
cmp dword [eax + 0x1644], 0xf4240
jbe 0x41b353
mov ecx, dword [ebp - 0x640]
mov dword [ecx + 0x1644], 0
push 0x49df70
push 0x49df74
call fcn.00474a90
add esp, 4
add eax, 2
push eax
lea edx, [ebp - 0x43c]
push edx
call fcn.00474a90
add esp, 4
lea eax, [ebp + eax - 0x43c]
push eax
call fcn.00474a28
add esp, 0xc
push 0xa
push 0xc
lea ecx, [ebp - 0x43c]
push ecx
call fcn.00474a90
add esp, 4
lea edx, [ebp + eax - 0x43c]
push edx
mov eax, dword [ebp - 0x640]
mov ecx, dword [eax + 0x1644]
push ecx
call fcn.00477239
add esp, 0x10
mov edx, dword [ebp - 0x640]
cmp dword [edx + 4], 0xffffffff
je 0x41b517
push 0x400
push 0
lea eax, [ebp - 0x418]
push eax
call fcn.00474130
add esp, 0xc
push 0x10
push 0
lea ecx, [ebp - 0x4a4]
push ecx
call fcn.00474130
add esp, 0xc
mov edx, 2
mov word [ebp - 0x4a4], dx
push str.192.168.0.255
call sub.WS2_32.dll_inet_addr
mov dword [ebp - 0x4a0], eax
push 0x593
call sub.WS2_32.dll_htons
mov word [ebp - 0x4a2], ax
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x418]
push ecx
call fcn.00478da0
add esp, 8
push 0x49df88
lea edx, [ebp - 0x418]
push edx
call fcn.00474a90
add esp, 4
lea eax, [ebp + eax - 0x418]
push eax
call fcn.00478da0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x418]
push edx
call fcn.00474a90
add esp, 4
lea eax, [ebp + eax - 0x418]
push eax
call fcn.00478da0
add esp, 8
push 0x49df8c
lea ecx, [ebp - 0x418]
push ecx
call fcn.00474a90
add esp, 4
lea edx, [ebp + eax - 0x418]
push edx
call fcn.00478da0
add esp, 8
push 0x49df90
lea eax, [ebp - 0x418]
push eax
call fcn.00474a90
add esp, 4
lea ecx, [ebp + eax - 0x418]
push ecx
call fcn.00478da0
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.00474a90
add esp, 4
lea ecx, [ebp + eax - 0x418]
push ecx
call fcn.00478da0
add esp, 8
push 0x10
lea edx, [ebp - 0x4a4]
push edx
push 0
lea eax, [ebp - 0x418]
push eax
call fcn.00474a90
add esp, 4
push eax
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x640]
mov eax, dword [edx + 4]
push eax
call sub.WS2_32.dll_sendto
lea ecx, [ebp - 0x490]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x43c]
push eax
push 0x49df94
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x41b543
mov dword [ebp - 4], 0xffffffff
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 - 0x14]
xor ecx, ebp
call fcn.00474590
mov esp, ebp
pop ebp
ret 8