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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x7c
call fcn.00508210
push ebx
mov ebx, dword [ebp + 0x10]
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [ebx], 0x32
push edi
mov dword [esi + 0x160], eax
mov eax, dword [esi + 0x68]
mov dword [esi + 0x164], 0xffffffff
push 0x790
push str.ssl_t1_lib.c
mov dword [eax + 0x344], 0
mov eax, dword [esi + 0x68]
push dword [eax + 0x348]
call fcn.005621c0
mov eax, dword [esi + 0x68]
push 0x793
push str.ssl_t1_lib.c
mov dword [eax + 0x348], 0
mov eax, dword [esi + 0x68]
mov dword [eax + 0x34c], 0
mov eax, dword [esi + 0x68]
push dword [eax + 0x350]
call fcn.005621c0
mov eax, dword [esi + 0x68]
add esp, 0x18
mov dword [eax + 0x350], 0
mov eax, dword [esi + 0x68]
mov dword [eax + 0x354], 0
test byte [esi + 0x12c], 0x40
mov eax, dword [ebp + 0xc]
je 0x541210
mov ecx, dword [eax + 4]
mov edx, dword [eax]
cmp ecx, 2
jb 0x541210
add ecx, 0xfffffffe
mov dword [esp + 0x2c], ecx
cmp ecx, 2
jb 0x541210
movzx eax, byte [edx + 2]
movzx edi, byte [edx + 3]
shl eax, 8
or edi, eax
lea eax, [edx + 4]
mov dword [esp + 0x28], eax
lea eax, [ecx - 2]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0053f270
add esp, 8
test eax, eax
je 0x541210
test edi, edi
jne 0x541210
push esi
call fcn.00538f70
and eax, 0xffffff00
add esp, 4
cmp eax, 0x300
jne 0x5411d1
push esi
call fcn.00538f70
add esp, 4
mov ecx, eax
jmp 0x5411d3
xor ecx, ecx
cmp ecx, 0x303
mov eax, 0x12
mov edx, 0x22
cmovge eax, edx
cmp dword [esp + 0x2c], eax
je 0x5411f0
xor eax, eax
jmp 0x541207
push eax
push 0x637818
push dword [esp + 0x30]
call fcn.004013d0
add esp, 0xc
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esi + 0x68]
mov byte [ecx + 0x35c], al
mov eax, dword [esi + 0x68]
push 0x7a1
push str.ssl_t1_lib.c
push dword [eax + 0x268]
call fcn.005621c0
mov eax, dword [esi + 0x68]
push 0x7a6
push str.ssl_t1_lib.c
mov dword [eax + 0x268], 0
push dword [esi + 0x1fc]
mov dword [esi + 0x1e4], 0
call fcn.005621c0
mov eax, dword [ebp + 0xc]
add esp, 0x18
mov dword [esi + 0x1fc], 0
mov dword [esi + 0x1cc], 0
cmp dword [eax + 4], 0
je 0x5419e8
mov edx, dword [eax + 4]
mov ecx, dword [eax]
cmp edx, 2
jb 0x5419a3
movzx eax, byte [ecx]
movzx edi, byte [ecx + 1]
add ecx, 2
shl eax, 8
or edi, eax
mov dword [esp + 0x14], ecx
lea eax, [edx - 2]
mov dword [esp + 0x10], edi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
cmp eax, edi
jb 0x5419a3
add ecx, edi
sub eax, edi
jne 0x5419a3
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x54], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
push eax
mov dword [edx], ecx
call fcn.00543560
add esp, 4
test eax, eax
je 0x5419a3
mov ecx, edi
jmp 0x5412fc
test eax, eax
je 0x5419b5
mov ecx, dword [esp + 0x10]
mov ebx, dword [ebp + 0x10]
cmp ecx, 2
jb 0x5419d8
mov edx, dword [esp + 0x14]
sub ecx, 2
movzx edi, byte [edx]
lea ebx, [edx + 2]
movzx eax, byte [edx + 1]
shl edi, 8
or edi, eax
mov dword [esp + 0x14], ebx
cmp ecx, 2
jb 0x5419a3
movzx edx, byte [ebx]
add ecx, 0xfffffffe
movzx eax, byte [ebx + 1]
add ebx, 2
shl edx, 8
or edx, eax
mov dword [esp + 0x14], ebx
cmp ecx, edx
jb 0x5419a3
lea eax, [edx + ebx]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], eax
sub ecx, edx
mov eax, dword [esi + 0x154]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], edx
test eax, eax
je 0x541382
push dword [esi + 0x158]
push edx
push ebx
push edi
push 0
push esi
call eax
mov edx, dword [esp + 0x44]
add esp, 0x18
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
cmp edi, 0xff01
jne 0x5413b5
mov ebx, dword [ebp + 0x10]
lea eax, [esp + 0x28]
push ebx
push eax
push esi
call fcn.0055cf50
add esp, 0xc
test eax, eax
je 0x5419a3
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], 1
jmp 0x5412fc
cmp dword [esi], 0x300
je 0x5412f9
test edi, edi
jne 0x5414ca
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0053f180
add esp, 8
test eax, eax
je 0x5419a3
mov edx, dword [esp + 0x34]
test edx, edx
je 0x5419a3
mov eax, dword [esp + 0x30]
dec edx
mov dword [esp + 0x34], edx
mov cl, byte [eax]
inc eax
mov dword [esp + 0x30], eax
test cl, cl
jne 0x5419a3
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0053f180
add esp, 8
test eax, eax
je 0x5419a3
cmp dword [esi + 0x78], edi
jne 0x54147c
mov eax, dword [esp + 0x3c]
cmp eax, 0xff
ja 0x54199a
push eax
push edi
push dword [esp + 0x40]
call fcn.0050c380
add esp, 0xc
test eax, eax
jne 0x54199a
mov eax, dword [esi + 0xf0]
add eax, 0xc4
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0053f370
add esp, 8
test eax, eax
je 0x5419b5
mov eax, 1
mov dword [esi + 0x160], eax
jmp 0x5412f5
mov eax, dword [esi + 0xf0]
mov edx, dword [eax + 0xc4]
test edx, edx
je 0x5414bd
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x541491
sub ecx, edi
lea eax, [esp + 0x38]
push ecx
push edx
push eax
call fcn.0053f210
add esp, 0xc
test eax, eax
je 0x5414bd
mov eax, 1
mov dword [esi + 0x160], eax
jmp 0x5412f5
xor eax, eax
mov dword [esi + 0x160], eax
jmp 0x5412f5
cmp edi, 0xc
jne 0x54151c
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0053f130
add esp, 8
test eax, eax
je 0x5419a3
push dword [esp + 0x44]
push 0
push dword [esp + 0x48]
call fcn.0050c380
add esp, 0xc
test eax, eax
jne 0x5419a3
lea eax, [esi + 0x1fc]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.0053f370
add esp, 8
jmp 0x5412ed
cmp edi, 0xb
jne 0x541589
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0053f130
add esp, 8
test eax, eax
je 0x5419a3
cmp dword [esp + 0x5c], 0
je 0x5419a3
cmp dword [esi + 0x78], 0
mov ecx, dword [esp + 0x10]
mov ebx, dword [ebp + 0x10]
jne 0x5412fc
mov ecx, dword [esi + 0xf0]
lea eax, [ecx + 0xc8]
push eax
lea eax, [ecx + 0xcc]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.0053f310
add esp, 0xc
test eax, eax
je 0x5419b5
mov ecx, dword [esp + 0x10]
jmp 0x5412fc
cmp edi, 0xa
jne 0x5415ff
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0053f180
add esp, 8
test eax, eax
je 0x5419a3
mov eax, dword [esp + 0x64]
test eax, eax
je 0x5419a3
test al, 1
jne 0x5419a3
cmp dword [esi + 0x78], 0
mov ecx, dword [esp + 0x10]
mov ebx, dword [ebp + 0x10]
jne 0x5412fc
mov ecx, dword [esi + 0xf0]
lea eax, [ecx + 0xd0]
push eax
lea eax, [ecx + 0xd4]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0053f310
add esp, 0xc
test eax, eax
je 0x5419b5
mov ecx, dword [esp + 0x10]
jmp 0x5412fc
cmp edi, 0x23
jne 0x541625
mov eax, dword [esi + 0x1ac]
test eax, eax
je 0x5412f9
push dword [esi + 0x1b0]
push edx
push ebx
push esi
call eax
add esp, 0x10
jmp 0x5412ed
cmp edi, 0xd
jne 0x541688
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0053f180
add esp, 8
test eax, eax
je 0x5419a3
mov eax, dword [esp + 0x6c]
test al, 1
jne 0x5419a3
test eax, eax
je 0x5419a3
cmp dword [esi + 0x78], 0
mov ecx, dword [esp + 0x10]
mov ebx, dword [ebp + 0x10]
jne 0x5412fc
push eax
push dword [esp + 0x6c]
push esi
call fcn.00543e60
add esp, 0xc
test eax, eax
je 0x5419a3
mov ecx, dword [esp + 0x10]
jmp 0x5412fc
cmp edi, 5
jne 0x541816
cmp dword [esi + 0x78], 0
mov ebx, dword [ebp + 0x10]
jne 0x5412fc
lea ebx, [esi + 0x164]
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.0053f240
add esp, 8
test eax, eax
je 0x5419a3
cmp dword [ebx], 1
jne 0x54180b
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0053f270
add esp, 8
test eax, eax
je 0x5419a3
push fcn.005801c0
push dword [esi + 0x184]
call fcn.005679c0
mov edi, dword [esp + 0x5c]
add esp, 8
test edi, edi
je 0x54170d
call fcn.00567930
mov dword [esi + 0x184], eax
test eax, eax
je 0x5419b5
jmp 0x541717
mov dword [esi + 0x184], 0
test edi, edi
je 0x541796
nop dword [eax + eax]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0053f270
add esp, 8
test eax, eax
je 0x5419a3
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x5419a3
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push edi
push eax
push 0
call fcn.00580210
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x5419a3
mov ecx, dword [esp + 0x48]
add ecx, edi
push ebx
cmp dword [esp + 0x20], ecx
jne 0x5419c7
push dword [esi + 0x184]
call fcn.00567a20
add esp, 8
test eax, eax
je 0x5419ac
cmp dword [esp + 0x54], 0
ja 0x541720
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0053f180
add esp, 8
test eax, eax
je 0x5419a3
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x10]
mov ebx, dword [ebp + 0x10]
test edi, edi
je 0x5412fc
mov ebx, dword [esp + 0x70]
push fcn.0057dc80
push dword [esi + 0x188]
mov dword [esp + 0x28], ebx
call fcn.005679c0
push edi
lea eax, [esp + 0x2c]
push eax
push 0
call fcn.0057dca0
add esp, 0x14
mov dword [esi + 0x188], eax
test eax, eax
je 0x5419a3
lea eax, [ebx + edi]
cmp dword [esp + 0x20], eax
jne 0x5419a3
jmp 0x5412f5
mov dword [ebx], 0xffffffff
jmp 0x5412f5
cmp edi, 0x3374
jne 0x54183d
mov eax, dword [esi + 0x68]
cmp dword [eax + 0x180], 0
jne 0x54190c
mov dword [eax + 0x344], 1
jmp 0x5412f9
cmp edi, 0x10
jne 0x54190c
mov eax, dword [esi + 0x68]
cmp dword [eax + 0x180], 0
jne 0x54190c
mov eax, dword [ebp + 0x10]
mov dword [eax], 0x32
cmp edx, 2
jb 0x5419a3
movzx eax, byte [ebx]
add edx, 0xfffffffe
movzx ecx, byte [ebx + 1]
shl eax, 8
or ecx, eax
lea eax, [ebx + 2]
cmp edx, ecx
jb 0x5419a3
lea edi, [ecx + eax]
sub edx, ecx
jne 0x5419a3
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edx
cmp ecx, 2
jb 0x5419a3
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
test ecx, ecx
je 0x5419a3
movzx edx, byte [eax]
dec ecx
inc eax
cmp ecx, edx
jb 0x5419a3
add eax, edx
sub ecx, edx
test edx, edx
je 0x5419a3
test ecx, ecx
jne 0x5418b4
mov ecx, dword [esi + 0x68]
lea eax, [ecx + 0x354]
push eax
lea eax, [ecx + 0x350]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.0053f310
add esp, 0xc
test eax, eax
jne 0x5412f5
mov eax, dword [ebp + 0x10]
mov dword [eax], 0x50
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x64]
test byte [eax + 0x34], 8
je 0x541951
push esi
call fcn.0055c930
add esp, 4
test eax, eax
je 0x541949
cmp edi, 0xe
jne 0x541949
mov ebx, dword [ebp + 0x10]
lea eax, [esp + 0x28]
push ebx
push eax
push esi
call fcn.0055caf0
add esp, 0xc
test eax, eax
jne 0x5419a3
mov ecx, dword [esp + 0x10]
jmp 0x5412fc
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
cmp edi, 0x16
jne 0x541971
test dword [esi + 0x12c], 0x80000
jne 0x541971
mov dword [esi + 0x1e4], 1
jmp 0x5412f5
cmp dword [esi + 0x78], 0
mov ecx, dword [esp + 0x10]
jne 0x5412f9
mov eax, dword [ebp + 0x10]
push eax
push edx
push ebx
push edi
push 1
push esi
call fcn.0054b8d0
add esp, 0x18
test eax, eax
jle 0x5419a3
jmp 0x5412f5
mov eax, dword [ebp + 0x10]
mov dword [eax], 0x70
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.005801c0
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [eax], 0x50
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.005801c0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
jne 0x5419b5
cmp dword [esp + 0x24], 0
jne 0x541a2a
cmp dword [esi + 0x1e8], 0
je 0x541a2a
test dword [esi + 0x12c], 0x40000
jne 0x541a2a
push 0x928
push str.ssl_t1_lib.c
push 0x152
push 0x140
push 0x14
mov dword [ebx], 0x28
call fcn.0056b200
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret