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

Disassembly:
push 0xffffffffffffffff
push 0x512096
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov eax, dword [0x5581a0]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
xor ebp, ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0xc4], ebp
mov eax, dword [esi + 0x4b0]
mov ebx, 1
cmp eax, ebp
mov byte [esp + 0xc4], bl
mov dword [esi + 0x6a4], ebp
mov dword [esi + 0x6a8], ebp
je 0x46b84c
mov edi, dword [eax + 8]
call fcn.004dd9d5
cmp eax, ebp
je 0x46b82e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x46b830
xor eax, eax
mov ecx, dword [0x55e968]
push edi
push ecx
push ebp
push ebp
lea ecx, [eax + 0x758]
call fcn.004e6b1b
mov ecx, eax
call fcn.0047fd60
mov edx, dword [esi + 0x4b0]
mov eax, dword [edx + 0x44]
cmp eax, 2
jne 0x46b868
call fcn.004f7df8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x830]
cmp eax, ebp
je 0x46ba6b
call fcn.004f7df8
mov eax, dword [eax + 4]
cmp dword [eax + 0x834], ebp
je 0x46ba6b
cmp dword [0x55e22c], ebp
je 0x46b89b
mov ecx, esi
call fcn.004510c0
test eax, eax
jne 0x46ba6b
mov ecx, esi
call fcn.0046ab40
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x46b8dc
lea eax, [esp + 0x28]
push 0xc7
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov byte [esp + 0xcc], 2
call fcn.00452680
mov byte [esp + 0xc4], bl
lea ecx, [esp + 0x28]
jmp 0x46b94d
call fcn.004f7df8
mov eax, dword [eax + 4]
cmp dword [eax + 0x834], ebx
je 0x46b90e
call fcn.004f7df8
mov eax, dword [eax + 4]
cmp dword [eax + 0x834], 3
je 0x46b90e
call fcn.004f7df8
mov eax, dword [eax + 4]
cmp dword [eax + 0x834], 4
jne 0x46b982
mov ecx, esi
call fcn.0046afc0
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x46b982
lea ecx, [esp + 0x28]
push 0xcc
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov byte [esp + 0xcc], 3
call fcn.00452680
mov byte [esp + 0xc4], bl
lea ecx, [esp + 0x28]
call fcn.004dd151
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.004dd151
lea ecx, [esp + 0x10]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004dd151
mov eax, esi
jmp 0x46c508
call fcn.004f7df8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x834]
dec eax
cmp eax, 5
ja case.default.0x46b996
jmp dword [eax*4 + 0x46c524]
mov edx, dword [esi + 0x4b0]
lea eax, [esp + 0x28]
add edx, 8
push edx
push str.site
push eax
call fcn.004dd45a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8], 4
call fcn.004dd28a
mov byte [esp + 0xc4], bl
lea ecx, [esp + 0x28]
jmp 0x46ba0b
mov ecx, dword [esi + 0x4b0]
lea edx, [esp + 0x14]
add ecx, 8
push ecx
push str.open
push edx
call fcn.004dd45a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8], 5
call fcn.004dd28a
mov byte [esp + 0xc4], bl
lea ecx, [esp + 0x14]
call fcn.004dd151
push 0x5526b0
lea ecx, [esp + 0x14]
call fcn.004dd52d
mov eax, dword [esp + 0x10]
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 0x458]
push eax
call sub.WSOCK32.dll_send
lea ecx, [esp + 0x14]
push 0x11b
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0xcc], 6
call fcn.00452680
mov byte [esp + 0xc4], bl
lea ecx, [esp + 0x14]
jmp 0x46bce9
lea edx, [esp + 0x14]
push 0xe936
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0xc8], 7
call fcn.00467d40
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], bl
call fcn.004dd151
lea eax, [esp + 0x14]
push 0x10a
push eax
call fcn.0042e0a0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8], 8
call fcn.004dd28a
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], bl
call fcn.004dd151
mov ecx, dword [esi + 0x4b0]
add ecx, 8
push ecx
lea ecx, [esp + 0x14]
call fcn.004dd569
mov edx, dword [esp + 0x10]
push ebp
push edx
mov ecx, esi
call fcn.00452680
mov eax, dword [esi + 0x4b0]
lea ecx, [esp + 0x4c]
push ecx
mov eax, dword [eax + 8]
push eax
call fcn.0046ab00
add esp, 8
test eax, eax
jne 0x46bb5d
lea edx, [esp + 0x14]
push 0xd5
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0xcc], 9
call fcn.00452680
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], bl
call fcn.004dd151
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.004dd151
or ebp, 0xffffffff
jmp 0x46be7b
mov eax, dword [esi + 0x4b0]
mov word [esp + 0x48], 2
mov cx, word [eax + 0x24]
push ecx
call sub.WSOCK32.dll_htons
push str.__ip_
lea ecx, [esp + 0x14]
mov word [esp + 0x4e], ax
call fcn.004dd52d
mov edx, dword [esp + 0x4c]
push edx
call sub.WSOCK32.dll_inet_ntoa
push eax
lea ecx, [esp + 0x14]
call fcn.004dd52d
push 0x29
lea ecx, [esp + 0x14]
call fcn.004dd554
mov eax, dword [esp + 0x10]
push ebp
push eax
mov ecx, esi
call fcn.00452680
cmp dword [0x55e22c], ebp
je 0x46bbc7
mov ecx, esi
call fcn.004510c0
mov dword [0x55e228], eax
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x458]
lea edx, [esp + 0x48]
push ecx
push edx
push eax
call fcn.004af010
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x46bca3
cmp eax, 0xfffffffe
je 0x46bc3f
lea ecx, [esp + 0x14]
push 0xc6
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0xb
call fcn.00452680
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], bl
call fcn.004dd151
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.004dd151
or ebp, 0xffffffff
jmp 0x46be7b
lea edx, [esp + 0x28]
push 0xdb
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0xa
call fcn.00452680
lea ecx, [esp + 0x28]
mov byte [esp + 0xc4], bl
call fcn.004dd151
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.004dd151
lea ecx, [esp + 0x10]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004dd151
mov eax, 0xfffffffe
jmp 0x46c508
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x458]
push ebx
push 0x501
push eax
push ecx
call sub.WSOCK32.dll_WSAAsyncSelect
lea edx, [esp + 0x14]
push 0x11b
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0xc
call fcn.00452680
mov byte [esp + 0xc4], bl
lea ecx, [esp + 0x14]
call fcn.004dd151
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.0046a880
or ebp, 0xffffffff
cmp eax, 0x78
mov dword [esp + 0x18], eax
jg 0x46bdbc
cmp eax, 0x78
jne 0x46be92
lea ecx, [esp + 0x14]
push 0x11a
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0x10
call fcn.00452680
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], bl
call fcn.004dd151
mov edx, dword [esp + 0x1c]
lea edi, [esi + 0x550]
add edx, 8
mov ecx, edi
push edx
call fcn.004dd569
mov eax, dword [esp + 0x1c]
mov ecx, edi
add eax, 4
push eax
call fcn.004dd569
mov eax, dword [esp + 0x1c]
mov edi, eax
test eax, eax
mov dword [esp + 0x2c], edi
je 0x46bda3
lea ecx, [eax + 8]
mov byte [esp + 0xc4], 0x11
call fcn.004dd151
lea ecx, [edi + 4]
mov byte [esp + 0xc4], bl
call fcn.004dd151
push edi
call fcn.004dd7c3
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0046a880
cmp eax, 0x78
mov dword [esp + 0x18], eax
jle 0x46bd0d
cmp eax, 0xdc
je 0x46c04e
cmp eax, 0x1a5
je 0x46bfa5
lea edx, [esp + 0x44]
push 0xdf
push edx
call fcn.0042e0a0
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
add esp, 8
lea edx, [esp + 0x58]
push ecx
push eax
push edx
call fcn.004c28ad
add esp, 0xc
lea ecx, [esp + 0x44]
call fcn.004dd151
lea eax, [esp + 0x58]
push 0
push eax
mov ecx, esi
call fcn.00452680
mov ecx, dword [esp + 0x1c]
add esi, 0x550
add ecx, 8
push ecx
mov ecx, esi
call fcn.004dd569
mov edx, dword [esp + 0x1c]
mov ecx, esi
add edx, 4
push edx
call fcn.004dd569
mov eax, dword [esp + 0x1c]
mov esi, eax
test eax, eax
mov dword [esp + 0x2c], esi
je 0x46be6a
lea ecx, [eax + 8]
mov byte [esp + 0xc4], 0x16
call fcn.004dd151
lea ecx, [esi + 4]
mov byte [esp + 0xc4], bl
call fcn.004dd151
push esi
call fcn.004dd7c3
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.004dd151
lea ecx, [esp + 0x10]
mov dword [esp + 0xc4], ebp
call fcn.004dd151
mov eax, ebp
jmp 0x46c508
cmp eax, 0xfffffffe
je 0x46bf40
cmp eax, ebp
je 0x46bf05
test eax, eax
jne 0x46bdd2
lea edx, [esp + 0x28]
push 0xde
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0xd
call fcn.00452680
lea ecx, [esp + 0x28]
mov byte [esp + 0xc4], bl
call fcn.004dd151
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.004dd151
lea ecx, [esp + 0x10]
mov dword [esp + 0xc4], ebp
call fcn.004dd151
xor eax, eax
jmp 0x46c508
lea eax, [esp + 0x3c]
push 0xe1
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0xf
call fcn.00452680
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc4], bl
call fcn.004dd151
jmp 0x46be6a
lea ecx, [esp + 0x40]
push 0xda
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0xe
call fcn.00452680
lea ecx, [esp + 0x40]
mov byte [esp + 0xc4], bl
call fcn.004dd151
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.004dd151
lea ecx, [esp + 0x10]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004dd151
mov eax, 0xfffffffe
jmp 0x46c508
lea eax, [esp + 0x38]
push 0xdd
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0x14
call fcn.00452680
lea ecx, [esp + 0x38]
mov byte [esp + 0xc4], bl
call fcn.004dd151
mov ecx, dword [esp + 0x1c]
add esi, 0x550
add ecx, 8
push ecx
mov ecx, esi
call fcn.004dd569
mov edx, dword [esp + 0x1c]
mov ecx, esi
add edx, 4
push edx
call fcn.004dd569
mov eax, dword [esp + 0x1c]
mov esi, eax
test eax, eax
mov dword [esp + 0x2c], esi
je 0x46c035
lea ecx, [eax + 8]
mov byte [esp + 0xc4], 0x15
call fcn.004dd151
lea ecx, [esi + 4]
mov byte [esp + 0xc4], bl
call fcn.004dd151
push esi
call fcn.004dd7c3
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.004dd151
or ebp, 0xffffffff
jmp 0x46be7b
lea eax, [esp + 0x24]
push 0x109
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0x12
call fcn.00452680
lea ecx, [esp + 0x24]
mov byte [esp + 0xc4], bl
call fcn.004dd151
mov ecx, dword [esp + 0x1c]
lea edi, [esi + 0x550]
add ecx, 8
push ecx
mov ecx, edi
call fcn.004dd569
mov edx, dword [esp + 0x1c]
mov ecx, edi
add edx, 4
push edx
call fcn.004dd569
mov eax, dword [esp + 0x1c]
mov edi, eax
test eax, eax
mov dword [esp + 0x2c], edi
je 0x46c0de
lea ecx, [eax + 8]
mov byte [esp + 0xc4], 0x13
call fcn.004dd151
lea ecx, [edi + 4]
mov byte [esp + 0xc4], bl
call fcn.004dd151
push edi
call fcn.004dd7c3
add esp, 4
lea eax, [esp + 0x24]
push 0xb1
push eax
call fcn.0042e0a0
add esp, 8
mov ecx, dword [esi + 0x3c]
mov eax, dword [eax]
push eax
mov byte [esp + 0xc8], 0x17
mov edx, dword [ecx]
call dword [edx + 0x50]
lea ecx, [esp + 0x24]
mov byte [esp + 0xc4], bl
call fcn.004dd151
call fcn.004f7df8
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x704]
test ecx, ecx
je case.0x46b996.2
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne case.0x46b996.2
mov ecx, dword [0x5581a0]
mov dword [esp + 0x38], ecx
mov byte [esp + 0xc4], 0x18
call fcn.004f7df8
call fcn.004f7df8
mov eax, dword [eax + 0xc]
push 2
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea edx, [esp + 0x24]
push 0xb1
push edx
mov edi, eax
call fcn.0042e0a0
add esp, 8
mov ebp, dword [eax]
mov byte [esp + 0xc4], 0x19
call fcn.004dd9d5
test eax, eax
je 0x46c193
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x46c195
xor eax, eax
push ebp
push edi
lea ecx, [eax + 0x8e4]
call fcn.004b0080
lea ecx, [esp + 0x24]
mov byte [esp + 0xc4], 0x18
call fcn.004dd151
lea ecx, [esp + 0x38]
mov byte [esp + 0xc4], bl
call fcn.004dd151
mov ecx, esi
call fcn.0046c550
mov edi, eax
cmp edi, ebx
je 0x46c1f1
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.004dd151
mov dword [esp + 0xc4], 0xffffffff
jmp 0x46c4fd
xor ebp, ebp
mov ecx, esi
push ebp
push ebp
push ebp
push str.TYPE_I_r_n
call fcn.00469ee0
mov eax, dword [esi + 0x4b0]
mov eax, dword [eax + 0x84]
dec eax
cmp eax, 3
ja case.default.0x46c218
jmp dword [eax*4 + 0x46c53c]
lea ecx, [esp + 0x18]
push ebp
push ecx
push ebp
push str.REST_100_r_n
mov ecx, esi
call fcn.00469ee0
cmp dword [esp + 0x18], 0x15e
jne 0x46c256
push ebp
push ebp
push ebp
push str.REST_0_r_n
mov ecx, esi
mov dword [esi + 0x4ac], ebx
call fcn.00469ee0
jmp 0x46c3ae
push ebp
push ebp
push ebp
push str.REST_0_r_n
mov ecx, esi
mov dword [esi + 0x4ac], ebp
call fcn.00469ee0
jmp 0x46c3ae
lea edx, [esp + 0x18]
push ebp
push edx
push ebp
push str.REST_100_r_n
mov ecx, esi
call fcn.00469ee0
cmp dword [esp + 0x18], 0x15e
jne 0x46c2a5
mov eax, dword [esi + 0x4b0]
mov dword [esi + 0x4ac], ebx
mov dword [eax + 0x84], 3
jmp 0x46c2bb
mov ecx, dword [esi + 0x4b0]
mov dword [esi + 0x4ac], ebp
mov dword [ecx + 0x84], 4
push ebp
push ebp
push ebp
push str.REST_0_r_n
mov ecx, esi
call fcn.00469ee0
push ebx
mov ecx, 0x55f7e0
call fcn.004b39f0
test eax, eax
jne 0x46c3ae
mov edx, dword [esi + 0x54c]
mov ecx, 0x55f7e0
push edx
call fcn.004b1ed0
cmp eax, ebp
je 0x46c3ae
mov ecx, dword [esi + 0x4b0]
mov edx, dword [ecx + 0x84]
mov ecx, 0x55f7e0
mov dword [eax + 0x120], edx
call fcn.004b1420
jmp 0x46c3ae
call fcn.004f7df8
mov eax, dword [eax + 4]
cmp dword [eax + 0xfc], ebp
je 0x46c332
lea eax, [esp + 0x18]
push ebp
push eax
jmp 0x46c225
mov ecx, dword [esi + 0x4b0]
mov eax, dword [ecx + 0x84]
cmp eax, 5
jne 0x46c396
lea edx, [esp + 0x18]
push ebp
push edx
push ebp
push str.REST_100_r_n
mov ecx, esi
call fcn.00469ee0
cmp dword [esp + 0x18], 0x15e
jne 0x46c37b
mov eax, dword [esi + 0x4b0]
mov dword [esi + 0x4ac], ebx
mov dword [eax + 0x84], 6
jmp 0x46c2bb
mov ecx, dword [esi + 0x4b0]
mov dword [esi + 0x4ac], ebp
mov dword [ecx + 0x84], 7
jmp 0x46c2bb
cmp eax, 6
jne 0x46c3a3
mov dword [esi + 0x4ac], ebx
jmp 0x46c3ae
cmp eax, 7
jne 0x46c3ae
mov dword [esi + 0x4ac], ebp
cmp dword [esi + 0x4ac], ebp
je 0x46c3e8
lea eax, [esp + 0x24]
push 0x11f
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0x1a
call fcn.00452680
mov byte [esp + 0xc4], bl
lea ecx, [esp + 0x24]
jmp 0x46c418
lea ecx, [esp + 0x2c]
push 0x11e
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0x1b
call fcn.00452680
mov byte [esp + 0xc4], bl
lea ecx, [esp + 0x2c]
call fcn.004dd151
mov eax, dword [0x5581a0]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
push ecx
mov byte [esp + 0xc8], 0x1d
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x55cec0
call fcn.004dd1bf
mov ecx, esi
call fcn.00475f20
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x55cec0
call fcn.004dd1bf
mov ecx, esi
call fcn.00475f70
push 0
lea edx, [esp + 0x38]
push 0
push edx
push str.PWD_r_n
mov ecx, esi
call fcn.00469ee0
or ebp, 0xffffffff
cmp eax, 2
jne 0x46c4c2
lea eax, [esp + 0x30]
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.00470b10
add esp, 4
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004dcec6
mov ecx, esi
call fcn.00475f20
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.004dcec6
mov ecx, esi
call fcn.00475f70
jmp 0x46c4c4
mov edi, ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0xc4], 0x1c
call fcn.004dd151
lea ecx, [esp + 0x34]
mov byte [esp + 0xc4], bl
call fcn.004dd151
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.004dd151
mov dword [esp + 0xc4], ebp
lea ecx, [esp + 0x10]
call fcn.004dd151
mov eax, edi
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xb8
ret