Function at 0x4114cc
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x55e7ff
call fcn.0053c1d0
sub esp, 0x254
mov eax, dword [0x5af710]
push ebx
mov ebx, dword [ebp + 8]
xor eax, ebp
test ebx, ebx
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
je 0x411b4b
cmp byte [ebx], 0
je 0x411b4b
test eax, eax
je 0x411b4b
cmp byte [eax], 0
je 0x411b4b
test edi, edi
je 0x411b4b
cmp byte [edi], 0
je 0x411b4b
test ecx, ecx
je 0x411b4b
cmp byte [ecx], 0
je 0x411b4b
mov ecx, esi
call fcn.00410b7f
test eax, eax
jne 0x4116fc
mov ebx, 0x204
cmp dword [0x5b21c0], ebx
jne 0x411b4b
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [ebp - 0x1e0]
call fcn.00404a20
mov esi, 0x572a6c
push esi
push str.CreateFile
push 0x572a4c
push esi
push 0x572a48
push ebx
push 0x572a40
push dword [ebp - 0x64]
mov eax, 0x572a3c
push eax
push dword [ebp - 0x66]
and dword [ebp - 4], 0
push eax
push dword [ebp - 0x68]
mov edx, 0x572a38
push edx
push dword [ebp - 0x6a]
mov ecx, 0x572a34
push ecx
push dword [ebp - 0x6e]
push ecx
push dword [ebp - 0x70]
push edx
push 0x176
push eax
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x5c], esp
push str..DownLoadFile.cpp
call fcn.00405500
lea eax, [ebp - 0xa8]
push eax
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 1
jb 0x4115f9
mov eax, dword [eax + 4]
jmp 0x4115fc
add eax, 4
push eax
lea eax, [ebp - 0x1e0]
push 0x572a0c
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0xa8]
call fcn.00402c50
lea eax, [ebp - 0x1e0]
push eax
call fcn.00407930
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x194]
call fcn.004028d0
mov dword [ebp - 0x194], 0x572840
lea ecx, [ebp - 0x194]
jmp 0x411b46
mov ecx, esi
call fcn.0040b8e1
push 1
push 2
pop esi
push esi
lea ecx, [ebp - 0x128]
call fcn.00404a20
mov dword [ebp - 4], esi
mov esi, 0x572a6c
push esi
push dword [ebp - 0x5c]
mov eax, 0x572bf8
push eax
push str.DeviceIdentifyList
push esi
push edi
push eax
push str.IPList
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push eax
push str.FileSize
push esi
push dword [ebp - 0x60]
push eax
push str.LocalPath
push esi
push ebx
push eax
lea eax, [ebp - 0x128]
push str.ServerPath
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.0040bcd7
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x128]
call fcn.00407320
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 3
jb 0x411818
mov eax, dword [eax + 4]
jmp 0x41181b
add eax, 4
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405500
push 0
push 1
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 5
call fcn.00402c50
mov ebx, dword [ebp - 0x18]
add ebx, 0x25
push ebx
lea ecx, [ebp - 0x68]
call fcn.00402b40
mov edi, dword [ebp - 0x68]
mov dword [edi], 0x512
mov dword [edi + 4], 0x24
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x18], eax
mov word [edi + 0x14], 0x5002
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x41186e
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x24]
push eax
call fcn.0053c4b0
pop ecx
pop ecx
push str.127.0.0.1
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov ecx, dword [0x5b096c]
push eax
call fcn.0040ba5e
push eax
lea ecx, [ebp - 0x58]
call fcn.004013c0
or dword [ebp - 0x44], 0xffffffff
mov word [ebp - 0x40], 2
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x48], 0x572c04
push 5
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 7
call fcn.005087d6
test eax, eax
jne 0x411b08
push eax
dec ebx
push ebx
push edi
push dword [ebp - 0x44]
call fcn.00503ed7
add esp, 0x10
push 0x572aed
lea ecx, [ebp - 0x8c]
call fcn.00405500
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 8
call fcn.0040bb6a
push 0
push 1
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 7
call fcn.00402c50
push dword [ebp - 0x60]
lea eax, [ebp - 0x128]
push str.UDP
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
mov ebx, 0x204
cmp dword [0x5b21c0], ebx
pop ecx
pop ecx
jne 0x411b08
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [ebp - 0x260]
call fcn.00404a20
push esi
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 9
call fcn.00407320
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0xa
jb 0x411982
mov eax, dword [eax + 4]
jmp 0x411985
add eax, 4
push eax
push 0x572a4c
push esi
push 0x572a48
push ebx
push 0x572a40
push dword [ebp - 0x74]
mov eax, 0x572a3c
push eax
push dword [ebp - 0x76]
mov edx, 0x572a38
push eax
push dword [ebp - 0x78]
mov ecx, 0x572a34
push edx
push dword [ebp - 0x7a]
push ecx
push dword [ebp - 0x7e]
push ecx
push dword [ebp - 0x80]
push edx
push 0x193
push eax
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x5c], esp
push str..DownLoadFile.cpp
call fcn.00405500
lea eax, [ebp - 0x144]
push eax
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0xb
jb 0x4119f6
mov eax, dword [eax + 4]
jmp 0x4119f9
add eax, 4
push eax
lea eax, [ebp - 0x260]
push 0x572a0c
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x144]
call fcn.00402c50
push 0
push 1
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 9
call fcn.00402c50
lea eax, [ebp - 0x260]
push eax
call fcn.00407930
pop ecx
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 7
call fcn.004028d0
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], 0x572840
call fcn.0054dfcb
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.0040b997
push edi
call fcn.0055047a
pop ecx
push 0
lea ecx, [ebp - 0x2c]
push 1
call fcn.00402c50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.004028d0
mov dword [ebp - 0xdc], 0x572840
lea ecx, [ebp - 0xdc]
call fcn.0054dfcb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0053aaae
leave
ret 0x18