Function at 0x4930d0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov eax, dword [0x5ed44c]
sub esp, 0x3f8
push ebx
xor ebx, ebx
cmp eax, ebx
push ebp
mov ebp, ecx
je 0x4935ca
lea esp, [esp]
cmp eax, ebp
je 0x493109
mov eax, dword [eax + 0x4bc]
cmp eax, ebx
jne 0x4930f0
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret
mov ecx, dword [ebp + 0x4b8]
call fcn.004f0af0
test eax, eax
je 0x4935ca
cmp dword [ebp + 0x47c], 2
push esi
push edi
jne 0x49341d
mov eax, dword [ebp + 0x480]
sub eax, 0x82
je 0x4935d5
dec eax
jne 0x4933a3
mov eax, dword [0x5f92ec]
mov ecx, dword [ebp + 0x4b0]
push ebx
push ebx
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
mov eax, dword [ebp + 0x4b0]
push ebx
push 0x3e6
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x4933a3
cmp eax, ebx
jle 0x4933a3
lea ecx, [esp + 0x20]
mov byte [esp + eax + 0x20], bl
call fcn.004ef800
test eax, eax
je 0x4933a3
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x18], ecx
push 0x5a5348
push edx
mov dword [esp + 0x24], ecx
call fcn.00591e4f
push 0x5a5348
mov edi, 1
push ebx
mov dword [esp + 0x20], eax
mov esi, edi
call fcn.00591e4f
add esp, 0x10
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x4933a3
lea esp, [esp]
cmp esi, 3
jge 0x4931fc
push 0x5a5348
push ebx
inc esi
call fcn.00591e4f
add esp, 8
cmp eax, ebx
mov dword [esp + esi*4 + 0x10], eax
jne 0x4931e0
cmp esi, 2
jl 0x4933a3
mov ecx, dword [esp + 0x14]
call fcn.004ef840
test eax, eax
je 0x4933a3
mov eax, dword [esp + 0x10]
push eax
call fcn.0059164b
add esp, 4
cmp eax, 0x83
je 0x4932c8
mov esi, dword [0x5c81a0]
cmp esi, ebx
je 0x4933a3
lea esp, [esp]
cmp dword [esi + 0x53c], ebx
je 0x49326b
cmp dword [esi + 0x520], 3
jne 0x49326b
lea ecx, [ebp + 0xcc]
push ecx
lea edx, [esi + 0x4b8]
push edx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x49328b
mov esi, dword [esi + 0x890]
cmp esi, ebx
jne 0x493240
xor edx, edx
mov ecx, ebp
call fcn.00491f60
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret
mov eax, dword [0x5c9d44]
push eax
xor edx, edx
mov ecx, 0xb61
mov dword [0x5bfd5c], ebx
mov dword [0x5f31fc], edi
call fcn.0041f1a0
mov ecx, dword [esi]
mov edx, eax
call fcn.00513d20
xor edx, edx
mov ecx, ebp
call fcn.00491f60
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret
mov ecx, dword [esp + 0x18]
push 0xa
push ebx
push ecx
call fcn.005915ac
add esp, 0xc
push ebx
lea esi, [ebp + 0x234]
push ebx
lea edx, [ebp + 0x130]
mov ecx, esi
mov dword [ebp + 0x464], eax
call fcn.00481650
mov ecx, esi
call fcn.00421d30
test eax, eax
jne 0x4933a3
cmp dword [0x5bfa04], ebx
mov edx, dword [0x5c9f54]
mov dword [0x5f9328], edx
je 0x49332c
mov ecx, dword [0x5f92ec]
push ebx
push 0x46e750
mov edx, 0x32a
call fcn.0046c300
mov ecx, ebp
call fcn.004922a0
test eax, eax
je 0x4933a3
mov eax, dword [0x5ca838]
mov dword [ebp + 0x468], eax
mov dword [0x5ca838], ebx
mov ecx, ebp
mov dword [ebp + 0x474], edi
call fcn.00491cb0
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp + 4]
push ecx
lea edx, [esp + 0x28]
push str.Get__s__s
push edx
mov dword [ebp + 0x4ac], ebx
call esi
add esp, 0x10
mov ecx, ebp
call fcn.00492650
cmp eax, ebx
mov dword [ebp], eax
jne 0x4933b9
mov eax, dword [ebp + 0x4b8]
push ebp
push eax
push ebx
push 2
mov edx, 3
lea ecx, [esp + 0x30]
call fcn.005677e0
cmp eax, ebx
mov dword [ebp], eax
jne 0x4933b9
xor edx, edx
mov ecx, ebp
call fcn.00491f60
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret
push ebx
push ebx
push ebx
push ebx
mov edx, 2
mov ecx, ebp
call fcn.0054c570
mov eax, dword [ebp + 0x4b8]
mov edx, dword [eax + 0xf2c]
mov ecx, dword [ebp + 0x468]
imul edx, edx, 0x64
push ecx
lea eax, [edx + eax + 0xe00]
push eax
lea ecx, [esp + 0x28]
push str.132__s__lu_n
push ecx
call esi
lea eax, [esp + 0x30]
add esp, 0x10
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493400
sub eax, edx
push ebx
push eax
mov eax, dword [ebp + 0x4b0]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.WSOCK32.dll_send]
push ebx
mov dword [ebp + 0x440], 4
mov dword [ebp + 0x458], ebx
mov dword [ebp + 0x460], ebx
call fcn.00591e16
add esp, 4
mov dword [ebp + 0x490], eax
mov dword [ebp + 0x494], eax
call fcn.00420fa0
mov dword [ebp + 0x49c], edx
mov edx, dword [ebp + 0x458]
mov dword [ebp + 0x4a0], edx
lea esi, [ebp + 0x130]
lea edx, [esp + 0x20]
mov dword [ebp + 0x498], eax
mov dword [ebp + 0x4a4], ebx
mov dword [ebp + 0x4a8], ebx
mov eax, esi
sub edx, esi
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x493480
mov edx, 2
lea ecx, [esp + 0x20]
call fcn.00421f20
test eax, eax
jne 0x4934cf
push ebx
push ebx
lea edx, [esp + 0x28]
mov ecx, 0x5a4bec
call fcn.00481650
mov edx, 2
lea ecx, [esp + 0x20]
call fcn.00421f20
test eax, eax
jne 0x4934cf
mov edi, edi
mov cl, byte [eax + 0x5ee048]
mov byte [esp + eax + 0x20], cl
inc eax
cmp cl, bl
jne 0x4934c0
lea ecx, [esp + 0x20]
call fcn.00422770
lea eax, [esp + 0x20]
push eax
mov edx, 0x104
mov ecx, esi
call fcn.00420d70
lea eax, [ebp + 0x234]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4934f1
lea edi, [esp + 0x20]
sub eax, edx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x493500
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x468]
and ecx, 3
cmp eax, ebx
push ebx
rep movsb byte es:[edi], byte [esi]
push 0x80
jbe 0x493649
push 3
push ebx
push 1
push 0x40000000
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0x43c], eax
je 0x49366d
mov eax, dword [ebp + 0x468]
mov dword [ebp + 0x458], eax
mov dword [ebp + 0x4a0], eax
xor edx, edx
mov ecx, 0xb63
call fcn.0041f1a0
push eax
push 1
push 1
push 1
mov edx, 1
mov ecx, ebp
call fcn.0054c570
xor edx, edx
mov ecx, 0xb64
call fcn.0041f1a0
push eax
push ebx
push ebx
push ebx
xor edx, edx
mov ecx, ebp
call fcn.0054c570
cmp dword [0x5be1bc], ebx
je 0x4935ae
mov edx, 0x1c
mov ecx, ebp
call fcn.00491c60
push 0x23
push 0x8012
mov eax, dword [0x5f92ec]
mov ecx, dword [ebp + 0x4b0]
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret
mov eax, dword [ebp + 0x4b8]
lea ecx, [ebp + 0x234]
push ecx
mov dword [ebp + 0x480], 0x83
mov ecx, dword [eax + 0xf2c]
imul ecx, ecx, 0x64
lea edx, [ebp + 0x130]
push edx
lea edx, [ecx + eax + 0xe00]
push edx
lea eax, [esp + 0x2c]
push str.130__s__s_s_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x34]
add esp, 0x14
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493620
push ebx
sub eax, edx
mov edx, dword [ebp + 0x4b0]
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_send]
push 0x21
push 0x800f
jmp 0x4935b5
push 2
push ebx
push 1
push 0x40000000
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0x43c], eax
jne 0x493562
xor edx, edx
mov ecx, 0xb62
call fcn.0041f1a0
push eax
xor edx, edx
mov ecx, ebp
call fcn.00492700
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret