Function at 0x57cb90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x60
call fcn.004b6ad0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
mov eax, dword [esi]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x70]
xor ebp, ebp
cmp eax, ebp
push edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x4c], 0x3a
je 0x57cbea
mov eax, dword [eax]
cmp eax, ebp
je 0x57cbea
mov edi, eax
mov eax, dword [esi]
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x7c]
cmp ecx, ebp
lea edx, [esp + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], eax
jne 0x57cc02
mov dword [esp + 0x60], ebp
jmp 0x57cc08
call fcn.00568280
mov edi, eax
cmp edi, ebp
jne 0x57cbc6
mov dword [esp + 0x6c], 0x181
jmp 0x57dc9a
add eax, ecx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004de040
add esp, 8
test eax, eax
jne 0x57cc2b
mov dword [esp + 0x6c], 0x187
jmp 0x57dc9a
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x5c]
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x68], edx
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x40], ebp
call fcn.004ec280
add esp, 0xc
test eax, eax
jne 0x57cc63
mov dword [esp + 0x6c], 0x18b
jmp 0x57dc9a
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x44]
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x57cc88
push eax
call fcn.004dd940
add esp, 4
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ebp
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
push edx
lea eax, [esp + 0x48]
mov dword [esp + 0x68], ecx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004ec280
add esp, 0xc
test eax, eax
jne 0x57ccb8
mov dword [esp + 0x6c], 0x193
jmp 0x57dc9a
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
add dword [esp + 0x5c], edx
push eax
call fcn.004e2390
mov esi, eax
mov dword [edi], esi
mov eax, dword [esp + 0x40]
add esp, 4
cmp eax, ebp
je 0x57ccee
push eax
call fcn.004dd940
add esp, 4
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ebp
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
push edx
lea eax, [esp + 0x48]
mov dword [esp + 0x68], ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x30], ebp
call fcn.004ec3b0
add esp, 0xc
test eax, eax
jne 0x57cd26
mov dword [esp + 0x6c], 0x19e
jmp 0x57dc9a
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
add dword [esp + 0x5c], edx
cmp esi, 2
jne 0x57cd73
cmp dword [esp + 0x24], 3
je 0x57cd53
mov dword [esp + 0x4c], 0x89
mov dword [esp + 0x6c], 0x1a2
jmp 0x57dc9a
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
movzx ecx, byte [ecx + 2]
or eax, 0x200
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
jmp 0x57cdd2
mov eax, esi
sar eax, 8
cmp eax, 3
je 0x57cda1
cmp eax, 0xfe
je 0x57cda1
cmp esi, 0x100
je 0x57cda1
mov dword [esp + 0x4c], 0xfe
mov dword [esp + 0x6c], 0x1b4
jmp 0x57dc9a
cmp dword [esp + 0x24], 2
je 0x57cdbd
mov dword [esp + 0x4c], 0x89
mov dword [esp + 0x6c], 0x1ad
jmp 0x57dc9a
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
or eax, 0x30000
shl eax, 8
or eax, edx
mov dword [edi + 0xb8], eax
mov dword [edi + 0xb4], ebp
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
push ecx
lea edx, [esp + 0x48]
mov dword [esp + 0x68], eax
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004ec3b0
add esp, 0xc
test eax, eax
jne 0x57ce0e
mov dword [esp + 0x6c], 0x1bb
jmp 0x57dc9a
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
add dword [esp + 0x5c], ecx
cmp eax, 0x20
jle 0x57ce2c
mov eax, 0x20
mov dword [esp + 0x24], eax
mov dword [edi + 0x44], eax
cmp dword [esp + 0x24], 0x20
jle 0x57ce4d
push str.os.length____int_sizeof_ret__session_id_
push 0x1c7
push str.._ssl_ssl_asn1.c
call fcn.004e8dc0
add esp, 0xc
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
push edx
push eax
lea ecx, [edi + 0x48]
push ecx
call fcn.0049f720
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x68]
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x74], edx
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004ec3b0
add esp, 0x18
test eax, eax
jne 0x57ce90
mov dword [esp + 0x6c], 0x1ca
jmp 0x57dc9a
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x44]
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
cmp eax, 0x30
jle 0x57ceae
mov dword [edi + 0x10], 0x30
jmp 0x57ceb1
mov dword [edi + 0x10], eax
mov ecx, dword [edi + 0x10]
mov edx, dword [esp + 0x2c]
push ecx
push edx
lea eax, [edi + 0x14]
push eax
call fcn.0049f720
xor eax, eax
add esp, 0xc
cmp dword [esp + 0x5c], ebp
mov dword [esp + 0x24], eax
je 0x57cf44
mov esi, dword [esp + 0x44]
mov bl, byte [esi]
mov cl, bl
and cl, 0xdf
cmp cl, 0x80
jne 0x57cf44
mov dl, bl
and dl, 0x20
or dl, 4
mov byte [esi], dl
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
push ecx
lea edx, [esp + 0x48]
mov dword [esp + 0x68], eax
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004ec3b0
add esp, 0xc
test eax, eax
jne 0x57cf22
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x6c], 0x1e4
mov byte [ecx], bl
jmp 0x57dc9a
mov eax, dword [esp + 0x64]
mov edx, eax
sub edx, dword [esp + 0x44]
add dword [esp + 0x5c], edx
mov byte [eax], bl
mov eax, dword [esp + 0x24]
cmp eax, 8
jle 0x57cf44
mov dword [edi + 4], 8
jmp 0x57cf47
mov dword [edi + 4], eax
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [edi + 8]
push edx
call fcn.0049f720
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, ebp
je 0x57cf6d
push eax
call fcn.004dd940
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov dword [esp + 0x34], ebp
je 0x57d04f
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa1
jne 0x57d04f
push eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.004dde20
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x57cfc6
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x1ee
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57cfdf
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx - 2]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004ec280
add esp, 0xc
test eax, eax
jne 0x57d007
mov dword [esp + 0x6c], 0x1ee
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57d043
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.004dd980
add esp, 8
test eax, eax
jne 0x57d043
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x1ee
jmp 0x57dc9a
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
add dword [esp + 0x5c], edx
cmp dword [esp + 0x3c], ebp
je 0x57d078
mov eax, dword [esp + 0x10]
push eax
call fcn.004e2390
mov dword [edi + 0xac], eax
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004dd940
add esp, 8
mov dword [esp + 0x3c], ebp
jmp 0x57d087
push ebp
call fcn.0049fd68
add esp, 4
mov dword [edi + 0xac], eax
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov dword [esp + 0x34], ebp
je 0x57d169
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa2
jne 0x57d169
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
mov dword [esp + 0x6c], ecx
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.004dde20
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x57d0e0
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x1f8
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57d0f9
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
lea edx, [eax + ecx - 2]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004ec280
add esp, 0xc
test eax, eax
jne 0x57d121
mov dword [esp + 0x6c], 0x1f8
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57d15d
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x48]
push eax
call fcn.004dd980
add esp, 8
test eax, eax
jne 0x57d15d
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x1f8
jmp 0x57dc9a
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x44]
add dword [esp + 0x5c], ecx
cmp dword [esp + 0x3c], ebp
je 0x57d196
mov edx, dword [esp + 0x10]
push edx
call fcn.004e2390
mov dword [edi + 0xa8], eax
mov eax, dword [esp + 0x40]
push eax
call fcn.004dd940
add esp, 8
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ebp
jmp 0x57d1a0
mov dword [edi + 0xa8], 3
mov eax, dword [edi + 0x9c]
cmp eax, ebp
lea esi, [edi + 0x9c]
je 0x57d1bb
push eax
call fcn.004e33c0
add esp, 4
mov dword [esi], ebp
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov ecx, dword [esp + 0x44]
je 0x57d29d
cmp byte [ecx], 0xa3
jne 0x57d29d
push eax
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.004dde20
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x57d210
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x205
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57d229
mov edx, dword [esp + 0x5c]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
lea ecx, [edx + eax - 2]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x48]
push eax
push esi
call fcn.004e3380
add esp, 0xc
test eax, eax
jne 0x57d24d
mov dword [esp + 0x6c], 0x205
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57d289
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.004dd980
add esp, 8
test eax, eax
jne 0x57d289
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x205
jmp 0x57dc9a
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x5c]
sub edx, ecx
add eax, edx
mov dword [esp + 0x5c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
je 0x57d3cc
cmp byte [ecx], 0xa4
jne 0x57d3cc
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.004dde20
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x57d2f2
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x209
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57d30b
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx - 2]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004ec3b0
add esp, 0xc
test eax, eax
jne 0x57d333
mov dword [esp + 0x6c], 0x209
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57d36f
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.004dd980
add esp, 8
test eax, eax
jne 0x57d36f
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x209
jmp 0x57dc9a
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
add dword [esp + 0x5c], edx
cmp dword [esp + 0x2c], ebp
je 0x57d3cc
mov eax, dword [esp + 0x24]
cmp eax, 0x20
jle 0x57d39f
mov dword [esp + 0x4c], 0x10f
mov dword [esp + 0x6c], 0x20e
jmp 0x57dc9a
mov dword [edi + 0x68], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [edi + 0x6c]
push edx
call fcn.0049f720
mov eax, dword [esp + 0x38]
push eax
call fcn.004dd940
add esp, 0x10
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
jmp 0x57d3cf
mov dword [edi + 0x68], ebp
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov dword [esp + 0x34], ebp
je 0x57d4b1
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa5
jne 0x57d4b1
push eax
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.004dde20
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x57d428
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x21b
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57d441
mov edx, dword [esp + 0x5c]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
lea ecx, [edx + eax - 2]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004ec280
add esp, 0xc
test eax, eax
jne 0x57d469
mov dword [esp + 0x6c], 0x21b
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57d4a5
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea edx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push edx
mov dword [esp + 0x20], eax
call fcn.004dd980
add esp, 8
test eax, eax
jne 0x57d4a5
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x21b
jmp 0x57dc9a
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x44]
add dword [esp + 0x5c], eax
cmp dword [esp + 0x3c], ebp
je 0x57d4de
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004e2390
mov dword [edi + 0xa0], eax
mov edx, dword [esp + 0x40]
push edx
call fcn.004dd940
add esp, 8
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ebp
jmp 0x57d4e4
mov dword [edi + 0xa0], ebp
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
je 0x57d5f2
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa6
jne 0x57d5f2
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.004dde20
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x57d541
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x227
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57d55a
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx - 2]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004ec3b0
add esp, 0xc
test eax, eax
jne 0x57d582
mov dword [esp + 0x6c], 0x227
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57d5be
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.004dd980
add esp, 8
test eax, eax
jne 0x57d5be
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x227
jmp 0x57dc9a
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], edx
cmp eax, ebp
je 0x57d5f2
mov ecx, dword [esp + 0x24]
push ecx
push eax
call fcn.004e5aa0
mov dword [edi + 0xd0], eax
mov edx, dword [esp + 0x34]
push edx
call fcn.004dd940
add esp, 0xc
jmp 0x57d5f8
mov dword [edi + 0xd0], ebp
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
je 0x57d706
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa7
jne 0x57d706
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.004dde20
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x57d655
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x234
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57d66e
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx - 2]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004ec3b0
add esp, 0xc
test eax, eax
jne 0x57d696
mov dword [esp + 0x6c], 0x234
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57d6d2
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.004dd980
add esp, 8
test eax, eax
jne 0x57d6d2
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x234
jmp 0x57dc9a
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], edx
cmp eax, ebp
je 0x57d706
mov ecx, dword [esp + 0x24]
push ecx
push eax
call fcn.004e5aa0
mov dword [edi + 0x8c], eax
mov edx, dword [esp + 0x34]
push edx
call fcn.004dd940
add esp, 0xc
jmp 0x57d70c
mov dword [edi + 0x8c], ebp
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
je 0x57d822
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa8
jne 0x57d822
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.004dde20
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x57d769
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x23f
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57d782
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx - 2]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004ec3b0
add esp, 0xc
test eax, eax
jne 0x57d7aa
mov dword [esp + 0x6c], 0x23f
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57d7e6
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.004dd980
add esp, 8
test eax, eax
jne 0x57d7e6
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x23f
jmp 0x57dc9a
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], edx
cmp eax, ebp
je 0x57d822
mov ecx, dword [esp + 0x24]
push ecx
push eax
call fcn.004e5aa0
mov dword [edi + 0x90], eax
mov edx, dword [esp + 0x34]
push edx
call fcn.004dd940
add esp, 0xc
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
jmp 0x57d828
mov dword [edi + 0x90], ebp
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov dword [esp + 0x34], ebp
je 0x57d90a
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa9
jne 0x57d90a
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.004dde20
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x57d881
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x24b
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57d89a
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx - 2]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004ec280
add esp, 0xc
test eax, eax
jne 0x57d8c2
mov dword [esp + 0x6c], 0x24b
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57d8fe
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.004dd980
add esp, 8
test eax, eax
jne 0x57d8fe
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x24b
jmp 0x57dc9a
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
add dword [esp + 0x5c], edx
cmp dword [esp + 0x3c], ebp
je 0x57d937
mov eax, dword [esp + 0x10]
push eax
call fcn.004e2390
mov dword [edi + 0xec], eax
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004dd940
add esp, 8
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ebp
jmp 0x57d956
cmp dword [edi + 0xe8], ebp
je 0x57d950
cmp dword [edi + 0x44], ebp
je 0x57d950
mov dword [edi + 0xec], 0xffffffff
jmp 0x57d956
mov dword [edi + 0xec], ebp
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
je 0x57da56
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xaa
jne 0x57da56
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
mov dword [esp + 0x6c], ecx
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.004dde20
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x57d9b3
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x257
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57d9cc
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
lea edx, [eax + ecx - 2]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004ec3b0
add esp, 0xc
test eax, eax
jne 0x57d9f4
mov dword [esp + 0x6c], 0x257
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57da30
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x48]
push eax
call fcn.004dd980
add esp, 8
test eax, eax
jne 0x57da30
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x257
jmp 0x57dc9a
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], ecx
cmp eax, ebp
je 0x57da56
mov dword [edi + 0xe4], eax
mov edx, dword [esp + 0x24]
mov dword [edi + 0xe8], edx
jmp 0x57da5c
mov dword [edi + 0xe4], ebp
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
je 0x57db70
cmp byte [ecx], 0xab
jne 0x57db70
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.004dde20
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x57dab9
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x263
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57dad2
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx - 2]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004ec3b0
add esp, 0xc
test eax, eax
jne 0x57dafa
mov dword [esp + 0x6c], 0x263
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57db36
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.004dd980
add esp, 8
test eax, eax
jne 0x57db36
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x263
jmp 0x57dc9a
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x5c]
sub edx, ecx
add eax, edx
mov edx, dword [esp + 0x2c]
cmp edx, ebp
mov dword [esp + 0x5c], eax
je 0x57db70
movzx eax, byte [edx]
mov dword [edi + 0xb0], eax
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004dd940
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x48]
add esp, 4
cmp eax, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
je 0x57dc7b
cmp byte [ecx], 0xac
jne 0x57dc7b
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
mov dword [esp + 0x6c], ecx
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.004dde20
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x57dbc5
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x26e
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57dbde
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
lea edx, [eax + ecx - 2]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004ec3b0
add esp, 0xc
test eax, eax
jne 0x57dc06
mov dword [esp + 0x6c], 0x26e
jmp 0x57dc9a
cmp ebx, 0x21
jne 0x57dc3f
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x48]
push eax
call fcn.004dd980
add esp, 8
test eax, eax
jne 0x57dc3f
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x26e
jmp 0x57dc9a
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], ecx
cmp eax, ebp
je 0x57dc7b
mov edx, dword [esp + 0x24]
push edx
push eax
call fcn.004e5aa0
mov dword [edi + 0xf0], eax
mov eax, dword [esp + 0x34]
push eax
call fcn.004dd940
add esp, 0xc
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
jmp 0x57dc81
mov dword [edi + 0xf0], ebp
lea ecx, [esp + 0x44]
push ecx
call fcn.004ddb10
add esp, 4
test eax, eax
jne 0x57dcee
mov dword [esp + 0x6c], 0x278
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x4c]
push edx
push str.._ssl_ssl_asn1.c
push eax
push 0x67
push 0xd
call fcn.004dc720
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx]
mov edx, dword [esp + 0x78]
sub edx, eax
push edx
push eax
call fcn.004dddb0
add esp, 0x1c
cmp edi, ebp
je 0x57dce4
mov eax, dword [esp + 0x74]
cmp eax, ebp
je 0x57dcdb
cmp dword [eax], edi
je 0x57dce4
push edi
call fcn.005683b0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov dword [ecx], eax
mov eax, dword [esp + 0x74]
cmp eax, ebp
je 0x57dd02
mov dword [eax], edi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret