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

Disassembly:
push 0xffffffffffffffff
push 0x5123d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov eax, dword [0x5580c0]
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 0x46bafc
mov edi, dword [eax + 8]
call fcn.004ddcd1
cmp eax, ebp
je 0x46bade
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x46bae0
xor eax, eax
mov ecx, dword [0x55e888]
push edi
push ecx
push ebp
push ebp
lea ecx, [eax + 0x758]
call fcn.004e6e12
mov ecx, eax
call fcn.00480080
mov edx, dword [esi + 0x4b0]
mov eax, dword [edx + 0x44]
cmp eax, 2
jne 0x46bb18
call fcn.004f80f4
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x830]
cmp eax, ebp
je 0x46bd1b
call fcn.004f80f4
mov eax, dword [eax + 4]
cmp dword [eax + 0x834], ebp
je 0x46bd1b
cmp dword [0x55e14c], ebp
je 0x46bb4b
mov ecx, esi
call fcn.004513c0
test eax, eax
jne 0x46bd1b
mov ecx, esi
call fcn.0046adf0
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x46bb8c
lea eax, [esp + 0x28]
push 0xc7
push eax
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov byte [esp + 0xcc], 2
call fcn.00452980
mov byte [esp + 0xc4], bl
lea ecx, [esp + 0x28]
jmp 0x46bbfd
call fcn.004f80f4
mov eax, dword [eax + 4]
cmp dword [eax + 0x834], ebx
je 0x46bbbe
call fcn.004f80f4
mov eax, dword [eax + 4]
cmp dword [eax + 0x834], 3
je 0x46bbbe
call fcn.004f80f4
mov eax, dword [eax + 4]
cmp dword [eax + 0x834], 4
jne 0x46bc32
mov ecx, esi
call fcn.0046b270
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x46bc32
lea ecx, [esp + 0x28]
push 0xcc
push ecx
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov byte [esp + 0xcc], 3
call fcn.00452980
mov byte [esp + 0xc4], bl
lea ecx, [esp + 0x28]
call fcn.004dd44d
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.004dd44d
lea ecx, [esp + 0x10]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004dd44d
mov eax, esi
jmp 0x46c77e
call fcn.004f80f4
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x834]
dec eax
cmp eax, 5
ja case.default.0x46bc46
jmp dword [eax*4 + 0x46c798]
mov edx, dword [esi + 0x4b0]
lea eax, [esp + 0x28]
add edx, 8
push edx
push str.site
push eax
call fcn.004dd756
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8], 4
call fcn.004dd586
mov byte [esp + 0xc4], bl
lea ecx, [esp + 0x28]
jmp 0x46bcbb
mov ecx, dword [esi + 0x4b0]
lea edx, [esp + 0x14]
add ecx, 8
push ecx
push str.open
push edx
call fcn.004dd756
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8], 5
call fcn.004dd586
mov byte [esp + 0xc4], bl
lea ecx, [esp + 0x14]
call fcn.004dd44d
push 0x5526b0
lea ecx, [esp + 0x14]
call fcn.004dd829
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.0042e2e0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0xcc], 6
call fcn.00452980
mov byte [esp + 0xc4], bl
lea ecx, [esp + 0x14]
jmp 0x46bf99
lea edx, [esp + 0x14]
push 0xe936
push edx
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0xc8], 7
call fcn.00467ff0
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], bl
call fcn.004dd44d
lea eax, [esp + 0x14]
push 0x10a
push eax
call fcn.0042e2e0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8], 8
call fcn.004dd586
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], bl
call fcn.004dd44d
mov ecx, dword [esi + 0x4b0]
add ecx, 8
push ecx
lea ecx, [esp + 0x14]
call fcn.004dd865
mov edx, dword [esp + 0x10]
push ebp
push edx
mov ecx, esi
call fcn.00452980
mov eax, dword [esi + 0x4b0]
lea ecx, [esp + 0x4c]
push ecx
mov eax, dword [eax + 8]
push eax
call fcn.0046adb0
add esp, 8
test eax, eax
jne 0x46be0d
lea edx, [esp + 0x14]
push 0xd5
push edx
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0xcc], 9
call fcn.00452980
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], bl
call fcn.004dd44d
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.004dd44d
or ebp, 0xffffffff
jmp 0x46c12b
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.004dd829
mov edx, dword [esp + 0x4c]
push edx
call sub.WSOCK32.dll_inet_ntoa
push eax
lea ecx, [esp + 0x14]
call fcn.004dd829
push 0x29
lea ecx, [esp + 0x14]
call fcn.004dd850
mov eax, dword [esp + 0x10]
push ebp
push eax
mov ecx, esi
call fcn.00452980
cmp dword [0x55e14c], ebp
je 0x46be77
mov ecx, esi
call fcn.004513c0
mov dword [0x55e148], eax
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x458]
lea edx, [esp + 0x48]
push ecx
push edx
push eax
call fcn.004af360
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x46bf53
cmp eax, 0xfffffffe
je 0x46beef
lea ecx, [esp + 0x14]
push 0xc6
push ecx
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0xb
call fcn.00452980
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], bl
call fcn.004dd44d
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.004dd44d
or ebp, 0xffffffff
jmp 0x46c12b
lea edx, [esp + 0x28]
push 0xdb
push edx
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0xa
call fcn.00452980
lea ecx, [esp + 0x28]
mov byte [esp + 0xc4], bl
call fcn.004dd44d
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.004dd44d
lea ecx, [esp + 0x10]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004dd44d
mov eax, 0xfffffffe
jmp 0x46c77e
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.0042e2e0
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0xc
call fcn.00452980
mov byte [esp + 0xc4], bl
lea ecx, [esp + 0x14]
call fcn.004dd44d
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.0046ab30
or ebp, 0xffffffff
cmp eax, 0x78
mov dword [esp + 0x18], eax
jg 0x46c06c
cmp eax, 0x78
jne 0x46c142
lea ecx, [esp + 0x14]
push 0x11a
push ecx
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0x10
call fcn.00452980
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], bl
call fcn.004dd44d
mov edx, dword [esp + 0x1c]
lea edi, [esi + 0x550]
add edx, 8
mov ecx, edi
push edx
call fcn.004dd865
mov eax, dword [esp + 0x1c]
mov ecx, edi
add eax, 4
push eax
call fcn.004dd865
mov eax, dword [esp + 0x1c]
mov edi, eax
test eax, eax
mov dword [esp + 0x2c], edi
je 0x46c053
lea ecx, [eax + 8]
mov byte [esp + 0xc4], 0x11
call fcn.004dd44d
lea ecx, [edi + 4]
mov byte [esp + 0xc4], bl
call fcn.004dd44d
push edi
call fcn.004ddabf
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0046ab30
cmp eax, 0x78
mov dword [esp + 0x18], eax
jle 0x46bfbd
cmp eax, 0xdc
je 0x46c2fe
cmp eax, 0x1a5
je 0x46c255
lea edx, [esp + 0x44]
push 0xdf
push edx
call fcn.0042e2e0
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
add esp, 8
lea edx, [esp + 0x58]
push ecx
push eax
push edx
call fcn.004c2b9d
add esp, 0xc
lea ecx, [esp + 0x44]
call fcn.004dd44d
lea eax, [esp + 0x58]
push 0
push eax
mov ecx, esi
call fcn.00452980
mov ecx, dword [esp + 0x1c]
add esi, 0x550
add ecx, 8
push ecx
mov ecx, esi
call fcn.004dd865
mov edx, dword [esp + 0x1c]
mov ecx, esi
add edx, 4
push edx
call fcn.004dd865
mov eax, dword [esp + 0x1c]
mov esi, eax
test eax, eax
mov dword [esp + 0x2c], esi
je 0x46c11a
lea ecx, [eax + 8]
mov byte [esp + 0xc4], 0x16
call fcn.004dd44d
lea ecx, [esi + 4]
mov byte [esp + 0xc4], bl
call fcn.004dd44d
push esi
call fcn.004ddabf
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.004dd44d
lea ecx, [esp + 0x10]
mov dword [esp + 0xc4], ebp
call fcn.004dd44d
mov eax, ebp
jmp 0x46c77e
cmp eax, 0xfffffffe
je 0x46c1f0
cmp eax, ebp
je 0x46c1b5
test eax, eax
jne 0x46c082
lea edx, [esp + 0x28]
push 0xde
push edx
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0xd
call fcn.00452980
lea ecx, [esp + 0x28]
mov byte [esp + 0xc4], bl
call fcn.004dd44d
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.004dd44d
lea ecx, [esp + 0x10]
mov dword [esp + 0xc4], ebp
call fcn.004dd44d
xor eax, eax
jmp 0x46c77e
lea eax, [esp + 0x3c]
push 0xe1
push eax
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0xf
call fcn.00452980
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc4], bl
call fcn.004dd44d
jmp 0x46c11a
lea ecx, [esp + 0x40]
push 0xda
push ecx
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0xe
call fcn.00452980
lea ecx, [esp + 0x40]
mov byte [esp + 0xc4], bl
call fcn.004dd44d
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.004dd44d
lea ecx, [esp + 0x10]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004dd44d
mov eax, 0xfffffffe
jmp 0x46c77e
lea eax, [esp + 0x38]
push 0xdd
push eax
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0x14
call fcn.00452980
lea ecx, [esp + 0x38]
mov byte [esp + 0xc4], bl
call fcn.004dd44d
mov ecx, dword [esp + 0x1c]
add esi, 0x550
add ecx, 8
push ecx
mov ecx, esi
call fcn.004dd865
mov edx, dword [esp + 0x1c]
mov ecx, esi
add edx, 4
push edx
call fcn.004dd865
mov eax, dword [esp + 0x1c]
mov esi, eax
test eax, eax
mov dword [esp + 0x2c], esi
je 0x46c2e5
lea ecx, [eax + 8]
mov byte [esp + 0xc4], 0x15
call fcn.004dd44d
lea ecx, [esi + 4]
mov byte [esp + 0xc4], bl
call fcn.004dd44d
push esi
call fcn.004ddabf
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.004dd44d
or ebp, 0xffffffff
jmp 0x46c12b
lea eax, [esp + 0x24]
push 0x109
push eax
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0x12
call fcn.00452980
lea ecx, [esp + 0x24]
mov byte [esp + 0xc4], bl
call fcn.004dd44d
mov ecx, dword [esp + 0x1c]
lea edi, [esi + 0x550]
add ecx, 8
push ecx
mov ecx, edi
call fcn.004dd865
mov edx, dword [esp + 0x1c]
mov ecx, edi
add edx, 4
push edx
call fcn.004dd865
mov eax, dword [esp + 0x1c]
mov edi, eax
test eax, eax
mov dword [esp + 0x2c], edi
je 0x46c38e
lea ecx, [eax + 8]
mov byte [esp + 0xc4], 0x13
call fcn.004dd44d
lea ecx, [edi + 4]
mov byte [esp + 0xc4], bl
call fcn.004dd44d
push edi
call fcn.004ddabf
add esp, 4
lea eax, [esp + 0x24]
push 0xb1
push eax
call fcn.0042e2e0
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.004dd44d
call fcn.004f80f4
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x704]
test ecx, ecx
je case.0x46bc46.2
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne case.0x46bc46.2
mov ecx, dword [0x5580c0]
mov dword [esp + 0x38], ecx
mov byte [esp + 0xc4], 0x18
call fcn.004f80f4
call fcn.004f80f4
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.0042e2e0
add esp, 8
mov ebp, dword [eax]
mov byte [esp + 0xc4], 0x19
call fcn.004ddcd1
test eax, eax
je 0x46c443
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x46c445
xor eax, eax
push ebp
push edi
lea ecx, [eax + 0x8e4]
call fcn.004b03d0
lea ecx, [esp + 0x24]
mov byte [esp + 0xc4], 0x18
call fcn.004dd44d
lea ecx, [esp + 0x38]
mov byte [esp + 0xc4], bl
call fcn.004dd44d
mov ecx, esi
call fcn.0046c7c0
mov edi, eax
cmp edi, ebx
je 0x46c4a1
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.004dd44d
mov dword [esp + 0xc4], 0xffffffff
jmp 0x46c773
mov eax, dword [esi + 0x4b0]
mov eax, dword [eax + 0x84]
dec eax
cmp eax, 3
ja case.default.0x46c4b7
jmp dword [eax*4 + 0x46c7b0]
xor ebp, ebp
lea ecx, [esp + 0x18]
push ebp
push ecx
jmp 0x46c591
xor ebp, ebp
lea edx, [esp + 0x18]
push ebp
push edx
push ebp
push str.REST_100_r_n
mov ecx, esi
call fcn.0046a190
cmp dword [esp + 0x18], 0x15e
jne 0x46c502
mov eax, dword [esi + 0x4b0]
mov dword [esi + 0x4ac], ebx
mov dword [eax + 0x84], 3
jmp 0x46c518
mov ecx, dword [esi + 0x4b0]
mov dword [esi + 0x4ac], ebp
mov dword [ecx + 0x84], 4
push ebx
mov ecx, 0x55f6e8
call fcn.004b3d00
test eax, eax
jne 0x46c624
mov edx, dword [esi + 0x54c]
mov ecx, 0x55f6e8
push edx
call fcn.004b21e0
cmp eax, ebp
je 0x46c624
mov ecx, dword [esi + 0x4b0]
mov edx, dword [ecx + 0x84]
mov ecx, 0x55f6e8
mov dword [eax + 0x120], edx
call fcn.004b1770
jmp 0x46c624
mov dword [esi + 0x4ac], ebx
xor ebp, ebp
jmp 0x46c624
xor ebp, ebp
jmp 0x46c61e
call fcn.004f80f4
mov eax, dword [eax + 4]
xor ebp, ebp
cmp dword [eax + 0xfc], ebp
je 0x46c5b0
lea eax, [esp + 0x18]
push ebp
push eax
push ebp
push str.REST_100_r_n
mov ecx, esi
call fcn.0046a190
cmp dword [esp + 0x18], 0x15e
jne 0x46c61e
mov dword [esi + 0x4ac], ebx
jmp 0x46c624
mov ecx, dword [esi + 0x4b0]
mov eax, dword [ecx + 0x84]
cmp eax, 5
jne 0x46c614
lea edx, [esp + 0x18]
push ebp
push edx
push ebp
push str.REST_100_r_n
mov ecx, esi
call fcn.0046a190
cmp dword [esp + 0x18], 0x15e
jne 0x46c5f9
mov eax, dword [esi + 0x4b0]
mov dword [esi + 0x4ac], ebx
mov dword [eax + 0x84], 6
jmp 0x46c518
mov ecx, dword [esi + 0x4b0]
mov dword [esi + 0x4ac], ebp
mov dword [ecx + 0x84], 7
jmp 0x46c518
cmp eax, 6
je 0x46c5a8
cmp eax, 7
jne 0x46c624
mov dword [esi + 0x4ac], ebp
cmp dword [esi + 0x4ac], ebp
je 0x46c65e
lea eax, [esp + 0x24]
push 0x11f
push eax
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0x1a
call fcn.00452980
mov byte [esp + 0xc4], bl
lea ecx, [esp + 0x24]
jmp 0x46c68e
lea ecx, [esp + 0x2c]
push 0x11e
push ecx
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0x1b
call fcn.00452980
mov byte [esp + 0xc4], bl
lea ecx, [esp + 0x2c]
call fcn.004dd44d
mov eax, dword [0x5580c0]
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 0x55cde0
call fcn.004dd4bb
mov ecx, esi
call fcn.00476160
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x55cde0
call fcn.004dd4bb
mov ecx, esi
call fcn.004761b0
push 0
lea edx, [esp + 0x38]
push 0
push edx
push str.PWD_r_n
mov ecx, esi
call fcn.0046a190
or ebp, 0xffffffff
cmp eax, 2
jne 0x46c738
lea eax, [esp + 0x30]
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.00470d80
add esp, 4
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004dd1c2
mov ecx, esi
call fcn.00476160
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.004dd1c2
mov ecx, esi
call fcn.004761b0
jmp 0x46c73a
mov edi, ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0xc4], 0x1c
call fcn.004dd44d
lea ecx, [esp + 0x34]
mov byte [esp + 0xc4], bl
call fcn.004dd44d
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.004dd44d
mov dword [esp + 0xc4], ebp
lea ecx, [esp + 0x10]
call fcn.004dd44d
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