Function at 0x5a9452
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x20
call fcn.005fffc4
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x78f158
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0x760402
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.004cce90
add esp, 8
cmp eax, 0
jne 0x5a94c2
jmp 0x5a9b29
push reloc.wsock32.dll_bind
push 0
push 1
mov ebx, 6
call fcn.004d16d3
push reloc.wsock32.dll_connect
push 0
push 0x760400
push reloc.wsock32.dll_connect
push 0
push 0x763f83
push reloc.wsock32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x5a9505
mov eax, 0x760402
push eax
push 6
mov ebx, 0x180
call fcn.00603e30
add esp, 0x4c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x5a9531
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push reloc.wsock32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x5a954c
mov eax, 0x760402
push eax
push 1
mov ebx, 0x130
call fcn.006015a0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push reloc.wsock32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.wsock32.dll_connect
push 0
push 0x760400
push reloc.wsock32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x5a9595
mov eax, 0x760402
push eax
push 4
mov ebx, 0x14c
call fcn.00601490
add esp, 0x34
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp - 0x20]
fstp qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.004c58cd
push 0x80000301
push 0
push eax
push reloc.wsock32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x5a95e5
mov eax, 0x760402
push eax
push 2
mov ebx, 0x138
call fcn.006015c0
add esp, 0x1c
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x5a9611
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
call fcn.004deecb
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 8]
push eax
push 0x18
mov ebx, dword [ebp - 4]
call fcn.004c6a80
push ebx
push 0
push dword [ebp - 0x1c]
call dword [0x7ad575]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x5a9658
push 6
call fcn.005fffca
add esp, 4
mov ebx, dword [ebp - 4]
call fcn.004c6a80
mov eax, 1
cmp eax, ecx
jl 0x5a9676
push 1
call fcn.005fffca
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
fild dword [ebx]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x7968e2]
fstp qword [ebp - 0x2c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x2c]
call fcn.004c58cd
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x910
call fcn.00601210
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
push eax
call fcn.0051d758
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x5a96eb
push ebx
call fcn.005fffbe
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x7968e2]
fstp qword [ebp - 0x28]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x28]
call fcn.004c58cd
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x910
call fcn.00601210
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
call fcn.0051d758
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x5a975c
push ebx
call fcn.005fffbe
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x79b895]
fstp qword [ebp - 0x28]
push 0x80000301
push 0
push 2
fld qword [ebp - 0x28]
call fcn.004c58cd
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x910
call fcn.00601210
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
call fcn.00598ca9
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x5a97cd
push ebx
call fcn.005fffbe
add esp, 4
mov eax, dword [ebp - 0x34]
mov word [ebp - 0x10], ax
fild dword [ebp - 0xc]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x77f42c]
fstp qword [ebp - 0x28]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x28]
call fcn.004c58cd
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x910
call fcn.00601210
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
call fcn.0051d758
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x5a983f
push ebx
call fcn.005fffbe
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 0x104
push 1
mov ebx, 0x184
call fcn.00601800
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x5a987a
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
cwde
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x760425]
fstp qword [ebp - 0x28]
mov dword [ebp - 0x2c], esp
push 0
push 0
push 0x104
push dword [ebp - 0x18]
fld qword [ebp - 0x28]
call fcn.004c58cd
push eax
push dword [ebp - 0x14]
push 0
push 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x5a98de
push 6
call fcn.005fffca
add esp, 4
cmp word [ebp - 0x10], 0x104
jle 0x5a98ef
jmp 0x5a9b29
push reloc.wsock32.dll_bind
push 0
push 1
mov ebx, 6
call fcn.004d16d3
push reloc.wsock32.dll_connect
push 0
push 0x760400
push reloc.wsock32.dll_connect
push 0
push 0x763f83
push reloc.wsock32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x5a9930
mov eax, 0x760402
push eax
push 6
mov ebx, 0x180
call fcn.00603e30
add esp, 0x4c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x5a995a
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push reloc.wsock32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x5a9971
mov eax, 0x760402
push eax
push 1
mov ebx, 0x130
call fcn.006015a0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push reloc.wsock32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.wsock32.dll_connect
push 0
push 0x760400
push reloc.wsock32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x5a99b8
mov eax, 0x760402
push eax
push 4
mov ebx, 0x14c
call fcn.00601490
add esp, 0x34
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp - 0x20]
fstp qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.004c58cd
push 0x80000301
push 0
push eax
push reloc.wsock32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x5a9a06
mov eax, 0x760402
push eax
push 2
mov ebx, 0x138
call fcn.006015c0
add esp, 0x1c
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x5a9a30
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push reloc.wsock32.dll_bind
push 0
push 1
push 0
push 0
push 0
push reloc.wsock32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x5a9a5b
mov eax, 0x760402
push eax
push reloc.wsock32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x5a9a6f
mov eax, 0x760402
push eax
push 4
mov ebx, 0x148
call fcn.00604050
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x5a9ac5
pushal
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [eax], ecx
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
mov dword [ecx], edx
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [eax + 4], ecx
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [edx], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [ecx + 4], edx
popal
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x910
call fcn.00601210
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
call fcn.0051d758
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x5a9b18
push ebx
call fcn.005fffbe
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
cmp word [ebp - 0x10], 0
jne 0x5a9762
mov ebx, dword [ebp - 4]
push ebx
call fcn.005fffbe
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x5a9b45
push ebx
call fcn.005fffbe
add esp, 4
mov esp, ebp
pop ebp
ret 4