Function at 0x10003130
Capabilities:
Packed with generic packer
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
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
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
mov dword [ebp - 0x1c], esp
push 0
xor eax, eax
call dword [0x101b034d]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x100031c0
push 0x18
push 0x4010d04
push 6
call fcn.1000912b
add esp, 0xc
cmp dword [0x101b0329], 0
jne 0x100032b4
mov eax, 0x101aff55
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1000279e
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100031f1
push ebx
call fcn.1000913d
add esp, 4
mov eax, 0x101aff76
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.1000279e
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10003215
push ebx
call fcn.1000913d
add esp, 4
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x1000322e
mov eax, 0x1001c271
push eax
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x1000324e
mov eax, 0x1001c271
push eax
push 4
mov ebx, 0x300
call fcn.100098b0
add esp, 0x34
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10003271
push ebx
call fcn.1000913d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10003281
push ebx
call fcn.1000913d
add esp, 4
mov dword [ebp - 0x1c], esp
push 0
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x100032b4
push 0x1e8
push 0x4010d04
push 6
call fcn.1000912b
add esp, 0xc
push dword [0x101b031d]
push 0x101b0319
push 0x101b0335
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100032e5
mov eax, 0x101afcea
jmp 0x1000385d
cmp dword [ebp + 0xc], 0x29a
jne 0x10003356
push 0x80000301
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x198
call fcn.10009dd0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp + 8]
push dword [ebx]
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.100030d9
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10003339
push ebx
call fcn.1000913d
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000334d
push ebx
call fcn.1000913d
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x10003379
push dword [ebp + 8]
call fcn.10003895
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10003375
push ebx
call fcn.1000913d
add esp, 4
pop eax
mov dword [ebp - 4], eax
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1000338c
mov eax, 0x101afcea
push eax
push 1
mov ebx, 0x194
call fcn.10009b80
add esp, 0x10
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x101aff88]
fstp qword [ebp - 0x2c]
push 0x80000601
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 1
mov ebx, 0x9dc
call fcn.1000a140
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.10009dd0
add esp, 0x10
mov dword [ebp - 0x34], eax
push dword [ebp - 4]
push dword [ebp - 0x34]
push 0x101aff90
mov ecx, 3
call fcn.100030d9
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10003419
push ebx
call fcn.1000913d
add esp, 4
lea eax, [ebp - 0x38]
push eax
push 0x101b0335
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1000343f
push ebx
call fcn.1000913d
add esp, 4
cmp dword [ebp - 0x3c], 0
je 0x100037e9
push 1
lea eax, [ebp - 0xc]
push eax
push 1
push 0x186a0
push 0x101b0335
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000347c
push ebx
call fcn.1000913d
add esp, 4
pop eax
mov dword [ebp - 8], eax
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10003493
mov eax, 0x101afcea
push eax
push 1
mov ebx, 0x194
call fcn.10009b80
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100037e9
push 0
push 0
push 0
push htons
push 0
push 0x101aff90
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x100034d8
mov eax, 0x101afcea
push eax
push 3
mov ebx, 0x1ac
call fcn.1000a220
add esp, 0x28
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x100037e9
fild dword [ebp - 0x10]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x101aff9e]
fstp qword [ebp - 0x28]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x28]
call fcn.10001b7d
push 0x80000301
push 0
push eax
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10003539
mov eax, 0x101afcea
push eax
push 3
mov ebx, 0x1a8
call fcn.10009ba0
add esp, 0x28
mov dword [ebp - 0x2c], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push htons
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x10003574
mov eax, 0x101afcea
push eax
push 3
mov ebx, 0x19c
call fcn.10009fa0
add esp, 0x28
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ecx
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x100035a0
push ebx
call fcn.1000913d
add esp, 4
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
cmp ecx, 0x80000101
jne 0x100035b8
and eax, 0xff
jmp 0x1000360d
cmp ecx, 0x80000201
jne 0x100035c3
cwde
jmp 0x1000360d
cmp ecx, 0x80000301
je 0x1000360d
cmp ecx, 0x80000401
je 0x1000360d
mov dword [ebp - 0x40], eax
cmp ecx, 0x80000501
je 0x100035fd
cmp ecx, 0x80000601
je 0x10003602
push 0x5da
push 0x4010d04
push 2
call fcn.1000912b
add esp, 0xc
fld dword [ebp - 0x40]
jmp 0x10003608
mov dword [ebp - 0x3c], edx
fld qword [ebp - 0x40]
call fcn.10001b7d
mov dword [ebp - 0x14], eax
sub dword [ebp - 0x14], 0xa
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10003627
mov eax, 0x101afcea
push eax
push 1
mov ebx, 0x194
call fcn.10009b80
add esp, 0x10
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x101aff88]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fsub qword [0x101afe54]
fstp qword [ebp - 0x34]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [ebp - 0x34]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.10001b7d
push 0x80000301
push 0
push eax
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1000368d
mov eax, 0x101afcea
push eax
push 2
mov ebx, 0x1a4
call fcn.1000a390
add esp, 0x1c
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100036b7
push ebx
call fcn.1000913d
add esp, 4
pop eax
mov dword [ebp - 8], eax
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x100036ce
mov eax, 0x101afcea
push eax
push 1
mov ebx, 0x194
call fcn.10009b80
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x20], eax
jge 0x10003769
push 1
lea eax, [ebp - 0xc]
push eax
push 1
push 0x186a0
push 0x101b0335
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10003723
push ebx
call fcn.1000913d
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0xc], 0
jne 0x10003736
jmp 0x10003769
push dword [ebp - 0x18]
push dword [ebp - 8]
mov ecx, 2
call fcn.100030d9
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10003760
push ebx
call fcn.1000913d
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x100036bb
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1000377c
mov eax, 0x101afcea
push eax
push 1
mov ebx, 0x194
call fcn.10009b80
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x20], eax
jle 0x100037e9
push 0x80000301
push 0
push dword [ebp - 0x14]
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x100037bb
mov eax, 0x101afcea
push eax
push 2
mov ebx, 0x1a0
call fcn.1000a3d0
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100037e5
push ebx
call fcn.1000913d
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0x29a
jne 0x1000381a
mov eax, dword [ebp - 8]
test eax, eax
je 0x10003810
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.10009137
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1000385d
lea eax, [ebp - 8]
push eax
call fcn.100043b6
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
jmp 0x1000385d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000386e
push ebx
call fcn.1000913d
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000387e
push ebx
call fcn.1000913d
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1000388e
push ebx
call fcn.1000913d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc