Function at 0x100ad180
Capabilities:
Act as tcp client
Check for time delay via gettickcount
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Send data
Send data on socket
Send http request
Set socket configuration

Disassembly:
push ebp
lea ebp, [esp - 0x7158]
mov eax, 0x7158
call fcn.10140530
push 0xfffffffffffffffe
push 0x10184cc0
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x7154], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], 0x101aacf8
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
mov byte [ebp + 0x7050], 0
push 0x103
push esi
lea eax, [ebp + 0x7051]
push eax
call fcn.1012e060
mov byte [ebp + 0x5e18], 0
push 0x3ff
push esi
lea ecx, [ebp + 0x5e19]
push ecx
call fcn.1012e060
mov dword [ebp - 0x54], esi
mov byte [ebp + 0x6f4c], 0
push 0x103
push esi
lea edx, [ebp + 0x6f4d]
push edx
call fcn.1012e060
mov byte [ebp + 0x6934], 0
push 0x207
push esi
lea eax, [ebp + 0x6935]
push eax
call fcn.1012e060
add esp, 0x30
mov dword [ebp - 0x48], esi
mov ecx, dword [ebp + 0x716c]
mov dword [ebp - 0x2c], ecx
cmp dword [0x101a5a14], 0xffffffff
jne 0x100ad29c
mov dword [0x101a5a14], esi
push 0x101a5a14
push str.UseOnlyTCP
mov ecx, str.SoftwareMicroWorld
mov edx, reloc.WS2_32.dll_bind
call fcn.10059e30
test al, al
jne 0x100ad29c
mov eax, dword [0x101a5a14]
mov esi, str.UseOnlyTCP
mov ebx, str.SOFTWAREMicroWorld
mov ecx, reloc.WS2_32.dll_bind
call fcn.10059bf0
xor esi, esi
xor eax, eax
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x7164]
cmp ecx, esi
je 0x100ad2ca
cmp byte [ecx], al
je 0x100ad2ca
lea edx, [ebp + 0x6934]
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100ad2c0
mov dword [ebp - 0x20], 1
mov dword [edi + 0x1288], esi
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x64], edx
mov eax, dword [edi + 8]
mov dword [ebp - 0x38], eax
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x44], ecx
lea edx, [edi + 0x12c]
push edx
call fcn.10128238
add esp, 4
movzx esi, ax
mov dword [ebp - 0x3c], esi
mov eax, dword [edi + 0x1178]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100ad307
sub eax, ecx
mov dword [ebp - 0x34], eax
mov eax, 2
mov word [ebp], ax
push esi
call sub.WS2_32.dll_htons
mov word [ebp + 2], ax
lea ebx, [edi + 0x28]
push ebx
call sub.WS2_32.dll_inet_addr
mov dword [ebp + 4], eax
mov dword [ebp - 0x20], 2
cmp eax, 0xffffffff
jne 0x100ad5e7
mov dword [ebp - 0x48], 1
xor edi, edi
mov dword [ebp - 0x78], edi
cmp edi, 3
jge 0x100ad42c
cmp dword [ebp - 0x24], 0
je 0x100ad36c
push edi
push ebx
push str.gethostbyname_of__s__try__u_..._n
call fcn.1006f3b0
add esp, 0xc
mov ecx, ebx
call fcn.1000ee40
mov esi, eax
mov eax, dword [0x101aabe4]
test eax, eax
jne 0x100ad56f
test esi, esi
je 0x100ad474
mov ecx, dword [esi + 0xc]
cmp dword [ecx], eax
je 0x100ad474
mov byte [ebp + 0x6628], al
push 0x103
push eax
lea edx, [ebp + 0x6629]
push edx
call fcn.1012e060
add esp, 0xc
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp + 4], edx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push eax
call sub.WS2_32.dll_inet_ntoa
lea edx, [ebp + 0x6628]
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x100ad3d0
lea ecx, [ebp + 0x6628]
lea edx, [ebp + 0x6f4c]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100ad3e6
mov edx, dword [ebp - 0x28]
add edx, 0x28
push edx
push 0x101cd258
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call esi
lea eax, [ebp + 0x6628]
push eax
push 0x101cd460
call esi
cmp dword [ebp - 0x24], 0
je 0x100ad42c
lea ecx, [ebp + 0x6628]
push ecx
push str.gethostbyname_returns__s..._n
call fcn.1006f3b0
add esp, 8
mov edi, dword [ebp - 0x28]
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x68], ebx
lea esp, [esp]
mov edx, dword [edi + 0x1178]
add edx, ebx
mov al, byte [edx]
test al, al
je 0x100ad62d
cmp al, 9
jne 0x100ad5ff
lea ecx, [edx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100ad460
mov esi, 1
mov dword [ebp - 0x5c], esi
jmp 0x100ad440
test eax, eax
jne 0x100ad56f
cmp edi, 2
je 0x100ad48f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
jmp 0x100ad34b
test eax, eax
jne 0x100ad56f
mov byte [ebp + 0x631c], al
push 0x103
push eax
lea edx, [ebp + 0x631d]
push edx
call fcn.1012e060
push 0x104
lea esi, [ebp + 0x631c]
call fcn.10065360
mov eax, esi
push eax
push ebx
push str._ERROR__Unable_to_do_GetHostByName_of__s__Reason:__s
lea ecx, [ebp + 0x672c]
push ecx
call fcn.10127dc0
lea edx, [ebp + 0x672c]
push edx
push 0x1014d8cc
call fcn.10017540
push 0x101cd258
push ebx
call fcn.10135887
add esp, 0x30
test eax, eax
jne 0x100ad56f
cmp byte [0x101cd460], al
je 0x100ad56f
push 0x101cd460
push ebx
push str._ERROR__Forcing__s_____s...
lea eax, [ebp + 0x672c]
push eax
call fcn.10127dc0
lea ecx, [ebp + 0x672c]
push ecx
push 0x1014d8cc
call fcn.10017540
add esp, 0x18
cmp dword [ebp - 0x24], 0
je 0x100ad544
lea edx, [ebp + 0x672c]
push edx
push 0x10158254
call fcn.1006f3b0
add esp, 8
push 0x101cd460
call sub.WS2_32.dll_inet_addr
mov dword [ebp + 4], eax
mov ecx, 0x101cd460
lea edx, [ebp + 0x6f4c]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100ad560
jmp 0x100ad42c
cmp dword [ebp + 0x7160], 0
je 0x100ad58a
push ebx
push str._RC__ERROR__Unable_to_get_IP_Address_of_host__s__Aborting...
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1006ed90
add esp, 0xc
cmp dword [ebp - 0x24], 0
je 0x100ad59e
push ebx
push str._RC__ERROR__Unable_to_get_IP_Address_of_host__s__Aborting..._n
call fcn.1006f3b0
add esp, 8
mov eax, dword [ebp + 0x7164]
test eax, eax
je 0x100ad5c9
cmp byte [eax], 0
je 0x100ad5c9
cmp byte [0x101aae00], 0
je 0x100ad5c9
push ebx
push str._RC__ERROR__Unable_to_get_IP_Address_of_host__s__Aborting...
push 0x101aae00
call fcn.1006ed90
add esp, 0xc
cmp dword [ebp - 0x38], 0
je 0x100ad5d9
mov ecx, dword [ebp - 0x28]
mov byte [ecx + 0x136], 0
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x100af49d
lea ecx, [ebp + 0x6f4c]
lea ecx, [ecx]
mov al, byte [ebx]
mov byte [ecx], al
inc ebx
inc ecx
test al, al
jne 0x100ad5f0
jmp 0x100ad42f
cmp al, 0xa
jne 0x100ad627
lea ecx, [edx + 1]
cmp byte [ecx], 0
je 0x100ad627
jmp 0x100ad610
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100ad610
mov esi, 1
mov dword [ebp - 0x5c], esi
jmp 0x100ad440
inc ebx
jmp 0x100ad436
test esi, esi
je 0x100ad64c
mov eax, dword [edi + 0x1178]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100ad640
sub eax, edx
mov dword [ebp - 0x34], eax
lea eax, [edi + 0x1136]
cmp byte [eax], 0
jne 0x100ad660
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x30], eax
jmp 0x100ad676
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100ad663
sub eax, edx
mov ecx, dword [ebp - 0x34]
lea edx, [eax + ecx + 1]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x2c], 0
jne 0x100ad89f
xor ecx, ecx
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x100ad694
mov edx, 0x8b1
cmp word [ebp - 0x3c], dx
jne 0x100ad6bb
mov esi, dword [ebp - 0x1c]
cmp dword [ebp + 0x7160], 0
je 0x100ad6b4
movzx ecx, word [ebp - 0x3c]
push ecx
push eax
push str._RC__ItIsSurelyToEServ__TRUE__LogLineToEServ:_d__LogServerPort:_d_
push esi
call fcn.1006ed90
add esp, 0x10
mov ecx, 1
jmp 0x100ad6be
mov esi, dword [ebp - 0x1c]
cmp dword [0x101a5a14], 1
jne 0x100ad6ea
cmp dword [ebp + 0x7160], 0
je 0x100ad6de
push str._RC__Shifting_send_to__TCP__as_RegValueUseOnlyTCP1
push esi
call fcn.1006ed90
add esp, 8
mov dword [ebp - 0x2c], 0x14
jmp 0x100ad89f
test ecx, ecx
jne 0x100ad710
cmp dword [ebp + 0x7160], ecx
je 0x100ad704
push str._RC__Shifting_send_to__TCP__as_ItIsSurelyToEServ0
push esi
call fcn.1006ed90
add esp, 8
mov dword [ebp - 0x2c], 2
jmp 0x100ad89f
mov eax, dword [ebp - 0x34]
cmp eax, 0x1860
jle 0x100ad73e
cmp dword [ebp + 0x7160], 0
je 0x100ad732
push eax
push str._RC__Shifting_send_to__TCP__as_ll_len_u
push esi
call fcn.1006ed90
add esp, 0xc
mov dword [ebp - 0x2c], 4
jmp 0x100ad89f
cmp dword [ebp - 0x64], 0
je 0x100ad778
cmp dword [0x101ac854], 0
jbe 0x100ad778
cmp eax, 0x1060
jle 0x100ad778
cmp dword [ebp + 0x7160], 0
je 0x100ad76c
push eax
push str._RC__Shifting_send_to__TCP__as_ll_len_u___4192_
push esi
call fcn.1006ed90
add esp, 0xc
mov dword [ebp - 0x2c], 5
jmp 0x100ad89f
mov edi, dword [0x101ba628]
test edi, edi
jne 0x100ad7a7
cmp dword [ebp + 0x7160], edi
je 0x100ad79b
push str._RC__Shifting_send_to__TCP__as_RootEServHostList_is_NULL
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1006ed90
add esp, 8
mov dword [ebp - 0x2c], 6
jmp 0x100ad89f
cmp dword [0x101cd564], 0
jne 0x100ad7f0
push 0x101cd564
push str.TCPRecheckTimeMins
mov ecx, str.SoftwareMicroWorld
mov edx, reloc.WS2_32.dll_bind
call fcn.10059e30
cmp dword [0x101cd564], 0
jne 0x100ad7f0
mov eax, 0x14
mov dword [0x101cd564], eax
mov esi, str.TCPRecheckTimeMins
mov ebx, str.SOFTWAREMicroWorld
mov ecx, reloc.WS2_32.dll_bind
call fcn.10059bf0
mov esi, dword [ebp - 0x3c]
lea eax, [ebp + 0x6f4c]
push eax
push edi
call fcn.10135887
add esp, 8
test eax, eax
jne 0x100ad949
cmp word [edi + 0x40], si
jne 0x100ad949
cmp dword [edi + 0x48], eax
jne 0x100ad83c
cmp dword [ebp + 0x7160], eax
je 0x100ad833
push str._RC__Shifting_send_to__TCP__as_server_not_supporting_UDP
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1006ed90
add esp, 8
mov dword [ebp - 0x2c], 7
jmp 0x100ad89f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x4c]
mov edx, dword [0x101cd564]
imul edx, edx, 0xea60
cmp eax, edx
jbe 0x100ad878
cmp dword [ebp + 0x7160], 0
je 0x100ad86f
push str._RC__Shifting_send_to__TCP__as_reconnect_chk_to_be_done
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1006ed90
add esp, 8
mov dword [ebp - 0x2c], 8
jmp 0x100ad89f
mov dword [ebp - 0x2c], 0
mov edi, dword [edi + 0x44]
lea ecx, [ebp + 0x7050]
mov al, byte [edi]
mov byte [ecx], al
inc edi
inc ecx
test al, al
jne 0x100ad888
mov edi, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 0
je 0x100ae268
mov dword [ebp - 0x20], 4
cmp dword [ebp - 0x24], 0
je 0x100ad8b9
push str.Creating_TCP_Socket..._n
call fcn.1006f3b0
add esp, 4
cmp dword [ebp + 0x7160], 0
je 0x100ad8d3
push str._RC__TCP__Sending_via_TCP._Creating_TCP_Socket...
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1006ed90
add esp, 8
mov dword [ebp - 0x20], 5
push 6
push 1
push 2
call sub.WS2_32.dll_socket
mov edi, eax
mov dword [ebp - 0x34], edi
cmp edi, 0xffffffff
jne 0x100ad979
cmp dword [ebp + 0x7160], 0
je 0x100ad914
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str._RC__TCP__TCP_Socket_Creation_failed__LastError:_d
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1006ed90
add esp, 0xc
cmp dword [ebp - 0x24], 0
je 0x100ad927
push str.TCP_Socket_Creation_failed__n
call fcn.1006f3b0
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x100ad5d9
mov ecx, dword [ebp - 0x28]
mov byte [ecx + 0x136], 0
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x100af49d
mov edi, dword [edi + 0x50]
test edi, edi
jne 0x100ad7f3
cmp dword [ebp + 0x7160], edi
je 0x100ad96d
push str._RC__Shifting_send_to__TCP__as_no_matching_server_supporting_UDP
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1006ed90
add esp, 8
mov dword [ebp - 0x2c], 9
jmp 0x100ad89f
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x4c], 0
jmp 0x100ad990
mov esi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x1c]
cmp dword [ebp - 0x4c], 3
jge 0x100ada73
cmp dword [ebp + 0x7160], 0
je 0x100ad9df
lea eax, [ebp + 0x6f4c]
movzx edx, si
push edx
push eax
cmp dword [ebp - 0x48], 0
je 0x100ad9d1
mov ecx, dword [ebp - 0x28]
add ecx, 0x28
push ecx
push str._RC__Connecting_to__s___s:_u_
push ebx
call fcn.1006ed90
add esp, 0x14
jmp 0x100ad9df
push str._RC__Connecting_to__s:_u
push ebx
call fcn.1006ed90
add esp, 0x10
cmp dword [ebp - 0x24], 0
je 0x100ada19
movzx ecx, si
lea edx, [ebp + 0x6f4c]
push ecx
push edx
cmp dword [ebp - 0x48], 0
je 0x100ada0c
mov eax, dword [ebp - 0x28]
add eax, 0x28
push eax
push str._RC__Connecting_to__s___s:_u__n
call fcn.1006f3b0
add esp, 0x10
jmp 0x100ada19
push str._RC__Connecting_to__s:_u_n
call fcn.1006f3b0
add esp, 0xc
mov dword [ebp - 0x20], 7
push 0x10
lea eax, [ebp]
push eax
push edi
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
je 0x100adc76
cmp dword [0x101aabe4], 0
jne 0x100adc76
mov dword [ebp - 0x20], 0x48
cmp dword [ebp + 0x7160], 0
je 0x100ada60
push str._RC__Connect_Success
push ebx
call fcn.1006ed90
add esp, 8
cmp dword [ebp - 0x24], 0
je 0x100ada73
push str._RC__Connect_Success_n
call fcn.1006f3b0
add esp, 4
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x74], 0
lea edx, [ebp - 0x74]
push edx
push 0x8004667e
push edi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp dword [ebp + 0x7160], 0
je 0x100adaa8
push str._RC__Reading_Welcome_Msg...
push ebx
call fcn.1006ed90
add esp, 8
cmp dword [ebp - 0x24], 0
je 0x100adabb
push str._RC__Reading_Welcome_Msg..._n
call fcn.1006f3b0
add esp, 4
mov dword [ebp - 0x20], 9
push 0
lea eax, [ebp - 0x54]
push eax
push 0x7530
push 0x104
lea ecx, [ebp + 0x7050]
push ecx
push edi
lea edx, [ebp + 0x5e18]
lea ecx, [ebp - 0x58]
call fcn.1000f280
add esp, 0x18
mov dword [ebp - 0x20], 0x5b
cmp dword [0x101aabe4], 0
jne 0x100ae1d3
test eax, eax
je 0x100ae1d3
cmp dword [ebp + 0x7160], 0
je 0x100adb25
lea edx, [ebp + 0x7050]
push edx
push str._RC__Welcome_Msg_Read_Success___s_
push ebx
call fcn.1006ed90
add esp, 0xc
cmp dword [ebp - 0x24], 0
je 0x100adb3f
lea eax, [ebp + 0x7050]
push eax
push str._RC__Welcome_Msg_Read_Success___s__n
call fcn.1006f3b0
add esp, 8
mov dword [ebp - 0x20], 0x5c
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
cmp eax, ecx
je 0x100adf7a
cmp eax, 0x14
je 0x100adf7a
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x1c], ecx
jne 0x100adb72
mov eax, 0x8b1
cmp si, ax
jne 0x100adf7a
cmp byte [ebp + 0x7050], cl
je 0x100adf7a
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x60], ecx
mov esi, dword [0x101ba628]
mov dword [ebp - 0x20], 0x5d
cmp esi, ecx
je 0x100adea9
mov dword [ebp - 0x20], 0x5e
mov edi, 0x5f
lea ebx, [edi + 1]
jmp 0x100adbb0
mov dword [ebp - 0x20], edi
lea ecx, [ebp + 0x6f4c]
push ecx
push esi
call fcn.10135887
add esp, 8
test eax, eax
jne 0x100ade98
mov dx, word [ebp - 0x3c]
cmp word [esi + 0x40], dx
jne 0x100ade98
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x4c], eax
push 0
push str._UDP_
lea eax, [ebp + 0x7050]
push eax
call fcn.10063340
add esp, 0xc
cmp eax, 0xffffffff
je 0x100adc04
mov dword [esi + 0x48], 1
mov eax, dword [esi + 0x44]
test eax, eax
je 0x100adc28
cmp byte [eax], 0
je 0x100adc28
lea ecx, [ebp + 0x7050]
push ecx
push eax
call fcn.10135887
add esp, 8
test eax, eax
je 0x100adeb0
mov eax, dword [esi + 0x44]
test eax, eax
je 0x100adc38
push eax
call fcn.10128243
add esp, 4
lea eax, [ebp + 0x7050]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100adc41
sub eax, edx
inc eax
push eax
call fcn.10128320
add esp, 4
mov dword [esi + 0x44], eax
test eax, eax
je 0x100adeb0
lea ecx, [ebp + 0x7050]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100adc67
jmp 0x100adeb0
mov byte [ebp + 0x6c40], 0
push 0x103
push 0
lea ecx, [ebp + 0x6c41]
push ecx
call fcn.1012e060
add esp, 0xc
mov dword [ebp - 0x20], 0x47
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
push 0x104
lea esi, [ebp + 0x6c40]
call fcn.10065360
add esp, 4
cmp dword [ebp + 0x7160], 0
je 0x100adcd2
mov edx, esi
push edx
push str._RC__Connect_Failure._Reason:__s
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1006ed90
add esp, 0xc
cmp dword [ebp - 0x24], 0
je 0x100adcec
lea ecx, [ebp + 0x6c40]
push ecx
push str._RC__Connect_Failure._Reason:__s_n
call fcn.1006f3b0
add esp, 8
cmp dword [0x101aabe4], 0
jne 0x100ade6b
cmp ebx, 0x274d
je 0x100addb3
mov ebx, dword [ebp - 0x28]
lea esi, [ebx + 0x12c]
add ebx, 0x28
lea edx, [ebp + 0x6c40]
push edx
push esi
push ebx
push str._ERROR__Unable_to_Connect_to__s:_s__Reason:__s
lea eax, [ebp + 0x6d44]
push eax
call fcn.10127dc0
lea ecx, [ebp + 0x6d44]
push ecx
push 0x1014d8cc
call fcn.10017540
add esp, 0x1c
cmp dword [ebp - 0x24], 0
je 0x100add59
lea edx, [ebp + 0x6d44]
push edx
push 0x10158254
call fcn.1006f3b0
add esp, 8
mov eax, dword [ebp + 0x7164]
test eax, eax
je 0x100add8c
cmp byte [eax], 0
je 0x100add8c
cmp byte [0x101aae00], 0
je 0x100add8c
lea eax, [ebp + 0x6c40]
push eax
push esi
push ebx
push str._RC__ERROR__Unable_to_Connect_to__s:_s__Reason:__s
push 0x101aae00
call fcn.1006ed90
add esp, 0x14
cmp dword [0x101aabe4], 0
jne 0x100ade6b
cmp dword [ebp - 0x4c], 2
je 0x100ade6b
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x4c]
jmp 0x100ad990
xor eax, eax
jne 0x100ade42
mov ebx, dword [ebp - 0x28]
lea esi, [ebx + 0x12c]
add ebx, 0x28
lea ecx, [ebp + 0x6c40]
push ecx
push esi
push ebx
push str._ERROR__Unable_to_Connect_to__s:_s__Reason:__s
lea edx, [ebp + 0x6d44]
push edx
call fcn.10127dc0
lea eax, [ebp + 0x6d44]
push eax
push 0x1014d8cc
call fcn.10017540
add esp, 0x1c
cmp dword [ebp - 0x24], 0
je 0x100ade0f
lea ecx, [ebp + 0x6d44]
push ecx
push 0x10158254
call fcn.1006f3b0
add esp, 8
mov eax, dword [ebp + 0x7164]
test eax, eax
je 0x100ade42
cmp byte [eax], 0
je 0x100ade42
cmp byte [0x101aae00], 0
je 0x100ade42
lea edx, [ebp + 0x6c40]
push edx
push esi
push ebx
push str._RC__ERROR__Unable_to_Connect_to__s:_s__Reason:__s
push 0x101aae00
call fcn.1006ed90
add esp, 0x14
cmp edi, 0xffffffff
je 0x100ade4d
push edi
call sub.WS2_32.dll_closesocket
cmp dword [ebp - 0x38], 0
je 0x100ade5d
mov eax, dword [ebp - 0x28]
mov byte [eax + 0x136], 0
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x100af49d
cmp edi, 0xffffffff
je 0x100ade76
push edi
call sub.WS2_32.dll_closesocket
cmp dword [ebp - 0x38], 0
je 0x100ad5d9
mov ecx, dword [ebp - 0x28]
mov byte [ecx + 0x136], 0
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x100af49d
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x60], esi
mov esi, dword [esi + 0x50]
test esi, esi
jne 0x100adbb0
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x20], 0x61
cmp dword [ebp - 0x40], 0
je 0x100adf7a
push 0x54
call fcn.1006a7b0
add esp, 4
mov esi, eax
test esi, esi
je 0x100adf7a
mov dword [ebp - 0x20], 0x62
lea ecx, [ebp + 0x6f4c]
mov edx, esi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100adee4
mov dx, word [ebp - 0x3c]
mov word [esi + 0x40], dx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x4c], eax
lea eax, [ebp + 0x7050]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100adf08
sub eax, edx
inc eax
push eax
call fcn.10128320
add esp, 4
mov dword [esi + 0x44], eax
test eax, eax
je 0x100adf3a
lea ecx, [ebp + 0x7050]
mov edx, eax
lea ebx, [ebx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100adf30
push 0
push str._UDP_
lea eax, [ebp + 0x7050]
push eax
call fcn.10063340
add esp, 0xc
cmp eax, 0xffffffff
je 0x100adf5c
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], 0
cmp dword [0x101ba628], 0
jne 0x100adf74
mov dword [0x101ba628], esi
jmp 0x100adf7a
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x50], esi
mov dword [ebp - 0x20], 0xa
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x28]
test ebx, ebx
je 0x100ae308
lea esi, [edi + 0x136]
cmp byte [esi], 0
je 0x100ae308
cmp byte [ebp + 0x7050], 0
jne 0x100adfc4
lea edx, [edi + 0x12c]
push edx
lea eax, [edi + 0x28]
push eax
push str._RC__Blank_Welcome_Message_from__s:_s_
call fcn.10017540
add esp, 0xc
jmp 0x100ae308
mov byte [ebp + 0x5810], 0
push 0x3ff
push 0
lea ecx, [ebp + 0x5811]
push ecx
call fcn.1012e060
mov byte [ebp + 0x4810], 0
push 0x3ff
push 0
lea edx, [ebp + 0x4811]
push edx
call fcn.1012e060
mov byte [ebp + 0x4c10], 0
push 0x3ff
push 0
lea eax, [ebp + 0x4c11]
push eax
call fcn.1012e060
mov byte [ebp + 0x4010], 0
push 0x7ff
push 0
lea ecx, [ebp + 0x4011]
push ecx
call fcn.1012e060
add esp, 0x30
mov ecx, esi
lea edx, [ebp + 0x5810]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100ae037
push 0
push 0x10157724
lea edx, [ebp + 0x5810]
push edx
call fcn.10063340
add esp, 0xc
mov esi, eax
cmp esi, 0xffffffff
je 0x100ae0a2
add esi, 2
lea eax, [ebp + esi + 0x5810]
push eax
push str._ID:_s
lea ecx, [ebp + 0x4c10]
push ecx
call fcn.10127dc0
sub esi, 2
mov byte [ebp + esi + 0x5810], 0
lea edx, [ebp + 0x5810]
push edx
push str.__s_
lea eax, [ebp + 0x4810]
push eax
call fcn.10127dc0
add esp, 0x18
jmp 0x100ae0bd
lea ecx, [ebp + 0x5810]
push ecx
push str.__s_
lea edx, [ebp + 0x4810]
push edx
call fcn.10127dc0
add esp, 0xc
cmp byte [ebp + 0x4c10], 0
je 0x100ae129
push 0
push str._ID:
lea eax, [ebp + 0x7050]
push eax
call fcn.10063340
add esp, 0xc
cmp eax, 0xffffffff
je 0x100ae129
push 0
lea ecx, [ebp + 0x4c10]
push ecx
lea edx, [ebp + 0x7050]
push edx
call fcn.10063340
add esp, 0xc
cmp eax, 0xffffffff
jne 0x100ae308
lea eax, [ebp + 0x4c10]
push eax
lea ecx, [edi + 0x12c]
push ecx
lea edx, [edi + 0x28]
push edx
lea eax, [ebp + 0x7050]
push eax
push str._RC__Welcome_Message___s__from__s:_s_does_not_have_hostname___s___So_Ignoring_SndCmd.
lea ecx, [ebp + 0x4010]
push ecx
jmp 0x100ae16f
push 0
lea edx, [ebp + 0x4810]
push edx
lea eax, [ebp + 0x7050]
push eax
call fcn.10063340
add esp, 0xc
cmp eax, 0xffffffff
jne 0x100ae308
lea ecx, [ebp + 0x4810]
push ecx
lea edx, [edi + 0x12c]
push edx
lea eax, [edi + 0x28]
push eax
lea ecx, [ebp + 0x7050]
push ecx
push str._RC__Welcome_Message___s__from__s:_s_does_not_have_hostname___s___So_Ignoring_SndCmd.
lea edx, [ebp + 0x4010]
push edx
call fcn.10127dc0
add esp, 0x18
lea eax, [ebp + 0x4010]
push eax
push 0x1014d8cc
call fcn.10017540
add esp, 8
cmp dword [ebp + 0x7160], 0
je 0x100ae1ac
lea ecx, [ebp + 0x4010]
push ecx
push str._RC___s
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1006ed90
add esp, 0xc
mov eax, dword [ebp - 0x34]
cmp eax, 0xffffffff
je 0x100ae1ba
push eax
call sub.WS2_32.dll_closesocket
test ebx, ebx
je 0x100ae1c5
mov byte [edi + 0x136], 0
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x100af49d
cmp dword [ebp + 0x7160], 0
je 0x100ae1f1
lea eax, [ebp + 0x5e18]
push eax
push str._RC__Welcome_Msg_Read_Failed__Reason:__s
push ebx
call fcn.1006ed90
add esp, 0xc
cmp dword [ebp - 0x24], 0
je 0x100ae20b
lea ecx, [ebp + 0x5e18]
push ecx
push str._RC__Welcome_Msg_Read_Failed__Reason:__s_n
call fcn.1006f3b0
add esp, 8
cmp dword [0x101aabe4], 0
jne 0x100ae23f
cmp dword [0x101aa5a4], 5
jl 0x100ae23f
lea edx, [ebp + 0x5e18]
push edx
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 0x12c]
push ecx
add eax, 0x28
push eax
push str._ERROR__Unable_to_Read_Welcome_Message_from__s:_s__Reason:__s
call fcn.10017540
add esp, 0x10
cmp edi, 0xffffffff
je 0x100ae24a
push edi
call sub.WS2_32.dll_closesocket
cmp dword [ebp - 0x38], 0
je 0x100ae25a
mov edx, dword [ebp - 0x28]
mov byte [edx + 0x136], 0
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x100af49d
mov dword [ebp - 0x20], 4
cmp dword [ebp - 0x24], 0
je 0x100ae282
push str.Creating_UDP_Socket..._n
call fcn.1006f3b0
add esp, 4
mov esi, dword [ebp + 0x7160]
test esi, esi
je 0x100ae29d
push str._RC__UDP__Sending_via_UDP._Creating_UDP_Socket...
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1006ed90
add esp, 8
mov dword [ebp - 0x20], 5
push 0x11
push 2
push 2
call sub.WS2_32.dll_socket
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
jne 0x100ae305
test esi, esi
je 0x100ae2d3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str._RC__UDP__UDP_Socket_Creation_failed__LastError:_d
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1006ed90
add esp, 0xc
cmp dword [ebp - 0x24], 0
je 0x100ae2e6
push str.UDP_Socket_Creation_failed__n
call fcn.1006f3b0
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x100ae1c5
mov byte [edi + 0x136], 0
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x100af49d
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x20], 0xb
cmp dword [edi + 0x1c], 0
jne 0x100ae324
mov edx, 0x8b1
cmp word [ebp - 0x3c], dx
jne 0x100ae522
cmp byte [0x101cd570], 0
je 0x100ae345
lea eax, [ebp + 0x6f4c]
push eax
push 0x101cd570
call fcn.10135887
add esp, 8
test eax, eax
je 0x100ae36a
mov dword [0x101cd568], 0
lea ecx, [ebp + 0x6f4c]
mov edx, 0x101cd570
lea ebx, [ebx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100ae360
cmp dword [0x101cd568], 0
jne 0x100ae522
mov dword [0x101cd568], 1
lea ecx, [ebp + 0x7050]
push ecx
call fcn.10061df0
push 0
push str.eScan
lea edx, [ebp + 0x7050]
push edx
call fcn.10063340
add esp, 0x10
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100ae522
push 0x5b
lea eax, [ebp + 0x7050]
push eax
call fcn.10128490
add esp, 8
mov esi, eax
push str.SOFTWAREMicroWorldeScan_for_Windows
test esi, esi
je 0x100ae3f1
mov ecx, esi
mov ebx, str.LogEstr
call fcn.10059a70
push esi
push str._RC__A_Updating_LogEstr_to___s_
lea ecx, [ebp + 0x6d44]
push ecx
call fcn.10127dc0
lea edx, [ebp + 0x6d44]
push edx
jmp 0x100ae41d
lea esi, [ebp + ebx + 0x7050]
mov ecx, esi
mov ebx, str.LogEstr
call fcn.10059a70
push esi
push str._RC__B_Updating_LogEstr_to___s_
lea eax, [ebp + 0x6d44]
push eax
call fcn.10127dc0
lea ecx, [ebp + 0x6d44]
push ecx
push 0x1014d8cc
call fcn.10017540
add esp, 0x14
push 0
push 0x101767c8
lea edx, [ebp + 0x7050]
push edx
call fcn.10063340
add esp, 0xc
mov esi, eax
cmp esi, 0xffffffff
je 0x100ae4a6
mov byte [ebp + 0x6524], 0
push 0x103
push 0
lea eax, [ebp + 0x6525]
push eax
call fcn.1012e060
add esp, 0xc
lea ecx, [ebp + esi + 0x7053]
push ecx
lea edx, [ebp + 0x6524]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x5d
lea eax, [ebp + 0x6524]
push eax
call fcn.10128490
add esp, 8
test eax, eax
je 0x100ae4a6
mov byte [eax], 0
push str.SOFTWAREMicroWorldeScan_for_Windows
lea ecx, [ebp + 0x6524]
mov ebx, str.LogMcst
call fcn.10059a70
push 0
push 0x101767cc
lea ecx, [ebp + 0x7050]
push ecx
call fcn.10063340
add esp, 0xc
mov esi, eax
cmp esi, 0xffffffff
je 0x100ae522
mov byte [ebp + 0x6420], 0
push 0x103
push 0
lea edx, [ebp + 0x6421]
push edx
call fcn.1012e060
add esp, 0xc
lea eax, [ebp + esi + 0x7053]
push eax
lea ecx, [ebp + 0x6420]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x5d
lea edx, [ebp + 0x6420]
push edx
call fcn.10128490
add esp, 8
test eax, eax
je 0x100ae522
mov byte [eax], 0
push str.SOFTWAREMicroWorldeScan_for_Windows
lea ecx, [ebp + 0x6420]
mov ebx, str.LogVers
call fcn.10059a70
lea esi, [edi + 0x1136]
cmp byte [esi], 0
je 0x100ae6e5
cmp dword [ebp - 0x44], 0
jne 0x100ae556
push 0
push str._NHX_
lea eax, [ebp + 0x7050]
push eax
call fcn.10063340
add esp, 0xc
cmp eax, 0xffffffff
je 0x100ae6e5
mov byte [ebp + 0x672c], 0
push 0x207
push 0
lea ecx, [ebp + 0x672d]
push ecx
call fcn.1012e060
mov byte [ebp + 0x6d44], 0
push 0x207
push 0
lea edx, [ebp + 0x6d45]
push edx
call fcn.1012e060
mov byte [ebp + 0x5c10], 0
push 0x207
push 0
lea eax, [ebp + 0x5c11]
push eax
call fcn.1012e060
mov byte [ebp + 0x6218], 0
push 0x103
push 0
lea ecx, [ebp + 0x6219]
push ecx
call fcn.1012e060
mov byte [ebp + 0x6b3c], 0
push 0x103
push 0
lea edx, [ebp + 0x6b3d]
push edx
call fcn.1012e060
mov dword [ebp - 0x40], 0
push 1
push 0x3b
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 0x6218]
push ecx
xor cl, cl
mov edx, dword [edi + 0x1178]
call fcn.10061f00
add esp, 0x4c
push 1
push 0x3b
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp + 0x6b3c]
push eax
xor cl, cl
mov edx, dword [edi + 0x1178]
call fcn.10061f00
push 1
push 0x3b
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp + 0x672c]
push edx
xor cl, cl
mov edx, dword [edi + 0x1178]
call fcn.10061f00
add esp, 0x20
cmp byte [ebp + 0x6218], 0
je 0x100ae6bd
cmp byte [ebp + 0x6b3c], 0
je 0x100ae6bd
cmp byte [ebp + 0x672c], 0
je 0x100ae6bd
push 0
push 0x10157724
lea eax, [ebp + 0x672c]
push eax
call fcn.10063340
add esp, 0xc
cmp eax, 0xffffffff
jne 0x100ae6bd
lea ecx, [ebp + 0x672c]
push ecx
push 0x1015aecc
lea edx, [ebp + 0x6d44]
push edx
call fcn.10127dc0
push esi
lea eax, [ebp + 0x672c]
push eax
push str.__s___s__
lea ecx, [ebp + 0x5c10]
push ecx
call fcn.10127dc0
mov eax, dword [edi + 0x1178]
lea edx, [ebp + 0x5c10]
push edx
lea ecx, [ebp + 0x6d44]
push ecx
push eax
call fcn.10064100
add esp, 0x28
cmp dword [ebp + 0x7160], 0
je 0x100ae6e5
lea edx, [ebp + 0x5c10]
push edx
lea eax, [ebp + 0x6d44]
push eax
push str._RC__hostname_changed_from___s__to___s_
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1006ed90
add esp, 0x10
mov dword [ebp - 0x20], 0xd
push 0
push 0x1017680c
lea edx, [ebp + 0x7050]
push edx
call fcn.10063340
add esp, 0xc
cmp eax, 0xffffffff
je 0x100ae7cf
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x50], ebx
cmp dword [ebp - 0x64], ebx
je 0x100ae7b2
mov eax, dword [0x101ac854]
test eax, eax
jbe 0x100ae7b2
push eax
lea edi, [ebp - 0x44]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax + 0x1178]
call fcn.1011fda0
add esp, 4
mov ebx, dword [ebp - 0x44]
test eax, eax
je 0x100ae7b2
xor edi, edi
mov ecx, ebx
call fcn.10074680
lea esi, [eax + 1]
push edi
push edi
push edi
push edi
push esi
push ebx
push edi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x100ae78f
lea edi, [eax + 1]
push 1
push edi
call fcn.1012a205
add esp, 8
mov dword [ebp - 0x50], eax
push 0
push 0
push edi
push eax
push esi
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
cmp edi, 1
jle 0x100ae7b2
mov ecx, dword [ebp - 0x50]
push ecx
mov edi, dword [ebp - 0x28]
mov edx, dword [edi + 0x1178]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [edi + 0x1288], 1
test ebx, ebx
je 0x100ae7bf
push ebx
call fcn.10128243
add esp, 4
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x100ae7cf
push eax
call fcn.10128243
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x100af2d7
cmp dword [ebp + 0x7160], 0
je 0x100ae7f3
push str._RC__TCP__Check_for_Socket_Writable_A_...
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1006ed90
add esp, 8
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100ae807
push str._RC__TCP__Check_for_Socket_Writable_A_..._n
call fcn.1006f3b0
add esp, 4
mov dword [ebp - 0x20], 0xe
mov esi, dword [ebp - 0x28]
mov eax, dword [esi + 0x1178]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100ae820
sub eax, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0x8d
push 4
lea ecx, [ebp - 0x30]
push ecx
push 0x1001
push 0xffff
mov edi, dword [ebp - 0x34]
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [ebp - 0x20], 0x8e
push edi
call fcn.1000ef40
add esp, 4
test eax, eax
je 0x100aed8c
cmp dword [0x101aa5a4], 5
jl 0x100ae8ce
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x30]
test eax, eax
jle 0x100ae88f
mov edx, dword [esi + 0x1178]
cmp byte [edx + eax - 1], 0xa
jne 0x100ae88f
mov ecx, 1
mov dword [ebp - 0x6c], ecx
push ecx
push eax
push str._THRD__TCP__Sending__u_bytes__CRLF___u_...
lea edx, [ebp + 0x6b3c]
push edx
call fcn.10127dc0
lea eax, [ebp + 0x6b3c]
push eax
push 0x1014d8cc
call fcn.10017540
add esp, 0x18
test ebx, ebx
je 0x100ae8ce
lea ecx, [ebp + 0x6b3c]
push ecx
push 0x10158254
call fcn.1006f3b0
add esp, 8
cmp dword [ebp + 0x7160], ebx
je 0x100ae8eb
mov edx, dword [ebp - 0x30]
push edx
push str._RC__TCP__Socket_is_now_Writable._Sending__u_bytes...
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1006ed90
add esp, 0xc
test ebx, ebx
je 0x100ae900
mov ecx, dword [ebp - 0x30]
push ecx
push str._RC__TCP__Socket_is_now_Writable._Sending__u_bytes..._n
call fcn.1006f3b0
add esp, 8
cmp dword [esi + 0x117c], ebx
je 0x100ae974
cmp byte [esi + 0x1180], bl
je 0x100ae974
mov edx, dword [ebp - 0x30]
add edx, 0x10
push edx
call fcn.10128320
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x100ae971
mov ecx, dword [esi + 0x1178]
mov edx, ebx
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100ae930
push ebx
call fcn.10061df0
mov eax, dword [ebp - 0x30]
push eax
push ebx
lea ecx, [esi + 0x12c]
push ecx
lea edx, [esi + 0x28]
push edx
mov eax, dword [ebp + 0x7168]
push eax
push str._RC__AE__TCP__FW:_u___s:_s___s___u_bytes_
lea ecx, [esi + 0x1180]
push ecx
call fcn.1006ed90
push ebx
call fcn.10128243
add esp, 0x24
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x20], 0x8f
mov edx, dword [esi + 0x1178]
push edx
mov ecx, dword [ebp - 0x30]
mov edx, edi
call fcn.1000f9c0
add esp, 4
test eax, eax
jne 0x100aea05
mov dword [ebp - 0x20], 0x90
cmp dword [0x101aa5a4], 5
jl 0x100ae9bb
lea eax, [esi + 0x12c]
push eax
lea ecx, [esi + 0x28]
push ecx
push str._ERROR__TCP__Unable_to_SendBuffer___to__s:_s_
call fcn.10017540
add esp, 0xc
cmp dword [ebp + 0x7160], 0
je 0x100ae9e0
lea edx, [esi + 0x12c]
push edx
lea eax, [esi + 0x28]
push eax
push str._RC__TCP__Unable_to_SendBuffer___to__s:_s_
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1006ed90
add esp, 0x10
test ebx, ebx
je 0x100aee18
lea edx, [esi + 0x12c]
push edx
lea eax, [esi + 0x28]
push eax
push str._RC__TCP__Unable_to_SendBuffer___to__s:_s__n
call fcn.1006f3b0
add esp, 0xc
jmp 0x100aee18
mov dword [ebp - 0x20], 0x91
cmp dword [ebp + 0x7160], 0
je 0x100aea26
push str._RC__TCP__Send_Success..._Now_waiting_for_Response...
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1006ed90
add esp, 8
test ebx, ebx
je 0x100aea37
push str._RC__TCP__Send_Success..._Now_waiting_for_Response..._n
call fcn.1006f3b0
add esp, 4
mov dword [ebp - 0x20], 0x92
cmp dword [0x101aabe4], 0
jne 0x100aecdf
push 0
lea edx, [ebp - 0x54]
push edx
push 0x7530
push 0x104
lea eax, [ebp + 0x7050]
push eax
push edi
lea edx, [ebp + 0x5e18]
lea ecx, [ebp - 0x58]
call fcn.1000f280
add esp, 0x18
test eax, eax
je 0x100aecdf
mov dword [ebp - 0x20], 0x94
test ebx, ebx
je 0x100aea9b
lea ecx, [ebp + 0x7050]
push ecx
push str._RC__Response_received:__s_n
call fcn.1006f3b0
add esp, 8
cmp dword [0x101aa5a4], 5
jl 0x100aebab
mov byte [ebp + 0x2010], 0
push 0xfff
push 0
lea edx, [ebp + 0x2011]
push edx
call fcn.1012e060
mov byte [ebp + 0x5010], 0
push 0x3ff
push 0
lea eax, [ebp + 0x5011]
push eax
call fcn.1012e060
add esp, 0x18
mov ecx, dword [esi + 0x1178]
push ecx
lea edx, [ebp + 0x2010]
push edx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call ebx
lea eax, [ebp + 0x2010]
push eax
call fcn.10061df0
lea ecx, [ebp + 0x2010]
push ecx
push str._THRD__Line_Sent_Successfully:___s_
call fcn.10017540
add esp, 0xc
cmp byte [ebp + 0x6934], 0
je 0x100aeb44
lea edx, [ebp + 0x5010]
push edx
lea ecx, [ebp + 0x2010]
call fcn.1007bc20
lea eax, [ebp + 0x5010]
push eax
push str.Line_Sent_Successfully_DEC_:___s_
call fcn.10017540
add esp, 0xc
cmp dword [ebp - 0x38], 0
je 0x100aebb1
lea ecx, [ebp + 0x7050]
push ecx
lea edx, [ebp + 0x2010]
push edx
call ebx
lea eax, [ebp + 0x2010]
push eax
call fcn.10061df0
lea ecx, [ebp + 0x2010]
push ecx
push str.Reply:___s_
call fcn.10017540
add esp, 0xc
cmp byte [ebp + 0x6934], 0
je 0x100aebb1
lea edx, [ebp + 0x5010]
push edx
lea ecx, [ebp + 0x2010]
call fcn.1007bc20
lea eax, [ebp + 0x5010]
push eax
push str.Reply_DEC_:___s_
call fcn.10017540
add esp, 0xc
jmp 0x100aebb1
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp + 0x7160], 0
je 0x100aecba
mov byte [ebp + 0x3010], 0
push 0xfff
push 0
lea ecx, [ebp + 0x3011]
push ecx
call fcn.1012e060
mov byte [ebp + 0x5410], 0
push 0x3ff
push 0
lea edx, [ebp + 0x5411]
push edx
call fcn.1012e060
add esp, 0x18
mov eax, dword [esi + 0x1178]
push eax
lea ecx, [ebp + 0x3010]
push ecx
call ebx
lea edx, [ebp + 0x3010]
push edx
call fcn.10061df0
lea eax, [ebp + 0x3010]
push eax
push str._RC__Line_Sent_Successfully:___s_
mov edi, dword [ebp - 0x1c]
push edi
call fcn.1006ed90
add esp, 0x10
cmp byte [ebp + 0x6934], 0
je 0x100aec59
lea ecx, [ebp + 0x5410]
push ecx
lea ecx, [ebp + 0x3010]
call fcn.1007bc20
lea edx, [ebp + 0x5410]
push edx
push str._RC__Line_Sent_Successfully_DEC_:___s_
push edi
call fcn.1006ed90
add esp, 0x10
lea eax, [ebp + 0x7050]
push eax
lea ecx, [ebp + 0x3010]
push ecx
call ebx
lea edx, [ebp + 0x3010]
push edx
call fcn.10061df0
lea eax, [ebp + 0x3010]
push eax
push str._RC__Reply:___s_
push edi
call fcn.1006ed90
add esp, 0x10
cmp byte [ebp + 0x6934], 0
je 0x100aecba
lea ecx, [ebp + 0x5410]
push ecx
lea ecx, [ebp + 0x3010]
call fcn.1007bc20
lea edx, [ebp + 0x5410]
push edx
push str._RC__Reply_DEC_:___s_
push edi
call fcn.1006ed90
add esp, 0x10
cmp dword [ebp - 0x38], 0
je 0x100aee18
lea ecx, [ebp + 0x7050]
lea edx, [esi + 0x136]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100aecd0
jmp 0x100aee18
mov dword [ebp - 0x20], 0x93
cmp edi, 0xffffffff
je 0x100aecf1
push edi
call sub.WS2_32.dll_closesocket
cmp dword [0x101aabe4], 0
jne 0x100aed22
cmp dword [0x101aa5a4], 5
jl 0x100aed22
lea eax, [ebp + 0x5e18]
push eax
lea ecx, [esi + 0x12c]
push ecx
lea edx, [esi + 0x28]
push edx
push str._ERROR__Unable_to_Read_AcceptanceLine_from__s:_s__Reason:__s
call fcn.10017540
add esp, 0x10
cmp dword [ebp + 0x7160], 0
je 0x100aed4e
lea eax, [ebp + 0x5e18]
push eax
lea ecx, [esi + 0x12c]
push ecx
lea edx, [esi + 0x28]
push edx
push str._RC__Unable_to_Read_Response_from__s:_s__Reason:__s
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1006ed90
add esp, 0x14
test ebx, ebx
je 0x100aed71
lea ecx, [ebp + 0x5e18]
push ecx
lea edx, [esi + 0x12c]
push edx
lea eax, [esi + 0x28]
push eax
push str._RC__Unable_to_Read_Response_from__s:_s__Reason:__s_n
call fcn.1006f3b0
add esp, 0x10
cmp dword [ebp - 0x38], 0
je 0x100aed7e
mov byte [esi + 0x136], 0
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x100af49d
cmp dword [0x101aa5a4], 5
jl 0x100aedcb
lea ecx, [esi + 0x12c]
push ecx
lea edx, [esi + 0x28]
push edx
mov eax, dword [0x1019664c]
push eax
push str._ERROR__Unable_to_get_Socket_Writable_status_within__d_secs__Not_sending_LogData_to__s:_s
lea ecx, [ebp + 0x6d44]
push ecx
call fcn.10127dc0
lea edx, [ebp + 0x6d44]
push edx
push 0x1014d8cc
call fcn.10017540
add esp, 0x1c
cmp dword [ebp + 0x7160], ebx
je 0x100aedf6
lea eax, [esi + 0x12c]
push eax
lea ecx, [esi + 0x28]
push ecx
mov edx, dword [0x1019664c]
push edx
push str._RC__Unable_to_get_Socket_Writable_status_within__d_secs__Not_sending_LogData_to__s:_s
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1006ed90
add esp, 0x14
test ebx, ebx
je 0x100aee18
lea ecx, [esi + 0x12c]
push ecx
lea edx, [esi + 0x28]
push edx
mov eax, dword [0x1019664c]
push eax
push str._RC__Unable_to_get_Socket_Writable_status_within__d_secs__Not_sending_LogData_to__s:_s_n
call fcn.1006f3b0
add esp, 0x10
mov dword [ebp - 0x20], 0xf
xor edi, edi
mov dword [ebp - 0x2c], edi
xor ebx, ebx
cmp byte [ebp + 0x6934], bl
je 0x100aee47
lea ecx, [ebp + 0x6934]
push ecx
xor ecx, ecx
lea edx, [ebp - 0x2c]
call fcn.1007a110
add esp, 4
mov ebx, eax
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x20], 0x10
test ebx, ebx
je 0x100af2b6
cmp byte [edi], 0
je 0x100af2b6
cmp dword [ebp + 0x7160], 0
je 0x100aee79
push str._RC__Check_for_Socket_Writable_B_...
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1006ed90
add esp, 8
cmp dword [ebp - 0x24], 0
je 0x100aee8c
push str._RC__Check_for_Socket_Writable_B_..._n
call fcn.1006f3b0
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
call fcn.1000ef40
add esp, 4
test eax, eax
je 0x100af227
cmp dword [ebp + 0x7160], 0
je 0x100aeebb
push ebx
push str._RC__Socket_is_now_Writable._Sending__u_bytes...
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1006ed90
add esp, 0xc
cmp dword [ebp - 0x24], 0
je 0x100aeecf
push ebx
push str._RC__Socket_is_now_Writable._Sending__u_bytes..._n
call fcn.1006f3b0
add esp, 8
push edi
mov ecx, ebx
mov edx, dword [ebp - 0x34]
call fcn.1000f9c0
add esp, 4
test eax, eax
jne 0x100aef4e
cmp dword [0x101aa5a4], 5
jl 0x100aef02
lea edx, [esi + 0x12c]
push edx
lea eax, [esi + 0x28]
push eax
push str._ERROR__Unable_to_SendBuffer___to__s:_s_
call fcn.10017540
add esp, 0xc
cmp dword [ebp + 0x7160], 0
je 0x100aef27
lea ecx, [esi + 0x12c]
push ecx
lea edx, [esi + 0x28]
push edx
push str._RC__Unable_to_SendBuffer___to__s:_s_
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1006ed90
add esp, 0x10
cmp dword [ebp - 0x24], 0
je 0x100af2b6
lea ecx, [esi + 0x12c]
push ecx
add esi, 0x28
push esi
push str._RC__Unable_to_SendBuffer___to__s:_s__n
call fcn.1006f3b0
add esp, 0xc
jmp 0x100af2b6
xor ebx, ebx
mov dword [ebp - 0x70], ebx
cmp dword [ebp + 0x7160], ebx
je 0x100aef6c
push str._RC__Send_Success..._Now_waiting_for_Response...
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1006ed90
add esp, 8
cmp dword [ebp - 0x24], 0
je 0x100aef7f
push str._RC__Send_Success..._Now_waiting_for_Response..._n
call fcn.1006f3b0
add esp, 4
cmp dword [0x101aabe4], 0
jne 0x100aefbc
push 0
lea eax, [ebp - 0x54]
push eax
push 0xfa0
push 0x104
lea ecx, [ebp + 0x7050]
push ecx
mov edx, dword [ebp - 0x34]
push edx
lea edx, [ebp + 0x5e18]
lea ecx, [ebp - 0x58]
call fcn.1000f280
add esp, 0x18
test eax, eax
jne 0x100af053
mov ebx, 1
mov dword [ebp - 0x70], ebx
cmp dword [0x101aabe4], 0
jne 0x100aeff5
cmp dword [0x101aa5a4], 5
jl 0x100aeff5
lea eax, [ebp + 0x5e18]
push eax
lea ecx, [esi + 0x12c]
push ecx
lea edx, [esi + 0x28]
push edx
push str._ERROR__Unable_to_Read_AcceptanceLine_from__s:_s__Reason:__s
call fcn.10017540
add esp, 0x10
cmp dword [ebp + 0x7160], 0
je 0x100af021
lea eax, [ebp + 0x5e18]
push eax
lea ecx, [esi + 0x12c]
push ecx
lea edx, [esi + 0x28]
push edx
push str._RC__Unable_to_Read_Response_from__s:_s__Reason:__s
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1006ed90
add esp, 0x14
cmp dword [ebp - 0x24], 0
je 0x100af046
lea ecx, [ebp + 0x5e18]
push ecx
lea edx, [esi + 0x12c]
push edx
lea eax, [esi + 0x28]
push eax
push str._RC__Unable_to_Read_Response_from__s:_s__Reason:__s_n
call fcn.1006f3b0
add esp, 0x10
cmp dword [ebp - 0x38], 0
je 0x100af053
mov byte [esi + 0x136], 0
mov eax, dword [ebp + 0x7164]
test eax, eax
je 0x100af0a7
cmp byte [eax], 0
je 0x100af0a7
cmp byte [0x101aae00], 0
je 0x100af0a7
movzx ecx, word [ebp - 0x3c]
lea edx, [ebp + 0x6f4c]
push ecx
push edx
cmp dword [ebp - 0x48], 0
je 0x100af095
lea eax, [esi + 0x28]
push eax
push str._RC__HTTPHost_Set_to_UAgent_for_Host__s___s:_u_
push 0x101aae00
call fcn.1006ed90
add esp, 0x14
jmp 0x100af0a7
push str._RC__HTTPHost_Set_to_UAgent_for_Host__s:_u
push 0x101aae00
call fcn.1006ed90
add esp, 0x10
cmp dword [0x101aa5a4], 5
jl 0x100af124
test ebx, ebx
jne 0x100af0c2
lea eax, [ebp + 0x6934]
push eax
push str.File_Sent_Successfully:___s_
jmp 0x100af0ce
lea ecx, [ebp + 0x6934]
push ecx
push str.File_Sent_Successfully__RESPONSE_FAIL_:___s_
call fcn.10017540
add esp, 8
cmp dword [ebp - 0x38], 0
je 0x100af124
test ebx, ebx
jne 0x100af124
mov byte [ebp + 0x10], bl
push 0xfff
push ebx
lea edx, [ebp + 0x11]
push edx
call fcn.1012e060
add esp, 0xc
lea ecx, [ebp + 0x7050]
lea edx, [ebp + 0x10]
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100af100
lea eax, [ebp + 0x10]
push eax
call fcn.10061df0
lea ecx, [ebp + 0x10]
push ecx
push str.Reply:___s_
call fcn.10017540
add esp, 0xc
cmp dword [ebp + 0x7160], 0
je 0x100af1d1
mov byte [ebp + 0x1010], 0
push 0xfff
push 0
lea edx, [ebp + 0x1011]
push edx
call fcn.1012e060
add esp, 0xc
test ebx, ebx
jne 0x100af164
lea eax, [ebp + 0x6934]
push eax
push str._RC__File_Sent_Successfully:___s_
mov ecx, dword [ebp - 0x1c]
push ecx
jmp 0x100af174
lea edx, [ebp + 0x6934]
push edx
push str._RC__File_Sent_Successfully__RESPONSE_FAIL_:___s_
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1006ed90
add esp, 0xc
test ebx, ebx
jne 0x100af1c0
lea ecx, [ebp + 0x7050]
lea edx, [ebp + 0x1010]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100af190
lea ecx, [ebp + 0x1010]
push ecx
call fcn.10061df0
lea edx, [ebp + 0x1010]
push edx
push str._RC__Reply:___s_
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1006ed90
add esp, 0x10
jmp 0x100af1d1
push str._RC__Reply__FORCED_:__RECFILOK_
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1006ed90
add esp, 8
cmp dword [ebp - 0x38], 0
je 0x100af2b6
test ebx, ebx
jne 0x100af1ff
lea ecx, [ebp + 0x7050]
lea edx, [esi + 0x136]
jmp 0x100af1f0
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100af1f0
jmp 0x100af2b6
mov edx, dword [str.RECFILOK]
mov dword [esi + 0x136], edx
mov eax, dword [0x10176fa4]
mov dword [esi + 0x13a], eax
mov cl, byte [0x10176fa8]
mov byte [esi + 0x13e], cl
jmp 0x100af2b6
cmp dword [0x101aa5a4], 5
jl 0x100af267
lea edx, [esi + 0x12c]
push edx
lea eax, [esi + 0x28]
push eax
mov ecx, dword [0x1019664c]
push ecx
push str._ERROR__Unable_to_get_Socket_Writable_status_within__d_secs__Not_sending_LogData_to__s:_s
lea edx, [ebp + 0x6d44]
push edx
call fcn.10127dc0
lea eax, [ebp + 0x6d44]
push eax
push 0x1014d8cc
call fcn.10017540
add esp, 0x1c
cmp dword [ebp + 0x7160], 0
je 0x100af292
lea ecx, [esi + 0x12c]
push ecx
lea edx, [esi + 0x28]
push edx
mov eax, dword [0x1019664c]
push eax
push str._RC__Unable_to_get_Socket_Writable_status_within__d_secs__Not_sending_LogData_to__s:_s
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1006ed90
add esp, 0x14
cmp dword [ebp - 0x24], 0
je 0x100af2b6
lea edx, [esi + 0x12c]
push edx
add esi, 0x28
push esi
mov eax, dword [0x1019664c]
push eax
push str._RC__Unable_to_get_Socket_Writable_status_within__d_secs__Not_sending_LogData_to__s:_s_n
call fcn.1006f3b0
add esp, 0x10
mov dword [ebp - 0x20], 0x11
test edi, edi
je 0x100af44b
push edi
call fcn.10128243
mov dword [ebp - 0x2c], 0
jmp 0x100af448
mov esi, dword [ebp - 0x28]
mov eax, dword [esi + 0x1178]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100af2e3
sub eax, edx
mov dword [ebp - 0x30], eax
mov edi, dword [ebp + 0x7160]
test edi, edi
je 0x100af30b
push eax
push str._RC__UDP__Sending__u_bytes...
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1006ed90
add esp, 0xc
cmp dword [ebp - 0x24], 0
je 0x100af322
mov edx, dword [ebp - 0x30]
push edx
push str._RC__UDP__Sending__u_bytes..._n
call fcn.1006f3b0
add esp, 8
cmp dword [esi + 0x117c], 0
je 0x100af392
cmp byte [esi + 0x1180], 0
je 0x100af392
mov eax, dword [ebp - 0x30]
add eax, 0x10
push eax
call fcn.10128320
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x100af392
mov ecx, dword [esi + 0x1178]
mov edx, ebx
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100af351
push ebx
call fcn.10061df0
mov ecx, dword [ebp - 0x30]
push ecx
push ebx
lea edx, [esi + 0x12c]
push edx
lea eax, [esi + 0x28]
push eax
mov ecx, dword [ebp + 0x7168]
push ecx
push str._RC__AE__UDP__FW:_u___s:_s___s___u_bytes_
lea edx, [esi + 0x1180]
push edx
call fcn.1006ed90
push ebx
call fcn.10128243
add esp, 0x24
push 0x10
lea eax, [ebp]
push eax
push 0
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [esi + 0x1178]
push edx
mov eax, dword [ebp - 0x34]
push eax
call sub.WS2_32.dll_sendto
cmp eax, 0xffffffff
jne 0x100af423
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp dword [0x101aa5a4], 5
jl 0x100af3dd
call ebx
push eax
lea ecx, [esi + 0x12c]
push ecx
lea edx, [esi + 0x28]
push edx
push str._ERROR__UDP__Unable_to_SendBuffer___to__s:_s__LastError:_d
call fcn.10017540
add esp, 0x10
test edi, edi
je 0x100af400
call ebx
push eax
lea eax, [esi + 0x12c]
push eax
lea ecx, [esi + 0x28]
push ecx
push str._RC__UDP__Unable_to_SendBuffer___to__s:_s__LastError:_d
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1006ed90
add esp, 0x14
cmp dword [ebp - 0x24], 0
je 0x100af44b
call ebx
push eax
lea eax, [esi + 0x12c]
push eax
add esi, 0x28
push esi
push str._RC__UDP__Unable_to_SendBuffer___to__s:_s__LastError:_d_n
call fcn.1006f3b0
add esp, 0x10
jmp 0x100af44b
test edi, edi
je 0x100af438
push str._RC__UDP__Send_Success.
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1006ed90
add esp, 8
cmp dword [ebp - 0x24], 0
je 0x100af44b
push str._RC__UDP__Send_Success._n
call fcn.1006f3b0
add esp, 4
mov esi, dword [ebp - 0x34]
cmp esi, 0xffffffff
je 0x100af46c
cmp dword [ebp - 0x24], 0
je 0x100af466
push str.Closing_socket..._n
call fcn.1006f3b0
add esp, 4
push esi
call sub.WS2_32.dll_closesocket
mov dword [ebp - 0x20], 0x12
jmp 0x100af491
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7154]
xor ecx, ebp
call fcn.10127db1
add ebp, 0x7158
mov esp, ebp
pop ebp
ret