Function at 0x482f1e
Capabilities:
Send data
Send data on socket
Terminate process

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x30]
xor ecx, ecx
push ebp
inc ecx
mov eax, 0x40000000
mov dword [esp + 0x20], ecx
mov ebp, ecx
push esi
push edi
test eax, ebx
je 0x482f49
xor ebx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], ebx
mov eax, ecx
jmp 0x482f4f
xor eax, eax
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x34]
test esi, esi
jne 0x482f5f
push 0xfffffffffffffffc
pop eax
jmp 0x4834c4
xor edx, edx
mov dword [esp + 0x34], edx
cmp dword [esi + 0x224], edx
je 0x483171
test eax, eax
jne 0x482f87
lea ecx, [esi + 0x20c]
call fcn.0044de31
mov edx, dword [esp + 0x34]
xor ecx, ecx
inc ecx
test ebx, ebx
je 0x482ffe
lea edi, [esp + 0x3c]
mov eax, dword [edi + 8]
lea edi, [edi + 0xc]
mov ebp, dword [edi - 8]
cmp eax, 0x7fffffff
ja 0x482fe5
test edx, edx
jne 0x482fe5
push eax
push ebp
push dword [esi + 0x224]
call fcn.0058c380
add esp, 0xc
cmp dword [edi], 0
jne 0x482fc4
xor eax, eax
inc eax
push eax
push ebp
call fcn.005f5b20
pop ecx
pop ecx
mov edx, dword [esp + 0x34]
xor ecx, ecx
inc ecx
sub ebx, 1
jne 0x482f8f
test edx, edx
je 0x482ffe
push 0xfffffffffffffffb
pop ebx
mov ecx, esi
call fcn.00482ecf
xor ebp, ebp
jmp 0x483142
cmp dword [edi], 0
jne 0x482ff6
push ecx
push ebp
call fcn.005f5b20
pop ecx
pop ecx
xor ecx, ecx
inc ecx
mov edx, ecx
mov dword [esp + 0x34], edx
jmp 0x482fcb
mov eax, dword [esi + 0x238]
xor ebp, ebp
cmp dword [esi + 0x208], ebp
jne 0x48313b
cmp dword [eax], ebp
jbe 0x48312f
push 0xf
push dword [esi + 0x230]
call fcn.004c26a0
mov eax, dword [esi + 0x238]
pop ecx
pop ecx
push ebp
push dword [eax]
push dword [eax + 4]
push dword [esi + 0x34]
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
test edi, edi
jle 0x483050
mov eax, dword [esi + 0x238]
cmp edi, dword [eax]
jl 0x483067
test edi, edi
jns 0x4830ff
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x4830ff
test edi, edi
jns 0x48306f
mov edx, ebp
jmp 0x483079
mov eax, dword [esi + 0x238]
mov edx, dword [eax]
sub edx, edi
push ebp
push ebp
push 0x30
pop ecx
call fcn.004878dc
pop ecx
pop ecx
mov ecx, eax
mov dword [ecx + 0x28], 3
mov dword [ecx + 8], ebp
mov dword [esi + 0x208], ecx
mov dword [esi + 0x204], ecx
test edi, edi
jle 0x483140
lea eax, [ecx + 0x34]
mov dword [ecx], eax
mov eax, dword [esi + 0x238]
mov ecx, dword [eax]
mov eax, dword [esi + 0x204]
sub ecx, edi
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x204]
mov eax, dword [esi + 0x238]
mov edx, dword [ecx + 4]
mov eax, dword [eax + 4]
mov ecx, dword [ecx]
add eax, edi
push edx
push eax
call section..text
mov eax, dword [esi + 0x204]
add dword [esi + 0x3c], edi
push ebp
push ebp
mov eax, dword [eax + 4]
mov dword [esi + 0x38], eax
xor eax, eax
inc eax
push eax
push dword [esi + 0x230]
call fcn.004c26d0
add esp, 0x18
jmp 0x483140
mov eax, dword [esi + 0x238]
cmp edi, dword [eax]
jne 0x48312f
push ebp
xor eax, eax
inc eax
push ebp
push eax
push dword [esi + 0x230]
mov ebx, eax
call fcn.004c26d0
mov eax, dword [esi + 0x238]
add esp, 0x10
add dword [esi + 0x3c], edi
mov eax, dword [eax]
mov dword [esi + 0x38], eax
jmp 0x483142
push 0xfffffffffffffffc
pop ebx
mov ecx, esi
call fcn.00482ecf
jmp 0x483142
mov eax, dword [eax]
mov dword [esi + 0x38], eax
mov ebx, ebp
cmp dword [esp + 0x20], 0
jne 0x48314f
mov dword [esi + 0x20c], ebp
xor eax, eax
inc eax
cmp ebx, eax
je 0x48316a
mov ecx, dword [esi + 0x10]
call fcn.0048fb51
test eax, eax
jne 0x48316a
mov ecx, dword [esi + 0x10]
call fcn.00488135
mov eax, ebx
jmp 0x4834c4
test eax, eax
jne 0x483187
lea ecx, [esi + 0x20c]
call fcn.0044de31
mov edx, dword [esp + 0x34]
xor ecx, ecx
inc ecx
cmp dword [esi + 0x34], 0xffffffff
jne 0x4831cb
test ebx, ebx
je 0x4831b1
lea edi, [esp + 0x3c]
mov eax, dword [edi + 4]
lea edi, [edi + 0xc]
cmp dword [edi], 0
jne 0x4831a9
push ecx
push eax
call fcn.005f5b20
pop ecx
pop ecx
push 1
pop ecx
sub ebx, 1
jne 0x483195
cmp dword [esp + 0x20], 0
jne 0x482f57
mov dword [esi + 0x20c], 0
jmp 0x482f57
and dword [esp + 0x24], 0
test ebx, ebx
je 0x483488
lea eax, [esp + 0x3c]
mov dword [esp + 0x2c], 0x17
mov ecx, dword [eax + 8]
mov edi, dword [eax + 4]
add eax, 0xc
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
mov eax, dword [eax]
cmp ecx, 0x7fffffff
ja 0x483429
test edx, edx
jne 0x483429
xor eax, eax
cmp dword [esi + 0x208], eax
jne 0x48336a
cmp dword [esi + 0x1ec], eax
je 0x48336a
mov ebp, dword [esp + 0x38]
test ebp, ebp
je 0x48325b
movzx edx, word [ebp]
cmp dx, word [esp + 0x28]
je 0x48325b
cmp dx, word [esp + 0x2c]
push 0x10
pop eax
push 0x1c
pop edx
cmove eax, edx
push eax
push ebp
push 0
push ecx
push edi
push dword [esi + 0x34]
call dword [sym.imp.WS2_32.dll_sendto]
jmp 0x483267
push eax
push ecx
push edi
push dword [esi + 0x34]
call dword [sym.imp.WS2_32.dll_send]
mov ebp, dword [esp + 0x14]
mov edi, eax
test edi, edi
jle 0x483277
cmp edi, ebp
jl 0x48328e
test edi, edi
jns 0x48331d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x48331d
push 0
xor eax, eax
test edi, edi
push 0
cmovns eax, edi
xor edx, edx
push 0x30
pop ecx
mov edi, eax
call fcn.004878dc
mov ebp, eax
mov eax, dword [esp + 0x24]
pop ecx
pop ecx
mov ecx, dword [eax]
cmp ecx, 2
jne 0x4832f9
mov eax, dword [esp + 0x14]
xor ecx, ecx
push 0x2eb
push 0x756a14
inc ecx
sub eax, edi
push ecx
push eax
mov dword [ebp + 4], eax
call fcn.005f5c60
mov ecx, eax
add esp, 0x10
mov dword [ebp], ecx
test ecx, ecx
je 0x4834cc
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x18]
push edx
add eax, edi
push eax
call section..text
and dword [ebp + 0x28], 0
pop ecx
pop ecx
jmp 0x48330d
mov eax, dword [esp + 0x18]
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
mov dword [ebp + 4], eax
mov dword [ebp + 8], edi
mov dword [ebp + 0x28], ecx
mov dword [esi + 0x208], ebp
mov dword [esi + 0x204], ebp
xor ebp, ebp
jmp 0x483349
cmp edi, ebp
jne 0x48333f
mov eax, dword [esp + 0x1c]
xor edx, edx
inc edx
mov ebp, edx
mov ecx, dword [eax]
test ecx, ecx
jne 0x483349
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.005f5b20
pop ecx
pop ecx
jmp 0x483349
push 0xfffffffffffffffc
pop ebp
mov ecx, esi
call fcn.00482ecf
mov edx, dword [esp + 0x34]
test edi, edi
jle 0x483443
add dword [esi + 0x3c], edi
sub dword [esi + 0x38], edi
jns 0x483443
and dword [esi + 0x38], 0
jmp 0x483443
push eax
push eax
push 0x30
xor edx, edx
pop ecx
call fcn.004878dc
mov edi, eax
mov eax, dword [esp + 0x1c]
pop ecx
pop ecx
mov dword [edi + 4], eax
add dword [esi + 0x38], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
cmp ecx, 2
jne 0x4833ce
push 0x2bc
xor eax, eax
push 0x756990
inc eax
push eax
push dword [edi + 4]
call fcn.005f5c60
mov ecx, eax
add esp, 0x10
mov dword [edi], ecx
test ecx, ecx
je 0x483459
mov eax, dword [esp + 0x14]
mov edx, dword [edi + 4]
push eax
mov eax, dword [esp + 0x1c]
push eax
call section..text
and dword [edi + 0x28], 0
pop ecx
pop ecx
jmp 0x4833d7
mov eax, dword [esp + 0x18]
mov dword [edi], eax
mov dword [edi + 0x28], ecx
and dword [edi + 8], 0
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4833fe
push 0x10
pop eax
push 0x17
pop edx
cmp word [ecx], dx
push 0x1c
pop edx
cmove eax, edx
push eax
push ecx
lea ecx, [edi + 0xc]
call section..text
pop ecx
pop ecx
and dword [edi + 0x2c], 0
mov eax, dword [esi + 0x208]
mov edx, dword [esp + 0x34]
test eax, eax
jne 0x48341e
mov dword [esi + 0x208], edi
mov dword [esi + 0x204], edi
jmp 0x483443
mov dword [eax + 0x2c], edi
mov dword [esi + 0x208], edi
jmp 0x483443
xor ecx, ecx
inc ecx
mov edx, ecx
mov dword [esp + 0x34], edx
test eax, eax
jne 0x483443
push ecx
push edi
call fcn.005f5b20
mov edx, dword [esp + 0x3c]
pop ecx
pop ecx
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, ebx
jae 0x483488
mov eax, dword [esp + 0x1c]
jmp 0x4831e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov ebx, 0x2bc
push esi
push ebx
mov edx, 0x7569b0
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push ebx
push 0x7569d0
push 0x7569f0
jmp 0x4834f9
cmp dword [esp + 0x20], 0
jne 0x483499
mov dword [esi + 0x20c], 0
test edx, edx
je 0x4834a7
push 0xfffffffffffffffb
pop ebp
mov ecx, esi
call fcn.00482ecf
xor eax, eax
inc eax
cmp ebp, eax
je 0x4834c2
mov ecx, dword [esi + 0x10]
call fcn.0048fb51
test eax, eax
jne 0x4834c2
mov ecx, dword [esi + 0x10]
call fcn.00488135
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov ebx, 0x2eb
push esi
push ebx
mov edx, 0x756a34
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push ebx
push 0x756a54
push 0x756a74
call fcn.00401109
add esp, 0xc
push esi
call fcn.005d08b0
int3