Function at 0x598670
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x70
call fcn.005bd7a0
mov eax, dword [0x6ce8d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
mov ecx, dword [eax + 0x344]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
mov edx, dword [ecx + 0x344]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x58]
and ecx, 0xe0
jne 0x5986da
mov edx, dword [ebp - 0x5c]
and edx, 0x40
jne 0x5986da
mov dword [ebp - 0x50], 0
jmp 0x5986e1
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x598708
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc0]
cmp dword [edx + 0xd8], 0
je 0x598708
mov dword [ebp - 0x54], 1
jmp 0x59870f
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0x300
jne 0x598737
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
cmp dword [eax + 0x418], 0
jne 0x598737
mov eax, dword [ebp - 0x38]
jmp 0x59907f
mov ecx, dword [ebp - 0x2c]
add ecx, 2
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp + 0x10]
jb 0x59874f
xor eax, eax
jmp 0x59907f
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6c], 0
jne 0x5987d6
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x124], 1
jne 0x5987d6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc0]
cmp dword [eax + 0xd0], 0
je 0x5987d6
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 0x2c]
sub ecx, 4
jns 0x598788
xor eax, eax
jmp 0x59907f
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax], 0
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x2c]
mov byte [eax + edx], 0
mov ecx, dword [ebp - 0x2c]
add ecx, 2
mov dword [ebp - 0x2c], ecx
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax], 0
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x2c]
mov byte [eax + edx], 0
mov ecx, dword [ebp - 0x2c]
add ecx, 2
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
cmp dword [eax + 0x418], 0
je 0x5988e9
push 0
lea ecx, [ebp - 0x3c]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.005acee0
add esp, 0x10
test eax, eax
jne 0x598823
push 0x6a8
push str.._ssl_t1_lib.c
push 0x44
push 0x116
push 0x14
call fcn.004b9f10
add esp, 0x14
xor eax, eax
jmp 0x59907f
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0x10]
jae 0x59883b
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x3c]
add edx, 4
cmp ecx, edx
jae 0x598842
xor eax, eax
jmp 0x59907f
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x2c]
mov byte [edx + ecx], 0xff
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax], 1
mov edx, dword [ebp - 0x2c]
add edx, 2
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x3c]
sar eax, 8
and eax, 0xff
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + edx], al
mov edx, dword [ebp - 0x3c]
and edx, 0xff
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax], dl
mov edx, dword [ebp - 0x2c]
add edx, 2
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005acee0
add esp, 0x10
test eax, eax
jne 0x5988e0
push 0x6b8
push str.._ssl_t1_lib.c
push 0x44
push 0x116
push 0x14
call fcn.004b9f10
add esp, 0x14
xor eax, eax
jmp 0x59907f
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x4c], 0
je 0x5989e6
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0059d100
add esp, 0xc
cmp dword [ebp - 0x34], 0xff
jbe 0x598932
push 0x6c9
push str.._ssl_t1_lib.c
push 0x44
push 0x116
push 0x14
call fcn.004b9f10
add esp, 0x14
xor eax, eax
jmp 0x59907f
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp + 0x10]
jae 0x59894a
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
add ecx, 5
cmp eax, ecx
jae 0x598951
xor eax, eax
jmp 0x59907f
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax], 0
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x2c]
mov byte [eax + edx], 0xb
mov ecx, dword [ebp - 0x2c]
add ecx, 2
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x34]
add edx, 1
shr edx, 8
and edx, 0xff
mov eax, 1
imul ecx, eax, 0
mov eax, dword [ebp - 0x2c]
mov byte [eax + ecx], dl
mov ecx, dword [ebp - 0x34]
add ecx, 1
and ecx, 0xff
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x2c]
mov byte [eax + edx], cl
mov ecx, dword [ebp - 0x2c]
add ecx, 2
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov al, byte [ebp - 0x34]
mov byte [edx], al
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.005d78a0
add esp, 0xc
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x140], 0
je 0x598a79
push 0
push 0
push 0x20
mov ecx, dword [ebp + 8]
push ecx
call fcn.0057ffd0
add esp, 0x10
and eax, 0x4000
jne 0x598a79
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp + 0x10]
jae 0x598a22
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x2c]
cmp eax, 4
jae 0x598a29
xor eax, eax
jmp 0x59907f
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x2c]
mov byte [eax + edx], 0
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 0x2c]
mov byte [edx + ecx], 0x23
mov eax, dword [ebp - 0x2c]
add eax, 2
mov dword [ebp - 0x2c], eax
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x2c]
mov byte [eax + edx], 0
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 0x2c]
mov byte [edx + ecx], 0
mov eax, dword [ebp - 0x2c]
add eax, 2
mov dword [ebp - 0x2c], eax
jmp 0x598a86
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x140], 0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x12c], 0
je 0x598afa
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0x10]
jae 0x598aa5
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 0x2c]
cmp ecx, 4
jae 0x598aac
xor eax, eax
jmp 0x59907f
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax], 0
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x2c]
mov byte [eax + edx], 5
mov ecx, dword [ebp - 0x2c]
add ecx, 2
mov dword [ebp - 0x2c], ecx
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax], 0
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x2c]
mov byte [eax + edx], 0
mov ecx, dword [ebp - 0x2c]
add ecx, 2
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x64]
mov edx, dword [ecx + 0x38]
and edx, 8
je 0x598bf9
mov eax, dword [ebp + 8]
cmp dword [eax + 0x180], 0
je 0x598bf9
push 0
lea ecx, [ebp - 0x40]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.005ac930
add esp, 0x10
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0x10]
jae 0x598b4b
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x40]
add edx, 4
cmp ecx, edx
jae 0x598b52
xor eax, eax
jmp 0x59907f
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x2c]
mov byte [edx + ecx], 0
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax], 0xe
mov edx, dword [ebp - 0x2c]
add edx, 2
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x40]
sar eax, 8
and eax, 0xff
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + edx], al
mov edx, dword [ebp - 0x40]
and edx, 0xff
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax], dl
mov edx, dword [ebp - 0x2c]
add edx, 2
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005ac930
add esp, 0x10
test eax, eax
je 0x598bf0
push 0x71e
push str.._ssl_t1_lib.c
push 0x44
push 0x116
push 0x14
call fcn.004b9f10
add esp, 0x14
xor eax, eax
jmp 0x59907f
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x40]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
mov ecx, dword [eax + 0x344]
mov edx, dword [ecx + 8]
and edx, 0xffff
cmp edx, 0x80
je 0x598c35
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
mov edx, dword [ecx + 0x344]
mov eax, dword [edx + 8]
and eax, 0xffff
cmp eax, 0x81
jne 0x598d17
push 0
push 0
push 0x20
mov ecx, dword [ebp + 8]
push ecx
call fcn.0057ffd0
add esp, 0x10
and eax, 0x80000000
je 0x598d17
mov byte [ebp - 0x28], 0xfd
mov byte [ebp - 0x27], 0xe8
mov byte [ebp - 0x26], 0
mov byte [ebp - 0x25], 0x20
mov byte [ebp - 0x24], 0x30
mov byte [ebp - 0x23], 0x1e
mov byte [ebp - 0x22], 0x30
mov byte [ebp - 0x21], 8
mov byte [ebp - 0x20], 6
mov byte [ebp - 0x1f], 6
mov byte [ebp - 0x1e], 0x2a
mov byte [ebp - 0x1d], 0x85
mov byte [ebp - 0x1c], 3
mov byte [ebp - 0x1b], 2
mov byte [ebp - 0x1a], 2
mov byte [ebp - 0x19], 9
mov byte [ebp - 0x18], 0x30
mov byte [ebp - 0x17], 8
mov byte [ebp - 0x16], 6
mov byte [ebp - 0x15], 6
mov byte [ebp - 0x14], 0x2a
mov byte [ebp - 0x13], 0x85
mov byte [ebp - 0x12], 3
mov byte [ebp - 0x11], 2
mov byte [ebp - 0x10], 2
mov byte [ebp - 0xf], 0x16
mov byte [ebp - 0xe], 0x30
mov byte [ebp - 0xd], 8
mov byte [ebp - 0xc], 6
mov byte [ebp - 0xb], 6
mov byte [ebp - 0xa], 0x2a
mov byte [ebp - 9], 0x85
mov byte [ebp - 8], 3
mov byte [ebp - 7], 2
mov byte [ebp - 6], 2
mov byte [ebp - 5], 0x17
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp + 0x10]
jae 0x598cf5
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x2c]
cmp eax, 0x24
jae 0x598cfc
xor eax, eax
jmp 0x59907f
push 0x24
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.005d78a0
add esp, 0xc
mov eax, dword [ebp - 0x2c]
add eax, 0x24
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x184]
and edx, 1
je 0x598dbf
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0x10]
jae 0x598d3c
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 0x2c]
cmp ecx, 5
jae 0x598d43
xor eax, eax
jmp 0x59907f
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax], 0
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x2c]
mov byte [eax + edx], 0xf
mov ecx, dword [ebp - 0x2c]
add ecx, 2
mov dword [ebp - 0x2c], ecx
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax], 0
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x2c]
mov byte [eax + edx], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 2
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x184]
and eax, 4
je 0x598db0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx], 2
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
jmp 0x598dbf
mov eax, dword [ebp - 0x2c]
mov byte [eax], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
mov ecx, dword [eax + 0x41c]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
mov dword [eax + 0x41c], 0
cmp dword [ebp - 0x64], 0
je 0x598ee7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xe4]
cmp dword [edx + 0x1a4], 0
je 0x598ee7
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xe4]
mov edx, dword [ecx + 0x1a8]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x6c]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xe4]
mov edx, dword [ecx + 0x1a4]
call edx
add esp, 0x10
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x598ee7
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0x10]
jae 0x598e53
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x44]
add edx, 4
cmp ecx, edx
jae 0x598e5a
xor eax, eax
jmp 0x59907f
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x2c]
mov byte [edx + ecx], 0x33
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax], 0x74
mov edx, dword [ebp - 0x2c]
add edx, 2
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x44]
shr eax, 8
and eax, 0xff
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + edx], al
mov edx, dword [ebp - 0x44]
and edx, 0xff
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax], dl
mov edx, dword [ebp - 0x2c]
add edx, 2
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.005d78a0
add esp, 0xc
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
mov dword [edx + 0x41c], 1
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x2c]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.0059ed00
add esp, 0x14
test eax, eax
jne 0x598f0c
xor eax, eax
jmp 0x59907f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
cmp dword [edx + 0x424], 0
je 0x59902f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
mov edx, dword [ecx + 0x424]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
mov edx, dword [ecx + 0x428]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0x10]
jae 0x598f55
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
add edx, 7
cmp ecx, edx
jae 0x598f5c
xor eax, eax
jmp 0x59907f
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x2c]
mov byte [edx + ecx], 0
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax], 0x10
mov edx, dword [ebp - 0x2c]
add edx, 2
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x30]
add eax, 3
shr eax, 8
and eax, 0xff
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + edx], al
mov edx, dword [ebp - 0x30]
add edx, 3
and edx, 0xff
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax], dl
mov edx, dword [ebp - 0x2c]
add edx, 2
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x30]
add eax, 1
shr eax, 8
and eax, 0xff
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + edx], al
mov edx, dword [ebp - 0x30]
add edx, 1
and edx, 0xff
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax], dl
mov edx, dword [ebp - 0x2c]
add edx, 2
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov cl, byte [ebp - 0x30]
mov byte [eax], cl
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.005d78a0
add esp, 0xc
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x38]
sub ecx, 2
mov dword [ebp - 0x48], ecx
jne 0x599042
mov eax, dword [ebp - 0x38]
jmp 0x59907f
mov edx, dword [ebp - 0x48]
sar edx, 8
and edx, 0xff
mov eax, 1
imul ecx, eax, 0
mov eax, dword [ebp - 0x38]
mov byte [eax + ecx], dl
mov ecx, dword [ebp - 0x48]
and ecx, 0xff
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x38]
mov byte [eax + edx], cl
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bd4a0
mov esp, ebp
pop ebp
ret