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

Disassembly:
mov eax, 0x68
call fcn.10032ed0
mov eax, dword [0x10057d40]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
push ebx
push ebp
mov ebp, dword [esp + 0x78]
xor ebx, ebx
push esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
push edi
push eax
mov byte [esp + 0x17], 0x41
call sub.LIBEAY32.dll_Ordinal_2630
lea eax, [esp + 0x24]
push 8
push eax
call sub.LIBEAY32.dll_Ordinal_3883
lea eax, [esp + 0x44]
push eax
call sub.LIBEAY32.dll_Ordinal_2630
mov edi, dword [esp + 0x94]
xor esi, esi
add esp, 0x10
mov dword [esp + 0x18], esi
test edi, edi
jle 0x1000da7c
mov eax, 0x10
sub eax, ebp
mov dword [esp + 0x1c], eax
nop
inc ebx
cmp ebx, 0x10
ja 0x1000dab7
test ebx, ebx
je 0x1000d8f8
movzx eax, byte [esp + 0x13]
lea edi, [esp + 0x64]
imul eax, eax, 0x1010101
mov ecx, ebx
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, dword [esp + 0x18]
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x84]
inc byte [esp + 0x13]
push 0
call sub.LIBEAY32.dll_Ordinal_333
push eax
lea eax, [esp + 0x40]
push eax
call sub.LIBEAY32.dll_Ordinal_3109
add esp, 0xc
test eax, eax
je 0x1000dad2
push ebx
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x40]
push eax
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
je 0x1000dad2
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc0]
push dword [eax + 0x10]
add eax, 0x14
push eax
lea eax, [esp + 0x40]
push eax
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
je 0x1000dad2
mov eax, dword [esp + 0x14]
push 0x20
mov eax, dword [eax + 0x58]
add eax, 0xa0
push eax
lea eax, [esp + 0x40]
push eax
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
je 0x1000dad2
mov eax, dword [esp + 0x14]
push 0x20
mov eax, dword [eax + 0x58]
add eax, 0xc0
push eax
lea eax, [esp + 0x40]
push eax
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
je 0x1000dad2
push 0
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x40]
push eax
call sub.LIBEAY32.dll_Ordinal_2936
add esp, 0xc
test eax, eax
je 0x1000dad2
push 0
call sub.LIBEAY32.dll_Ordinal_323
push eax
lea eax, [esp + 0x28]
push eax
call sub.LIBEAY32.dll_Ordinal_3109
add esp, 0xc
test eax, eax
je 0x1000dad2
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc0]
push dword [eax + 0x10]
add eax, 0x14
push eax
lea eax, [esp + 0x28]
push eax
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
je 0x1000dad2
push 0x14
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x28]
push eax
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
je 0x1000dad2
mov eax, dword [esp + 0x1c]
add eax, ebp
push 0
cmp eax, edi
jle 0x1000da58
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x28]
push eax
call sub.LIBEAY32.dll_Ordinal_2936
add esp, 0xc
test eax, eax
je 0x1000dad2
mov eax, edi
sub eax, esi
push eax
lea eax, [esp + 0x54]
push eax
push ebp
call fcn.10034190
add esp, 0xc
jmp 0x1000da6a
lea eax, [esp + 0x24]
push ebp
push eax
call sub.LIBEAY32.dll_Ordinal_2936
add esp, 0xc
test eax, eax
je 0x1000dad2
add esi, 0x10
add ebp, 0x10
mov dword [esp + 0x18], esi
cmp esi, edi
jl 0x1000d8c0
lea eax, [esp + 0x50]
push 0x14
push eax
call sub.LIBEAY32.dll_Ordinal_3245
lea eax, [esp + 0x28]
push eax
call sub.LIBEAY32.dll_Ordinal_2821
lea eax, [esp + 0x44]
push eax
call sub.LIBEAY32.dll_Ordinal_2821
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.10032eb8
add esp, 0x68
ret
push 0xd8
push str.._ssl_s3_enc.c
push 0x44
push 0xee
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
lea eax, [esp + 0x20]
push eax
call sub.LIBEAY32.dll_Ordinal_2821
lea eax, [esp + 0x3c]
push eax
call sub.LIBEAY32.dll_Ordinal_2821
mov ecx, dword [esp + 0x7c]
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10032eb8
add esp, 0x68
ret