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

Disassembly:
mov eax, 0x8c
call fcn.0053a250
mov eax, dword [0x5b46a4]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, dword [esp + 0xa0]
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x48], ebx
call fcn.00447870
add esp, 4
cmp dword [edi + 0x34], 0x2150
jne 0x4c10a6
mov ecx, dword [edi + 0x58]
mov ecx, dword [ecx + 0x344]
mov eax, dword [ecx + 0xc]
mov edx, dword [edi + 0x3c]
mov ebp, dword [edi + 0x98]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ebx
test al, 1
je 0x4c089a
mov esi, dword [ebp + 0x18]
cmp esi, ebx
jne 0x4c0866
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x4c0886
mov ecx, dword [ecx + 0x20]
mov edx, ecx
and dl, 8
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xfffffe00
add edx, 0x400
push edx
and ecx, 2
push ecx
push edi
call eax
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x4c085a
push 0x694
push str.._ssl_s3_srvr.c
push 0x11a
jmp 0x4c1244
push esi
call fcn.004443f0
add esp, 4
mov dword [ebp + 0x18], esi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [edi + 0x58]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [edx + 0x370], 1
jmp 0x4c0d05
push 0x69d
push str.._ssl_s3_srvr.c
push 0xac
jmp 0x4c1244
test al, 8
je 0x4c09c0
mov esi, dword [ebp + 0x20]
cmp esi, ebx
jne 0x4c08ef
mov ebp, dword [ebp + 0x24]
cmp ebp, ebx
je 0x4c08db
mov ecx, dword [ecx + 0x20]
mov eax, ecx
and al, 8
movzx edx, al
neg edx
sbb edx, edx
and edx, 0xfffffe00
add edx, 0x400
push edx
and ecx, 2
push ecx
push edi
call ebp
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x4c08ef
push 0x6b1
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x4c1244
mov eax, dword [edi + 0x58]
cmp dword [eax + 0x348], ebx
je 0x4c091a
push 0x6b7
push str.._ssl_s3_srvr.c
push 0x44
push 0x9b
push 0x14
call fcn.004380c0
add esp, 0x14
jmp 0x4c1275
push esi
call fcn.00475870
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x4c0949
push 0x6bc
push str.._ssl_s3_srvr.c
push 5
push 0x9b
push 0x14
call fcn.004380c0
add esp, 0x14
jmp 0x4c1275
mov ecx, dword [edi + 0x58]
mov dword [ecx + 0x348], ebp
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x4c0992
cmp dword [esi + 0x18], ebx
je 0x4c0992
test dword [edi + 0x100], 0x100000
jne 0x4c0992
push eax
call fcn.00441030
mov dword [ebp + 0x14], eax
mov edx, dword [esi + 0x18]
push edx
call fcn.00441030
add esp, 8
mov dword [ebp + 0x18], eax
cmp dword [ebp + 0x14], ebx
je 0x4c098b
cmp eax, ebx
jne 0x4c09a6
push 0x6cc
jmp 0x4c092e
push ebp
call fcn.00460fb0
add esp, 4
test eax, eax
jne 0x4c09a6
push 0x6c5
jmp 0x4c092e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
jmp 0x4c0d05
test al, al
jns 0x4c0c84
mov eax, dword [ebp + 0x28]
cmp eax, ebx
jne 0x4c0a13
mov ebp, dword [ebp + 0x2c]
cmp ebp, ebx
je 0x4c09ff
mov ecx, dword [ecx + 0x20]
mov eax, ecx
and al, 8
movzx edx, al
neg edx
sbb edx, edx
and edx, 0xfffffe00
add edx, 0x400
push edx
and ecx, 2
push ecx
push edi
call ebp
add esp, 0xc
cmp eax, ebx
jne 0x4c0a13
push 0x6e4
push str.._ssl_s3_srvr.c
push 0x137
jmp 0x4c1244
mov ecx, dword [edi + 0x58]
cmp dword [ecx + 0x34c], ebx
je 0x4c0a28
push 0x6ea
jmp 0x4c08ff
cmp eax, ebx
jne 0x4c0a4c
push 0x6f0
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.004380c0
add esp, 0x14
jmp 0x4c1275
push eax
call fcn.00444910
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x4c0a7b
push 0x6f4
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.004380c0
add esp, 0x14
jmp 0x4c1275
mov edx, dword [edi + 0x58]
push esi
mov dword [edx + 0x34c], esi
call fcn.00448c00
add esp, 4
test eax, eax
je 0x4c0aaa
push esi
call fcn.00434010
add esp, 4
test eax, eax
je 0x4c0aaa
test dword [edi + 0x100], 0x80000
je 0x4c0ad7
push esi
call fcn.00444970
add esp, 4
test eax, eax
jne 0x4c0ad7
push 0x6fe
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.004380c0
add esp, 0x14
jmp 0x4c1275
push esi
call fcn.00447420
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4c0c64
push esi
call fcn.00448c00
add esp, 4
test eax, eax
je 0x4c0c64
push esi
call fcn.00434010
add esp, 4
test eax, eax
je 0x4c0c64
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 0x344]
test byte [ecx + 0x20], 2
je 0x4c0b4e
push ebx
call fcn.0045f430
add esp, 4
cmp eax, 0xa3
jle 0x4c0b4e
push 0x70d
push str.._ssl_s3_srvr.c
push 0x136
push 0x9b
push 0x14
call fcn.004380c0
add esp, 0x14
jmp 0x4c1275
push ebx
call fcn.0045f260
push eax
call fcn.004b2be0
add esp, 8
mov dword [esp + 0x48], eax
test eax, eax
jne 0x4c0b88
push 0x71a
push str.._ssl_s3_srvr.c
push 0x13b
push 0x9b
push 0x14
call fcn.004380c0
add esp, 0x14
jmp 0x4c1275
push 0
push 0
push 0
push 4
push esi
call fcn.00448c00
add esp, 4
push eax
push ebx
call fcn.004926d0
push 0x728
mov ebp, eax
push str.._ssl_s3_srvr.c
push ebp
call fcn.0043b030
add esp, 0x24
mov dword [esp + 0x24], eax
call fcn.004606b0
cmp dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
je 0x4c0c44
test eax, eax
je 0x4c0c44
mov edx, eax
mov eax, dword [esp + 0x24]
push edx
push ebp
push eax
push 4
push esi
call fcn.00448c00
add esp, 4
push eax
push ebx
call fcn.004926d0
add esp, 0x18
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4c0c13
push 0x736
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.004380c0
add esp, 0x14
jmp 0x4c1264
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00460710
mov edx, dword [esp + 0x1c]
xor eax, eax
add edx, 4
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
xor ebx, ebx
jmp 0x4c0d01
push 0x72c
push str.._ssl_s3_srvr.c
push 0x41
push 0x9b
push 0x14
call fcn.004380c0
add esp, 0x14
jmp 0x4c1264
push 0x706
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.004380c0
add esp, 0x14
jmp 0x4c1275
test eax, 0x100
je 0x4c0cb2
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + 0x14c]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c0ca0
sub eax, edx
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x4c0d05
test eax, 0x400
je 0x4c1235
mov esi, dword [edi + 0x1a8]
cmp esi, ebx
je 0x4c1215
mov edx, dword [edi + 0x1ac]
cmp edx, ebx
je 0x4c1215
mov ecx, dword [edi + 0x1b0]
cmp ecx, ebx
je 0x4c1215
mov eax, dword [edi + 0x1b4]
cmp eax, ebx
je 0x4c1215
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov esi, 0x400
mov ecx, dword [esp + ecx*4 + 0x30]
test ecx, ecx
je 0x4c0d60
push ecx
call fcn.00440670
mov ecx, dword [esp + 0x18]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
add esp, 4
mov dword [esp + ecx*4 + 0x64], eax
cmp ecx, 2
jne 0x4c0d4a
test dword [esp + 0x2c], esi
je 0x4c0d4a
mov edx, dword [esp + 0x10]
lea eax, [edx + eax + 1]
jmp 0x4c0d52
mov edx, dword [esp + 0x10]
lea eax, [edx + eax + 2]
inc ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp ecx, 4
jl 0x4c0d10
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx + 0x344]
test dword [eax + 0x10], 0x404
jne 0x4c0da5
test dword [eax + 0xc], 0x100
jne 0x4c0da5
lea edx, [esp + 0x44]
push edx
push eax
push edi
call fcn.004a32f0
add esp, 0xc
mov dword [esp + 0x28], eax
test eax, eax
jne 0x4c0d9a
lea esi, [eax + 0x32]
jmp 0x4c1258
push eax
call fcn.00436980
add esp, 4
jmp 0x4c0daf
mov dword [esp + 0x28], 0
xor eax, eax
mov ecx, dword [esp + 0x10]
lea edx, [eax + ecx + 4]
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.0044baa0
add esp, 8
test eax, eax
jne 0x4c0de9
push 0x784
push str.._ssl_s3_srvr.c
push 7
push 0x9b
push 0x14
call fcn.004380c0
add esp, 0x14
jmp 0x4c1264
mov ecx, dword [edi + 0x3c]
mov ebp, dword [ecx + 4]
mov bl, byte [esp + 0x6c]
xor eax, eax
mov dword [esp + 0x20], ebp
lea esi, [ebp + 4]
mov dword [esp + 0x14], eax
cmp dword [esp + eax*4 + 0x30], 0
je 0x4c0e56
cmp eax, 2
jne 0x4c0e1b
test dword [esp + 0x2c], 0x400
je 0x4c0e1b
mov byte [esi], bl
inc esi
jmp 0x4c0e32
mov edx, dword [esp + eax*4 + 0x64]
sar edx, 8
mov byte [esi], dl
mov eax, dword [esp + 0x14]
mov cl, byte [esp + eax*4 + 0x64]
mov byte [esi + 1], cl
add esi, 2
mov edx, dword [esp + 0x14]
mov eax, dword [esp + edx*4 + 0x30]
push esi
push eax
call fcn.00440ae0
mov eax, dword [esp + 0x1c]
add esi, dword [esp + eax*4 + 0x6c]
inc eax
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, 4
jl 0x4c0e00
test byte [esp + 0x2c], 0x80
je 0x4c0e96
mov cl, byte [esp + 0x48]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov word [esi], 3
mov byte [esi + 2], cl
push ebx
mov byte [esi + 3], bl
add esi, 4
push ebp
push esi
call fcn.0053b750
push ebp
call fcn.0043b1e0
mov ebp, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x24], 0
add esi, ebx
test dword [esp + 0x2c], 0x100
je 0x4c0f22
mov edx, dword [edi + 0xe4]
mov eax, dword [edx + 0x14c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c0eb3
sub eax, edx
shr eax, 8
mov byte [esi], al
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + 0x14c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4c0ed0
sub eax, ecx
mov byte [esi + 1], al
mov ecx, dword [edi + 0xe4]
mov ecx, dword [ecx + 0x14c]
mov eax, ecx
add esi, 2
lea ebp, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4c0ef0
sub eax, ebp
push eax
push ecx
push esi
call fcn.005435e0
mov edx, dword [edi + 0xe4]
mov eax, dword [edx + 0x14c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c0f13
mov ebp, dword [esp + 0x20]
sub eax, edx
add esi, eax
cmp dword [esp + 0x28], 0
je 0x4c107e
mov eax, dword [esp + 0x28]
cmp dword [eax], 6
jne 0x4c10db
mov eax, dword [edi]
mov ecx, eax
and ecx, 0xffffff00
cmp ecx, 0x300
jne 0x4c0f57
cmp eax, 0x303
jge 0x4c10db
lea ebx, [esp + 0x74]
mov dword [esp + 0x18], 0
mov ebp, 2
lea edx, [esp + 0x4c]
push 8
push edx
call fcn.00448c50
add esp, 8
cmp ebp, 2
jne 0x4c0f8a
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + 0x8c]
jmp 0x4c0f96
mov ecx, dword [edi + 0xe4]
mov eax, dword [ecx + 0x90]
push 0
push eax
lea edx, [esp + 0x54]
push edx
call fcn.004478c0
mov eax, dword [edi + 0x58]
push 0x20
add eax, 0xc0
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.00447a70
mov edx, dword [edi + 0x58]
push 0x20
add edx, 0xa0
push edx
lea eax, [esp + 0x6c]
push eax
call fcn.00447a70
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
push ecx
add eax, 4
push eax
lea edx, [esp + 0x78]
push edx
call fcn.00447a70
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x80]
push ebx
push ecx
call fcn.00447a80
mov eax, dword [esp + 0x50]
add dword [esp + 0x54], eax
dec ebp
add esp, 0x3c
add ebx, eax
test ebp, ebp
jg 0x4c0f68
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x14]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esi + 2]
push edx
push eax
lea ecx, [esp + 0x84]
push ecx
push 0x72
call fcn.004659f0
add esp, 0x18
test eax, eax
jg 0x4c105a
push 0x7d3
push str.._ssl_s3_srvr.c
push 4
push 0x9b
push 0x14
call fcn.004380c0
add esp, 0x14
jmp 0x4c1264
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x20]
shr edx, 8
mov byte [esi], dl
mov al, byte [esp + 0x40]
mov edx, dword [esp + 0x10]
mov byte [esi + 1], al
mov ecx, dword [esp + 0x40]
lea eax, [edx + ecx + 2]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov byte [ebp], 0xc
mov edx, eax
mov ecx, eax
mov byte [ebp + 3], al
sar edx, 0x10
sar ecx, 8
mov byte [ebp + 1], dl
mov byte [ebp + 2], cl
add eax, 4
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], 0
lea ecx, [esp + 0x4c]
push ecx
mov dword [edi + 0x34], 0x2151
call fcn.00447b00
push 0x16
push edi
call fcn.004b00f0
add esp, 0xc
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0053a230
add esp, 0x8c
ret
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4c1204
mov ecx, dword [edi]
mov edx, ecx
and edx, 0xffffff00
cmp edx, 0x300
jne 0x4c112f
cmp ecx, 0x303
jl 0x4c112f
push eax
mov eax, dword [esp + 0x2c]
push eax
push esi
call fcn.004b57c0
add esp, 0xc
test eax, eax
jne 0x4c1128
push 0x7e3
push str.._ssl_s3_srvr.c
lea esi, [eax + 0x50]
push 0x44
jmp 0x4c1249
mov eax, dword [esp + 0x44]
add esi, 2
push 0
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.004478c0
mov edx, dword [edi + 0x58]
push 0x20
add edx, 0xc0
push edx
lea eax, [esp + 0x60]
push eax
call fcn.00447a70
mov ecx, dword [edi + 0x58]
push 0x20
add ecx, 0xa0
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.00447a70
mov ebx, dword [esp + 0x34]
push ebx
lea eax, [ebp + 4]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00447a70
mov ecx, dword [esp + 0x58]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esi + 2]
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.004711d0
add esp, 0x40
test eax, eax
jne 0x4c11bd
push 0x7f3
push str.._ssl_s3_srvr.c
push 6
push 0x9b
push 0x14
call fcn.004380c0
add esp, 0x14
jmp 0x4c1264
mov edx, dword [esp + 0x14]
sar edx, 8
mov byte [esi], dl
mov al, byte [esp + 0x14]
mov byte [esi + 1], al
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
lea edx, [ebx + ecx + 2]
mov ecx, eax
and ecx, 0xffffff00
mov dword [esp + 0x10], edx
cmp ecx, 0x300
jne 0x4c107e
cmp eax, 0x303
jl 0x4c107e
add dword [esp + 0x10], 2
jmp 0x4c107e
push 0x7fe
push str.._ssl_s3_srvr.c
push 0xfb
jmp 0x4c1244
push 0x75d
push str.._ssl_s3_srvr.c
push 0x166
push 0x9b
push 0x14
call fcn.004380c0
add esp, 0x14
jmp 0x4c1275
push 0x769
push str.._ssl_s3_srvr.c
push 0xfa
mov esi, 0x28
push 0x9b
push 0x14
call fcn.004380c0
add esp, 0x14
push esi
push 2
push edi
call fcn.004adc50
add esp, 0xc
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4c1275
push eax
call fcn.0043b1e0
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
call fcn.00460710
lea eax, [esp + 0x50]
push eax
call fcn.00447b00
add esp, 8
mov dword [edi + 0x34], 5
or eax, 0xffffffff
jmp 0x4c10c2