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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov ecx, dword [ecx]
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
push 0xa64270
push eax
push ecx
push 0
call fcn.00574300
add esp, 0x10
mov edi, eax
xor esi, esi
test eax, eax
je 0x4f7db5
test ebx, ebx
je 0x4f7c64
mov eax, dword [ebx]
test eax, eax
jne 0x4f7c71
call fcn.0050b260
test eax, eax
je 0x4f7db5
mov esi, eax
cmp dword [edi], 1
jne 0x4f7d6a
mov eax, dword [edi + 4]
mov ecx, eax
sar ecx, 8
cmp ecx, 3
je 0x4f7c9c
cmp ecx, 0xfe
je 0x4f7c9c
cmp eax, 0x100
jne 0x4f7d82
mov dword [esi], eax
mov eax, dword [edi + 0x78]
mov dword [esi + 0x2d4], eax
mov eax, dword [edi + 8]
cmp dword [eax], 2
jne 0x4f7d76
mov eax, dword [eax + 8]
movzx eax, word [eax]
rol ax, 8
movzx eax, ax
or eax, 0x3000000
mov dword [esi + 0x2d0], eax
push eax
call fcn.004f5930
add esp, 4
mov dword [esi + 0x2cc], eax
test eax, eax
je 0x4f7db5
mov ebp, dword [edi + 0x14]
xor edx, edx
mov ecx, 0
test ebp, ebp
je 0x4f7d18
mov eax, dword [ebp]
test eax, eax
je 0x4f7d18
cmp eax, 0x20
ja 0x4f7db5
lea ecx, [esi + 0x24c]
push eax
push dword [ebp + 8]
push ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
xor edx, edx
add esp, 0xc
mov ecx, dword [ebp]
mov dword [esi + 0x248], ecx
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x4f7d44
mov eax, dword [ebx]
test eax, eax
je 0x4f7d44
cmp eax, 0x200
ja 0x4f7db1
lea ecx, [esi + 0x48]
push eax
push dword [ebx + 8]
push ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov edx, dword [ebx]
mov dword [esi + 4], edx
mov eax, dword [edi + 0x20]
mov ebx, dword [edi + 0x24]
mov ecx, eax
or ecx, ebx
je 0x4f7de0
mov ecx, 0x3b9aca00
mul ecx
mov ecx, edx
imul edx, ebx, 0x3b9aca00
add edx, ecx
jmp 0x4f7de5
mov ebp, 0xfe
mov ebx, 0x11e
jmp 0x4f7d8c
mov ebp, 0x89
mov ebx, 0x12e
jmp 0x4f7d8c
mov ebp, 0x103
mov ebx, 0x125
call fcn.005b5560
push str.d2i_SSL_SESSION_ex
push ebx
push str.ssl_ssl_asn1.c
call fcn.005b5660
add esp, 0xc
push 0
push ebp
push 0x14
call fcn.005b5750
add esp, 0xc
mov ebx, dword [esp + 0x20]
push 0xa64270
push edi
call fcn.00576c00
add esp, 8
test ebx, ebx
je 0x4f7dcb
cmp dword [ebx], esi
je 0x4f7dd4
push esi
call fcn.0050bd40
add esp, 4
xor esi, esi
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.005e7810
mov dword [esi + 0x2bc], edx
mov dword [esi + 0x2b8], eax
mov ebx, dword [edi + 0x2c]
mov ecx, dword [edi + 0x28]
mov edx, 0x3b9aca00
mov eax, ecx
mul edx
imul ebp, ebx, 0x3b9aca00
add ebp, edx
xor edx, edx
or ecx, ebx
mov dword [esp], 0
cmove ebp, edx
mov ecx, 0xb2d05e00
cmovne ecx, eax
mov dword [esi + 0x2b0], ecx
mov dword [esi + 0x2b4], ebp
push esi
call fcn.0050b130
add esp, 4
push dword [esi + 0x2a0]
call fcn.0063c840
add esp, 4
mov eax, dword [edi + 0x30]
mov dword [esi + 0x2a0], eax
mov dword [edi + 0x30], 0
push dword [esi + 0x29c]
call fcn.005cb670
add esp, 4
mov dword [esi + 0x29c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x4f7ea0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, dword [eax + 8]
mov dword [esp + 8], ebx
lea ebx, [esp + 8]
push ecx
push edx
push dword [eax]
push ebx
push 0
call fcn.0063b1b0
add esp, 0x14
mov dword [esi + 0x29c], eax
test eax, eax
je 0x4f7db1
mov ebx, dword [edi + 0x34]
test ebx, ebx
je 0x4f7ed4
mov eax, dword [ebx]
test eax, eax
mov ebp, dword [esp + 0x24]
je 0x4f7ed8
cmp eax, 0x20
ja 0x4f7db1
lea ecx, [esi + 0x270]
push eax
push dword [ebx + 8]
push ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov eax, dword [ebx]
mov dword [esp], eax
jmp 0x4f7ed8
mov ebp, dword [esp + 0x24]
mov eax, dword [esp]
mov dword [esi + 0x26c], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x2a8], eax
lea ecx, [esi + 0x2e0]
mov edx, dword [edi + 0x3c]
call fcn.004f8080
test eax, eax
je 0x4f7db1
lea ecx, [esi + 0x290]
mov edx, dword [edi + 0x50]
call fcn.004f8080
test eax, eax
mov ebx, dword [esp + 0x20]
je 0x4f7db5
lea ecx, [esi + 0x294]
mov edx, dword [edi + 0x54]
call fcn.004f8080
test eax, eax
je 0x4f7db5
mov eax, dword [edi + 0x40]
mov dword [esi + 0x2ec], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x2f0], eax
push 0x173
push str.ssl_ssl_asn1.c
push dword [esi + 0x2e4]
call fcn.005db000
add esp, 0xc
mov ecx, dword [edi + 0x4c]
xor eax, eax
mov edx, 0
test ecx, ecx
je 0x4f7f7e
mov ebx, dword [ecx]
mov edx, dword [ecx + 8]
mov dword [esi + 0x2e8], ebx
mov ebx, dword [esp + 0x20]
mov dword [ecx + 8], 0
mov dword [esi + 0x2e4], edx
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4f7f96
cmp dword [ecx], 1
jne 0x4f7ff1
mov eax, dword [ecx + 8]
movzx eax, byte [eax]
mov dword [esi + 0x2c8], eax
lea ecx, [esi + 0x304]
mov edx, dword [edi + 0x58]
call fcn.004f8080
test eax, eax
je 0x4f7db5
mov eax, dword [edi + 0x60]
mov dword [esi + 0x310], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x2f4], eax
push 0x18f
push str.ssl_ssl_asn1.c
push dword [esi + 0x2f8]
call fcn.005db000
add esp, 0xc
mov edx, dword [edi + 0x6c]
test edx, edx
je 0x4f8000
mov eax, dword [edx]
mov ecx, dword [edx + 8]
mov dword [edx + 8], 0
jmp 0x4f8004
mov ebp, 0x10f
mov ebx, 0x17e
jmp 0x4f7d8c
xor ecx, ecx
xor eax, eax
mov dword [esi + 0x2f8], ecx
mov dword [esi + 0x2fc], eax
movzx eax, byte [edi + 0x70]
mov byte [esi + 0x300], al
push 0x19b
push str.ssl_ssl_asn1.c
push dword [esi + 0x308]
call fcn.005db000
add esp, 0xc
mov ecx, dword [edi + 0x74]
test ecx, ecx
je 0x4f8047
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov dword [ecx + 8], 0
jmp 0x4f804b
xor eax, eax
xor edx, edx
mov dword [esi + 0x308], eax
mov dword [esi + 0x30c], edx
push 0xa64270
push edi
call fcn.00576c00
add esp, 8
test ebx, ebx
je 0x4f8070
cmp dword [ebx], 0
jne 0x4f8070
mov dword [ebx], esi
mov eax, dword [esp + 4]
mov dword [ebp], eax
jmp 0x4f7dd6