Function at 0x4993c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x607ab6
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
push str.loginurl
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x1b4], esi
mov dword [ebp - 4], 0
call fcn.0057e346
push str.port
lea ecx, [esi + 0x1c]
mov ebx, eax
call fcn.0057e346
push str.pwdkey
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x1c], eax
call fcn.0057e346
push str.userid
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x1ac], eax
call fcn.0057e346
push str.isbf
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x1b0], eax
call fcn.0057e346
push str.autorun
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x1a8], eax
call fcn.0057e346
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1f8]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x38]
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00454360
mov edx, eax
mov dword [ebp - 0x6c], 0
mov ecx, edx
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
lea ebx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4994a0
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x7c]
call fcn.00403030
lea ecx, [ebp - 0x1f8]
mov byte [ebp - 4], 3
call fcn.00582d5b
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00454360
mov edx, eax
mov dword [ebp - 0x54], 0
mov ecx, edx
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4994f5
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x64]
call fcn.00403030
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 6
call fcn.00582d5b
mov ecx, dword [ebp - 0x1ac]
lea edx, [ebp - 0x1f8]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00454360
mov edx, eax
mov dword [ebp - 0x24], 0
mov ecx, edx
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x499550
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.00403030
lea ecx, [ebp - 0x1f8]
mov byte [ebp - 4], 9
call fcn.00582d5b
mov ecx, dword [ebp - 0x1b0]
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00454360
mov edx, eax
mov dword [ebp - 0x3c], 0
mov ecx, edx
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4995a8
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.00403030
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0xc
call fcn.00582d5b
mov ecx, dword [ebp - 0x1a8]
call fcn.005858a4
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x19], al
call fcn.005858a4
cmp dword [ebp - 0x68], 0x10
lea ecx, [ebp - 0x7c]
mov edx, dword [ebp - 0x6c]
cmovae ecx, dword [ebp - 0x7c]
push 0
push 0x6292df
mov byte [ebp - 0x1a1], al
call fcn.00408bb0
add esp, 8
test al, al
je 0x499647
push 0x3c4
call fcn.005b86e9
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
push 0x3c4
push 0
push edi
mov byte [ebp - 4], 0xd
call fcn.005d05b0
add esp, 0xc
mov ecx, edi
call fcn.00436750
push 0
sub esp, 0x18
mov ecx, esp
push 0xf
push 0x6326b0
jmp 0x499764
cmp dword [ebp - 0x50], 0x10
lea ecx, [ebp - 0x64]
mov edx, dword [ebp - 0x54]
cmovae ecx, dword [ebp - 0x64]
push 0
push 0x6292df
call fcn.00408bb0
add esp, 8
test al, al
je 0x4996a8
push 0x3c4
call fcn.005b86e9
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
push 0x3c4
push 0
push edi
mov byte [ebp - 4], 0xe
call fcn.005d05b0
add esp, 0xc
mov ecx, edi
call fcn.00436750
push 0
sub esp, 0x18
mov ecx, esp
push 0xf
push 0x6326a0
jmp 0x499764
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x24]
cmovae ecx, dword [ebp - 0x34]
push 0
push 0x6292df
call fcn.00408bb0
add esp, 8
test al, al
je 0x499706
push 0x3c4
call fcn.005b86e9
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
push 0x3c4
push 0
push edi
mov byte [ebp - 4], 0xf
call fcn.005d05b0
add esp, 0xc
mov ecx, edi
call fcn.00436750
push 0
sub esp, 0x18
mov ecx, esp
push 0xf
push 0x6326d0
jmp 0x499764
mov ebx, dword [ebp - 0x38]
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 0x3c]
cmp ebx, 0x10
push 0
cmovae ecx, dword [ebp - 0x4c]
push 0x6292df
call fcn.00408bb0
add esp, 8
test al, al
je 0x49979a
push 0x3c4
call fcn.005b86e9
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
push 0x3c4
push 0
push edi
mov byte [ebp - 4], 0x10
call fcn.005d05b0
add esp, 0xc
mov ecx, edi
call fcn.00436750
push 0
sub esp, 0x18
mov ecx, esp
push 0xd
push 0x6326c0
mov byte [ebp - 4], 0xc
mov edi, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.00403030
push dword [esi + 4]
mov ecx, edi
call fcn.00436890
push 1
push 1
mov ecx, edi
call fcn.00583d34
jmp 0x499bb2
push dword [ebp - 0x3c]
cmp ebx, 0x10
lea eax, [ebp - 0x4c]
mov ecx, 0x6600b4
cmovae eax, dword [ebp - 0x4c]
push eax
call fcn.00403030
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
push dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
mov ecx, 0x6600cc
push eax
call fcn.00403030
cmp dword [ebp - 0x68], 0x10
lea eax, [ebp - 0x7c]
push dword [ebp - 0x6c]
cmovae eax, dword [ebp - 0x7c]
mov ecx, 0x660084
push eax
call fcn.00403030
cmp byte [ebp - 0x19], 0
mov ebx, dword [esi + 0x730]
sete al
cmp dword [ebp - 0x54], 0
mov byte [esi + 0x734], al
jle 0x499817
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push eax
call fcn.005d921f
add esp, 4
mov dword [esi + 0x730], eax
sub esp, 0x18
mov ecx, esp
push 0xa
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.config.ini
mov byte [ecx], 0
call fcn.00403030
lea ecx, [ebp - 0x94]
call fcn.0040ad30
add esp, 0x18
push 0x10c
lea eax, [ebp - 0x1a0]
push 0
push eax
call fcn.005d05b0
add esp, 0xc
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0
mov byte [ebp - 0x198], 0
mov dword [ebp - 0x98], 0
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x80], 0x10
lea ecx, [ebp - 0x1a0]
cmovae eax, dword [ebp - 0x94]
push eax
call fcn.00412060
cmp dword [ebp - 0x68], 0x10
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x1a0]
cmovae eax, dword [ebp - 0x7c]
push eax
push 0x62e6ec
push str.SYSSET
call fcn.00412310
push dword [esi + 0x730]
lea ecx, [ebp - 0x1a0]
sub esp, 8
call fcn.004125d0
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x1a0]
cmovae eax, dword [ebp - 0x34]
push eax
push str.SKey
push str.SYSSET
call fcn.00412310
cmp byte [esi + 0x734], 0
lea ecx, [ebp - 0x1a0]
mov al, 0x30
mov byte [ebp - 0x1b], 0
movzx eax, al
mov edx, 0x31
cmovne eax, edx
mov byte [ebp - 0x1c], al
lea eax, [ebp - 0x1c]
push eax
push str.IsBf
push str.SYSSET
call fcn.00412310
cmp byte [ebp - 0x1a1], 0
mov al, 0x30
movzx eax, al
mov ecx, 0x31
cmovne eax, ecx
mov byte [ebp - 0x1b], 0
mov byte [ebp - 0x1c], al
lea ecx, [ebp - 0x1a0]
lea eax, [ebp - 0x1c]
push eax
push str.IsAr
push str.SYSSET
call fcn.00412310
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
push 0x62e718
push str.SYSSET
lea ecx, [ebp - 0x1a0]
call fcn.00412310
cmp dword [ebp - 0x80], 0x10
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x1a0]
cmovae eax, dword [ebp - 0x94]
push eax
call fcn.00412270
lea ecx, [ebp - 0x1a0]
call fcn.00412240
push str.syslog
lea ecx, [esi + 0x1c]
call fcn.0057e346
mov ecx, eax
push 1
push 1
mov eax, dword [ecx]
call dword [eax + 0x158]
cmp ebx, dword [esi + 0x730]
je 0x499a40
mov ecx, dword [esi + 0x7ec]
test ecx, ecx
je 0x499a0d
mov eax, dword [ecx + 4]
lea edi, [ecx + 4]
test eax, eax
je 0x4999f9
cmp eax, 0xffffffff
je 0x4999f9
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi], 0xffffffff
mov ecx, dword [esi + 0x7ec]
test ecx, ecx
je 0x499a03
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x7ec], 0
lea eax, [ebp - 0x18]
mov byte [esi + 0x735], 0
push eax
push 0
push esi
push 0x46d520
push 0
push 0
mov dword [ebp - 0x18], 0
call fcn.005d5fe0
add esp, 0x18
test eax, eax
je 0x499aac
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x499aac
push 0x3c4
call fcn.005b86e9
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
push 0x3c4
push 0
push edi
mov byte [ebp - 4], 0x13
call fcn.005d05b0
add esp, 0xc
mov ecx, edi
call fcn.00436750
push 0
sub esp, 0x18
mov byte [ebp - 4], 0x12
mov ecx, esp
mov edi, eax
push 9
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x632694
mov byte [ecx], 0
call fcn.00403030
push dword [esi + 4]
mov ecx, edi
call fcn.00436890
push 1
push 1
mov ecx, edi
call fcn.00583d34
push 0x9c
call fcn.005b86e9
mov edi, eax
add esp, 4
mov dword [ebp - 0x1a8], edi
push 0x9c
push 0
push edi
mov byte [ebp - 4], 0x14
call fcn.005d05b0
add esp, 0xc
mov ecx, edi
call fcn.0045c970
mov ebx, eax
mov byte [ebp - 4], 0x12
push 0xa
push str.getversion
mov ecx, ebx
call fcn.00403030
add esi, 0x888
mov dword [ebx + 0x18], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
add eax, ecx
test al, 3
jne 0x499b1c
lea eax, [ecx + 4]
shr eax, 2
cmp dword [esi + 8], eax
ja 0x499b1c
push ecx
mov ecx, esi
call fcn.004a7820
mov eax, dword [esi + 8]
lea eax, [eax*4 - 1]
and dword [esi + 0xc], eax
mov edi, dword [esi + 0x10]
add edi, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, edi
shr ecx, 2
dec eax
and ecx, eax
mov eax, dword [esi + 4]
shl ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [eax + ecx], 0
jne 0x499b64
push 0x10
call fcn.005b86e9
mov ecx, dword [esi + 4]
mov edx, eax
mov eax, dword [ebp - 0x1c]
add esp, 4
mov dword [eax + ecx], edx
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + eax]
and edi, 3
lea ecx, [ebp - 0x1a0]
mov dword [eax + edi*4], ebx
inc dword [esi + 0x10]
call fcn.004126c0
mov edx, dword [ebp - 0x80]
cmp edx, 0x10
jb 0x499bb2
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x499ba8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499d4e
push edx
push ecx
call fcn.005b8996
add esp, 8
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x499be6
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x499bdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499d53
push edx
push ecx
call fcn.005b8996
add esp, 8
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp edx, 0x10
jb 0x499c2c
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x499c22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499d58
push edx
push ecx
call fcn.005b8996
add esp, 8
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp edx, 0x10
jb 0x499c72
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x499c68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499d5d
push edx
push ecx
call fcn.005b8996
add esp, 8
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp edx, 0x10
jb 0x499cb8
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x499cae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499d62
push edx
push ecx
call fcn.005b8996
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
call fcn.005d36fe
call fcn.005d36fe
call fcn.005d36fe
call fcn.005d36fe
call fcn.005d36fe
int3