Function at 0x407380
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x48ea91
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x430
mov eax, dword [0x4afd08]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x10], eax
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], 0
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x454]
mov dword [esp + 0x448], 0
stosw word es:[edi], ax
push ebx
stosb byte es:[edi], al
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x29f0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x464]
test eax, eax
je 0x40742a
push 0
push 0
push esi
mov ecx, ebp
call fcn.0047f043
push 0
lea ecx, [ebp + 0x2a1c]
push 0
push ecx
mov ecx, ebp
call fcn.0047f043
cmp dword [esp + 0x468], 0x200
jne case.default.0x407456
mov ecx, 0x80
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x40]
lea eax, [edx - 1]
cmp eax, 3
ja case.default.0x407456
jmp dword [eax*4 + 0x4077b0]
lea eax, [ebp + 0x2a1c]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.00424290
add esp, 8
test eax, eax
je 0x4075d7
mov edx, dword [ebp + 0x520]
push 0
push 0
push 0x1004
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov esi, eax
push 0
push 0
lea eax, [esp + 0x2c]
push 0
lea edi, [ebp + 0x504]
push eax
push esi
push 1
mov ecx, edi
call fcn.0047b2ce
mov ecx, dword [esp + 0x460]
push ecx
push 0
push 0
push 0
push 0
push 4
push 0
push esi
mov ecx, edi
call fcn.0047b350
mov esi, dword [sym.imp.WS2_32.dll_inet_ntoa]
push ebx
call esi
push eax
lea edx, [esp + 0x14]
push 0x4ae288
push edx
call fcn.0047a92c
add esp, 0xc
lea ecx, [esp + 0x10]
push 0
call fcn.004813de
push eax
lea ecx, [ebp + 0x1f4]
call fcn.00404040
mov eax, dword [esp + 0x460]
mov ecx, ebp
push eax
call fcn.00406cc0
lea ecx, [esp + 0x20]
push 0
push ecx
push ebx
mov ecx, ebp
call fcn.00406e80
push ebx
lea ecx, [ebp + 0x26ec]
call fcn.004125f0
test eax, eax
jne case.default.0x407456
push ebx
call esi
push eax
push str.GreenIP
push str.GreenIPList
call fcn.00418b30
add esp, 0xc
test eax, eax
jne case.default.0x407456
lea edx, [esp + 0x1c]
push edx
call fcn.0047af11
lea eax, [esp + 0x18]
push str._Y__m__d__H:_M:_S
push eax
lea ecx, [esp + 0x24]
call fcn.0047af24
mov ecx, dword [0x4afd08]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x18]
mov byte [esp + 0x448], 2
push edx
push ebx
call esi
push eax
lea eax, [esp + 0x1c]
push str._s_
push eax
call fcn.0047a92c
add esp, 0x10
lea ecx, [esp + 0x14]
push 0
call fcn.004813de
push eax
push str.GreenIPList
call fcn.00418ee0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x448], 1
call fcn.0048105e
lea ecx, [esp + 0x18]
mov byte [esp + 0x448], 0
call fcn.0048105e
jmp case.default.0x407456
lea ecx, [esp + 0x44]
lea edx, [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x18]
push 0x4ae234
push eax
call fcn.0047a92c
add esp, 0x10
lea ecx, [esp + 0x10]
push 0
call fcn.004813de
push eax
lea ecx, [ebp + 0x1f4]
call fcn.00404040
mov ecx, dword [esp + 0x460]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
jmp case.default.0x407456
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x241]
mov byte [esp + 0x240], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor ebx, ebx
lea edx, [ebp + 0x2c60]
cmp byte [edx], 0
je 0x4076b0
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebp, [esp + 0x240]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
add edx, 0x20
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea ebp, [esp + 0x240]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4ae230
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
inc ebx
cmp ebx, 0x100
rep movsb byte es:[edi], byte [esi]
jl 0x407640
jmp 0x4076c8
lea edi, [esp + 0x240]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x23f], al
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x40]
lea edx, [esp + 0x44]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x240]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x40], 2
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x200
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x468]
lea ecx, [esp + 0x48]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_send]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp case.default.0x407456
mov edx, dword [esp + 0x460]
push 0
push edx
lea ecx, [ebp + 0x378]
call fcn.0040c040
jmp case.default.0x407456
mov eax, dword [esp + 0x460]
push 1
push eax
lea ecx, [ebp + 0x378]
call fcn.0040c040
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push 0x4ae200
push edx
call fcn.0047a92c
add esp, 0xc
lea ecx, [esp + 0x10]
push 0
call fcn.004813de
push eax
lea ecx, [ebp + 0x1f4]
call fcn.00404040
lea ecx, [esp + 0x10]
mov dword [esp + 0x448], 0xffffffff
call fcn.0048105e
mov ecx, dword [esp + 0x440]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x43c
ret 0x1c