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

Disassembly:
mov eax, 0x8c
call fcn.00607520
mov eax, dword [0x70635c]
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.00454b50
add esp, 4
cmp dword [edi + 0x34], 0x2150
jne 0x437087
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 0x43687a
mov esi, dword [ebp + 0x18]
cmp esi, ebx
jne 0x436846
mov edx, dword [ebp + 0x1c]
cmp edx, ebx
je 0x436866
mov eax, dword [ecx + 0x20]
mov ecx, eax
and cl, 8
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, 0xfffffe00
add ecx, 0x400
push ecx
and eax, 2
push eax
push edi
call edx
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x43683a
push 0x647
push str.._ssl_s3_srvr.c
push 0x11a
jmp 0x437225
push esi
call fcn.00455ad0
add esp, 4
mov dword [ebp + 0x18], esi
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov ecx, dword [edi + 0x58]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [ecx + 0x370], 1
jmp 0x436ce5
push 0x650
push str.._ssl_s3_srvr.c
push 0xac
jmp 0x437225
test al, 8
je 0x43699d
mov esi, dword [ebp + 0x20]
cmp esi, ebx
jne 0x4368d0
mov ebp, dword [ebp + 0x24]
cmp ebp, ebx
je 0x4368bc
mov eax, dword [ecx + 0x20]
mov edx, eax
and dl, 8
movzx ecx, dl
neg ecx
sbb ecx, ecx
and ecx, 0xfffffe00
add ecx, 0x400
push ecx
and eax, 2
push eax
push edi
call ebp
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x4368d0
push 0x664
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x437225
mov edx, dword [edi + 0x58]
cmp dword [edx + 0x348], ebx
je 0x4368fb
push 0x66a
push str.._ssl_s3_srvr.c
push 0x44
push 0x9b
push 0x14
call fcn.0044ceb0
add esp, 0x14
jmp 0x437256
push esi
call fcn.00456610
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x43692a
push 0x670
push str.._ssl_s3_srvr.c
push 5
push 0x9b
push 0x14
call fcn.0044ceb0
add esp, 0x14
jmp 0x437256
mov eax, dword [edi + 0x58]
mov dword [eax + 0x348], ebp
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x436973
cmp dword [esi + 0x18], ebx
je 0x436973
test dword [edi + 0x100], 0x100000
jne 0x436973
push eax
call fcn.00456540
mov dword [ebp + 0x14], eax
mov ecx, dword [esi + 0x18]
push ecx
call fcn.00456540
add esp, 8
mov dword [ebp + 0x18], eax
cmp dword [ebp + 0x14], ebx
je 0x43696c
cmp eax, ebx
jne 0x436987
push 0x687
jmp 0x43690f
push ebp
call fcn.0045e850
add esp, 4
test eax, eax
jne 0x436987
push 0x67c
jmp 0x43690f
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
jmp 0x436ce1
test al, al
jns 0x436c64
mov eax, dword [ebp + 0x28]
cmp eax, ebx
jne 0x4369f1
mov ebp, dword [ebp + 0x2c]
cmp ebp, ebx
je 0x4369dd
mov eax, dword [ecx + 0x20]
mov edx, eax
and dl, 8
movzx ecx, dl
neg ecx
sbb ecx, ecx
and ecx, 0xfffffe00
add ecx, 0x400
push ecx
and eax, 2
push eax
push edi
call ebp
add esp, 0xc
cmp eax, ebx
jne 0x4369f1
push 0x6a0
push str.._ssl_s3_srvr.c
push 0x137
jmp 0x437225
mov edx, dword [edi + 0x58]
cmp dword [edx + 0x34c], ebx
je 0x436a06
push 0x6a6
jmp 0x4368e0
cmp eax, ebx
jne 0x436a2a
push 0x6ad
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.0044ceb0
add esp, 0x14
jmp 0x437256
push eax
call fcn.0044b040
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x436a59
push 0x6b2
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.0044ceb0
add esp, 0x14
jmp 0x437256
mov eax, dword [edi + 0x58]
push esi
mov dword [eax + 0x34c], esi
call fcn.0044b250
add esp, 4
test eax, eax
je 0x436a88
push esi
call fcn.0044b210
add esp, 4
test eax, eax
je 0x436a88
test dword [edi + 0x100], 0x80000
je 0x436ab5
push esi
call fcn.0044b0a0
add esp, 4
test eax, eax
jne 0x436ab5
push 0x6bd
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.0044ceb0
add esp, 0x14
jmp 0x437256
push esi
call fcn.0045ecf0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x436c44
push esi
call fcn.0044b250
add esp, 4
test eax, eax
je 0x436c44
push esi
call fcn.0044b210
add esp, 4
test eax, eax
je 0x436c44
mov ecx, dword [edi + 0x58]
mov edx, dword [ecx + 0x344]
test byte [edx + 0x20], 2
je 0x436b2c
push ebx
call fcn.0045ef30
add esp, 4
cmp eax, 0xa3
jle 0x436b2c
push 0x6cd
push str.._ssl_s3_srvr.c
push 0x136
push 0x9b
push 0x14
call fcn.0044ceb0
add esp, 0x14
jmp 0x437256
push ebx
call fcn.0045ed70
push eax
call fcn.00432d50
add esp, 8
mov dword [esp + 0x48], eax
test eax, eax
jne 0x436b66
push 0x6d9
push str.._ssl_s3_srvr.c
push 0x13b
push 0x9b
push 0x14
call fcn.0044ceb0
add esp, 0x14
jmp 0x437256
push 0
push 0
push 0
push 4
push esi
call fcn.0044b250
add esp, 4
push eax
push ebx
call fcn.00461030
push 0x6e7
mov ebp, eax
push str.._ssl_s3_srvr.c
push ebp
call fcn.004500a0
add esp, 0x24
mov dword [esp + 0x24], eax
call fcn.00460d50
cmp dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
je 0x436c24
test eax, eax
je 0x436c24
mov ecx, dword [esp + 0x24]
push eax
push ebp
push ecx
push 4
push esi
call fcn.0044b250
add esp, 4
push eax
push ebx
call fcn.00461030
add esp, 0x18
mov dword [esp + 0x18], eax
test eax, eax
jne 0x436bef
push 0x6f7
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.0044ceb0
add esp, 0x14
jmp 0x437245
mov edx, dword [esp + 0x1c]
push edx
call fcn.00460db0
mov ecx, dword [esp + 0x1c]
xor eax, eax
add ecx, 4
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
xor ebx, ebx
jmp 0x436ce5
push 0x6eb
push str.._ssl_s3_srvr.c
push 0x41
push 0x9b
push 0x14
call fcn.0044ceb0
add esp, 0x14
jmp 0x437245
push 0x6c6
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.0044ceb0
add esp, 0x14
jmp 0x437256
test eax, 0x100
je 0x436c92
mov edx, dword [edi + 0xe4]
mov eax, dword [edx + 0x14c]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436c80
sub eax, edx
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x436ce5
test eax, 0x400
je 0x437216
mov esi, dword [edi + 0x1a8]
cmp esi, ebx
je 0x4371f6
mov edx, dword [edi + 0x1ac]
cmp edx, ebx
je 0x4371f6
mov ecx, dword [edi + 0x1b0]
cmp ecx, ebx
je 0x4371f6
mov eax, dword [edi + 0x1b4]
cmp eax, ebx
je 0x4371f6
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov esi, 0x400
mov ecx, dword [esp + ecx*4 + 0x30]
test ecx, ecx
je 0x436d40
push ecx
call fcn.00455b70
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 0x436d2a
test dword [esp + 0x2c], esi
je 0x436d2a
mov edx, dword [esp + 0x10]
lea eax, [edx + eax + 1]
jmp 0x436d32
mov edx, dword [esp + 0x10]
lea eax, [edx + eax + 2]
inc ecx
cmp ecx, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jl 0x436cf0
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx + 0x344]
test byte [eax + 0x10], 4
jne 0x436d82
test dword [eax + 0xc], 0x100
jne 0x436d82
lea edx, [esp + 0x44]
push edx
push eax
push edi
call fcn.00427480
add esp, 0xc
mov dword [esp + 0x28], eax
test eax, eax
jne 0x436d77
lea esi, [eax + 0x32]
jmp 0x437239
push eax
call fcn.00451e80
add esp, 4
jmp 0x436d8c
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.004552a0
add esp, 8
test eax, eax
jne 0x436dc6
push 0x74c
push str.._ssl_s3_srvr.c
push 7
push 0x9b
push 0x14
call fcn.0044ceb0
add esp, 0x14
jmp 0x437245
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
lea ecx, [ecx]
cmp dword [esp + eax*4 + 0x30], 0
je 0x436e36
cmp eax, 2
jne 0x436dfb
test dword [esp + 0x2c], 0x400
je 0x436dfb
mov byte [esi], bl
inc esi
jmp 0x436e12
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.00455fe0
mov eax, dword [esp + 0x1c]
add esi, dword [esp + eax*4 + 0x6c]
inc eax
add esp, 8
cmp eax, 4
mov dword [esp + 0x14], eax
jl 0x436de0
test byte [esp + 0x2c], 0x80
je 0x436e76
mov cl, byte [esp + 0x48]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov byte [esi], 3
inc esi
mov byte [esi], 0
inc esi
mov byte [esi], cl
inc esi
push ebx
mov byte [esi], bl
inc esi
push ebp
push esi
call sub.MSVCR90.dll_memcpy
push ebp
call fcn.00450240
mov ebp, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x24], 0
add esi, ebx
test dword [esp + 0x2c], 0x100
je 0x436f02
mov edx, dword [edi + 0xe4]
mov eax, dword [edx + 0x14c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436e93
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 0x436eb0
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 0x436ed0
sub eax, ebp
push eax
push ecx
push esi
call sub.MSVCR90.dll_strncpy
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 0x436ef3
mov ebp, dword [esp + 0x20]
sub eax, edx
add esi, eax
cmp dword [esp + 0x28], 0
je 0x43705e
mov eax, dword [esp + 0x28]
cmp dword [eax], 6
jne 0x4370bc
mov eax, dword [edi]
mov ecx, eax
and ecx, 0xffffff00
cmp ecx, 0x300
jne 0x436f37
cmp eax, 0x303
jge 0x4370bc
lea ebx, [esp + 0x74]
mov dword [esp + 0x18], 0
mov ebp, 2
lea edx, [esp + 0x4c]
push 8
push edx
call fcn.0045be90
add esp, 8
cmp ebp, 2
jne 0x436f6a
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + 0x8c]
jmp 0x436f76
mov ecx, dword [edi + 0xe4]
mov eax, dword [ecx + 0x90]
push 0
push eax
lea edx, [esp + 0x54]
push edx
call fcn.00454ba0
mov eax, dword [edi + 0x58]
push 0x20
add eax, 0xc0
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.00454d50
mov edx, dword [edi + 0x58]
push 0x20
add edx, 0xa0
push edx
lea eax, [esp + 0x6c]
push eax
call fcn.00454d50
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.00454d50
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x80]
push ebx
push ecx
call fcn.00454d60
mov eax, dword [esp + 0x50]
add dword [esp + 0x54], eax
dec ebp
add esp, 0x3c
add ebx, eax
test ebp, ebp
jg 0x436f48
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.00460570
add esp, 0x18
test eax, eax
jg 0x43703a
push 0x7a1
push str.._ssl_s3_srvr.c
push 4
push 0x9b
push 0x14
call fcn.0044ceb0
add esp, 0x14
jmp 0x437245
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
inc ebp
mov edx, eax
mov ecx, eax
mov byte [ebp + 2], al
sar edx, 0x10
sar ecx, 8
mov byte [ebp], dl
mov byte [ebp + 1], 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.00454de0
push 0x16
push edi
call fcn.00430200
add esp, 0xc
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00606c9e
add esp, 0x8c
ret
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4371e5
mov ecx, dword [edi]
mov edx, ecx
and edx, 0xffffff00
cmp edx, 0x300
jne 0x437110
cmp ecx, 0x303
jl 0x437110
push eax
mov eax, dword [esp + 0x2c]
push eax
push esi
call fcn.004359a0
add esp, 0xc
test eax, eax
jne 0x437109
push 0x7b3
push str.._ssl_s3_srvr.c
lea esi, [eax + 0x50]
push 0x44
jmp 0x43722a
mov eax, dword [esp + 0x44]
add esi, 2
push 0
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.00454ba0
mov edx, dword [edi + 0x58]
push 0x20
add edx, 0xc0
push edx
lea eax, [esp + 0x60]
push eax
call fcn.00454d50
mov ecx, dword [edi + 0x58]
push 0x20
add ecx, 0xa0
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.00454d50
mov ebx, dword [esp + 0x34]
push ebx
lea eax, [ebp + 4]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00454d50
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.00460390
add esp, 0x40
test eax, eax
jne 0x43719e
push 0x7c3
push str.._ssl_s3_srvr.c
push 6
push 0x9b
push 0x14
call fcn.0044ceb0
add esp, 0x14
jmp 0x437245
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 0x43705e
cmp eax, 0x303
jl 0x43705e
add dword [esp + 0x10], 2
jmp 0x43705e
push 0x7cf
push str.._ssl_s3_srvr.c
push 0xfb
jmp 0x437225
push 0x71f
push str.._ssl_s3_srvr.c
push 0x166
push 0x9b
push 0x14
call fcn.0044ceb0
add esp, 0x14
jmp 0x437256
push 0x72b
push str.._ssl_s3_srvr.c
push 0xfa
mov esi, 0x28
push 0x9b
push 0x14
call fcn.0044ceb0
add esp, 0x14
push esi
push 2
push edi
call fcn.0042dcf0
add esp, 0xc
mov eax, dword [esp + 0x24]
test eax, eax
je 0x437256
push eax
call fcn.00450240
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
call fcn.00460db0
lea eax, [esp + 0x50]
push eax
call fcn.00454de0
add esp, 8
or eax, 0xffffffff
jmp 0x4370a3