Function at 0x591600
Capabilities:
Contain obfuscated stackstrings
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x81622c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
mov dl, byte [esp + 0x30]
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x3c]
push esi
xor ebx, ebx
lea esi, [ebp + 0x14]
push edi
mov dword [ebp + 4], ecx
mov dword [ebp], eax
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
push ebx
mov ecx, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
mov byte [esi], dl
call fcn.00404c40
lea eax, [esp + 0x40]
lea ecx, [esi + 0x10]
push eax
mov dword [esp + 0x3c], ebx
call fcn.00478ac0
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 1
push ecx
lea ecx, [esi + 0x20]
call fcn.00478ac0
lea edx, [esp + 0x11]
lea ecx, [esi + 0x30]
push edx
mov byte [esp + 0x3c], 2
call fcn.00478ac0
mov al, byte [esp + 0x40]
lea esi, [ebp + 0x54]
push ebx
mov ecx, esi
mov dword [esp + 0x3c], 3
mov dword [esp + 0x20], esi
mov byte [esi], al
call fcn.00404c40
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 4
push ecx
lea ecx, [esi + 0x10]
call fcn.00478ac0
lea edx, [esp + 0x44]
lea ecx, [esi + 0x20]
push edx
mov byte [esp + 0x3c], 5
call fcn.00478ac0
lea eax, [esp + 0x11]
lea ecx, [esi + 0x30]
push eax
mov byte [esp + 0x3c], 6
call fcn.00478ac0
mov dl, byte [esp + 0x40]
lea esi, [ebp + 0xa8]
mov dword [ebp + 0x94], ebx
mov dword [ebp + 0x98], ebx
lea ecx, [esi + 0x10]
mov dword [ebp + 0x9c], ebx
mov byte [ebp + 0xa4], bl
mov byte [ebp + 0xa5], bl
push ebx
mov byte [esp + 0x3c], 7
mov dword [esp + 0x20], esi
mov byte [ecx], dl
call fcn.00404c40
lea eax, [esp + 0x40]
lea ecx, [esi + 0x20]
push eax
mov byte [esp + 0x3c], 8
call fcn.00478ac0
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 9
push ecx
lea ecx, [esi + 0x30]
call fcn.00478ac0
lea edx, [esp + 0x11]
lea ecx, [esi + 0x40]
push edx
mov byte [esp + 0x3c], 0xa
call fcn.00478ac0
lea eax, [esp + 0x12]
lea ecx, [esi + 0x50]
push eax
mov byte [esp + 0x3c], 0xb
call fcn.00478ac0
lea ecx, [esp + 0x13]
mov byte [esp + 0x38], 0xc
push ecx
lea ecx, [esi + 0x60]
call fcn.00478ac0
lea edx, [esp + 0x14]
lea ecx, [esi + 0x70]
push edx
mov byte [esp + 0x3c], 0xd
call fcn.00478ac0
lea eax, [esp + 0x15]
lea ecx, [esi + 0x80]
push eax
mov byte [esp + 0x3c], 0xe
call fcn.00478ac0
lea ecx, [esp + 0x16]
mov byte [esp + 0x38], 0xf
push ecx
lea ecx, [esi + 0x90]
call fcn.00478ac0
lea edx, [esp + 0x17]
lea ecx, [esi + 0xa0]
push edx
mov byte [esp + 0x3c], 0x10
call fcn.00478ac0
mov byte [esi + 0xb0], bl
mov al, byte [esp + 0x40]
lea esi, [ebp + 0x15c]
push ebx
mov byte [esp + 0x3c], 0x11
lea ecx, [esi + 0x10]
mov dword [esp + 0x20], esi
mov byte [ecx], al
call fcn.00404c40
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 0x12
push ecx
lea ecx, [esi + 0x20]
call fcn.00478ac0
lea edx, [esp + 0x44]
lea ecx, [esi + 0x30]
push edx
mov byte [esp + 0x3c], 0x13
call fcn.00478ac0
lea eax, [esp + 0x17]
lea ecx, [esi + 0x40]
push eax
mov byte [esp + 0x3c], 0x14
call fcn.00478ac0
lea ecx, [esp + 0x16]
mov byte [esp + 0x38], 0x15
push ecx
lea ecx, [esi + 0x50]
call fcn.00478ac0
lea edx, [esp + 0x15]
lea ecx, [esi + 0x60]
push edx
mov byte [esp + 0x3c], 0x16
call fcn.00478ac0
lea eax, [esp + 0x14]
lea ecx, [esi + 0x70]
push eax
mov byte [esp + 0x3c], 0x17
call fcn.00478ac0
lea ecx, [esp + 0x13]
mov byte [esp + 0x38], 0x18
push ecx
lea ecx, [esi + 0x80]
call fcn.00478ac0
lea edx, [esp + 0x12]
lea ecx, [esi + 0x90]
push edx
mov byte [esp + 0x3c], 0x19
call fcn.00478ac0
lea eax, [esp + 0x11]
lea ecx, [esi + 0xa0]
push eax
mov byte [esp + 0x3c], 0x1a
call fcn.00478ac0
mov byte [esi + 0xb0], bl
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov dword [ebp + 0x210], ecx
mov ecx, dword [esp + 0x54]
mov byte [esp + 0x38], 0x1b
mov dword [ebp + 0x21c], ecx
lea ecx, [ebp + 0x220]
mov dword [ebp + 0x214], edx
mov dword [ebp + 0x218], eax
call fcn.005ecc50
lea esi, [ebp + 0x234]
push ebx
push ebx
mov ecx, esi
mov byte [esp + 0x40], 0x1c
mov dword [esi + 4], ebx
call fcn.00435f60
mov dword [esi + 8], eax
lea esi, [ebp + 0x240]
push ebx
push ebx
mov ecx, esi
mov byte [esp + 0x40], 0x1d
mov dword [esi + 4], ebx
call fcn.00435f60
mov dword [esi + 8], eax
mov dl, byte [esp + 0x40]
mov byte [ebp + 0x24c], bl
mov byte [ebp + 0x250], dl
mov dword [ebp + 0x254], ebx
mov dword [ebp + 0x258], ebx
mov dword [ebp + 0x25c], ebx
mov al, byte [esp + 0x40]
mov dword [ebp + 0x260], ebx
mov byte [ebp + 0x264], al
mov dword [ebp + 0x268], ebx
mov dword [ebp + 0x26c], ebx
mov dword [ebp + 0x270], ebx
mov dl, byte [esp + 0x40]
lea ecx, [ebp + 0x278]
mov dword [ebp + 0x274], ebx
push ebx
mov byte [esp + 0x3c], 0x20
mov byte [ecx], dl
call fcn.00404c40
mov al, byte [esp + 0x40]
lea esi, [ebp + 0x288]
push ebx
mov ecx, esi
mov byte [esp + 0x3c], 0x21
mov byte [esi], al
call fcn.00404c40
mov dl, byte [esp + 0x40]
lea ecx, [ebp + 0x298]
push ebx
mov byte [esp + 0x3c], 0x22
mov byte [ecx], dl
call fcn.00404c40
mov al, byte [esp + 0x40]
lea ecx, [ebp + 0x2a8]
push ebx
mov byte [esp + 0x3c], 0x23
mov byte [ecx], al
call fcn.00404c40
mov dl, byte [esp + 0x40]
lea ecx, [ebp + 0x2b8]
push ebx
mov byte [esp + 0x3c], 0x24
mov byte [ecx], dl
call fcn.00404c40
lea edi, [ebp + 0x2c8]
push ebx
push ebx
mov ecx, edi
mov byte [esp + 0x40], 0x25
mov dword [edi + 4], ebx
call fcn.00435f60
mov dword [edi + 8], eax
mov al, byte [esp + 0x40]
lea ecx, [ebp + 0x2d4]
push ebx
mov byte [esp + 0x3c], 0x26
mov byte [ecx], al
call fcn.00404c40
push 0x50
mov byte [esp + 0x3c], 0x27
call fcn.007d7320
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebx
mov byte [esp + 0x38], 0x28
je 0x591a16
push ebx
mov ecx, eax
call fcn.00595d00
jmp 0x591a18
xor eax, eax
mov dword [ebp + 0x2e4], eax
push 0x50
mov byte [esp + 0x3c], 0x29
call fcn.007d7320
mov edi, eax
add esp, 4
mov dword [esp + 0x40], edi
cmp edi, ebx
mov byte [esp + 0x38], 0x2a
je 0x591a7b
push 0x28
call fcn.007d7320
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
mov byte [esp + 0x38], 0x2b
je 0x591a6a
push ebx
mov ecx, eax
call fcn.005e55cb
push eax
mov ecx, edi
mov byte [esp + 0x3c], 0x2a
call fcn.00595d00
jmp 0x591a7d
xor eax, eax
mov ecx, edi
push eax
mov byte [esp + 0x3c], 0x2a
call fcn.00595d00
jmp 0x591a7d
xor eax, eax
mov dword [ebp + 0x2e8], eax
push 0x4c
mov byte [esp + 0x3c], 0x2c
call fcn.007d7320
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebx
mov byte [esp + 0x38], 0x2d
je 0x591aa9
push ebx
mov ecx, eax
call fcn.00598b70
jmp 0x591aab
xor eax, eax
mov dword [ebp + 0x2ec], eax
push 0x4c
mov byte [esp + 0x3c], 0x2e
call fcn.007d7320
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebx
mov byte [esp + 0x38], 0x2f
je 0x591ad7
push ebx
mov ecx, eax
call fcn.00598b70
jmp 0x591ad9
xor eax, eax
mov dword [ebp + 0x2f0], eax
push 0x4c
mov byte [esp + 0x3c], 0x30
call fcn.007d7320
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebx
mov byte [esp + 0x38], 0x31
je 0x591b07
push 0xffffffffffffffff
push ebx
mov ecx, eax
call fcn.00599600
jmp 0x591b09
xor eax, eax
mov dword [ebp + 0x2f4], eax
push 0x4c
mov byte [esp + 0x3c], 0x32
call fcn.007d7320
mov edi, eax
add esp, 4
mov dword [esp + 0x40], edi
cmp edi, ebx
mov byte [esp + 0x38], 0x33
je 0x591b64
push 0x28
call fcn.007d7320
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
mov byte [esp + 0x38], 0x34
je 0x591b4e
push ebx
mov ecx, eax
call fcn.005e55cb
jmp 0x591b50
xor eax, eax
mov ecx, dword [esp + 0x58]
mov byte [esp + 0x38], 0x33
push ecx
push eax
mov ecx, edi
call fcn.00599600
jmp 0x591b66
xor eax, eax
mov dword [ebp + 0x2f8], eax
mov edi, str.ssh_rsa_ssh_dss
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x3c], 0x35
mov dword [esp + 0x44], ecx
push ecx
mov ecx, esi
call fcn.00404a50
test al, al
je 0x591bba
mov ecx, dword [esp + 0x40]
mov edi, dword [esi + 4]
mov edx, ecx
mov esi, str.ssh_rsa_ssh_dss
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp + 0x288]
call fcn.004049b0
mov cl, byte [esp + 0x40]
push ebx
mov byte [esp + 0x24], cl
lea ecx, [esp + 0x24]
call fcn.00404c40
mov edi, str.aes256_ctr_twofish256_ctr_twofish_ctr_aes128_ctr_twofish128_ctr_blowfish_ctr_3des_ctr_cast128_ctr_aes256_cbc_twofish256_cbc_twofish_cbc_aes128_cbc_twofish128_cbc_blowfish_cbc_3des_cbc_arcfour_cast128_cbc
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0x24]
push esi
mov dword [esp + 0x48], esi
call fcn.00404a50
test al, al
je 0x591c16
mov edi, dword [esp + 0x24]
mov ecx, esi
mov edx, ecx
mov esi, str.aes256_ctr_twofish256_ctr_twofish_ctr_aes128_ctr_twofish128_ctr_blowfish_ctr_3des_ctr_cast128_ctr_aes256_cbc_twofish256_cbc_twofish_cbc_aes128_cbc_twofish128_cbc_blowfish_cbc_3des_cbc_arcfour_cast128_cbc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
call fcn.004049b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0x36
push ecx
mov ecx, ebp
call fcn.005921d0
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0x35
call fcn.00404c40
mov dl, byte [esp + 0x40]
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], dl
call fcn.00404c40
mov edi, str.hmac_sha1_hmac_md5_hmac_sha1_96_hmac_md5_96
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0x24]
push esi
mov dword [esp + 0x48], esi
call fcn.00404a50
test al, al
je 0x591c92
mov edi, dword [esp + 0x24]
mov ecx, esi
mov eax, ecx
mov esi, str.hmac_sha1_hmac_md5_hmac_sha1_96_hmac_md5_96
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov byte [ecx + eax], bl
lea edx, [esp + 0x20]
mov ecx, ebp
push edx
mov byte [esp + 0x3c], 0x37
call fcn.00592350
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0x35
call fcn.00404c40
mov al, byte [esp + 0x40]
mov edi, str.zlib_none
mov byte [esp + 0x20], al
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x24], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], ebx
push ecx
push str.zlib_none
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], ebx
call fcn.004030a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0x38
push ecx
mov ecx, ebp
call fcn.005924b0
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x591d15
mov cl, byte [eax - 1]
dec eax
cmp cl, bl
je 0x591d0c
dec cl
mov byte [eax], cl
jmp 0x591d15
push eax
call fcn.007d7349
add esp, 4
mov ecx, dword [esp + 0x30]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x1c