Function at 0x4722b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x354
call fcn.004ff310
mov eax, dword [0x62acc0]
xor eax, esp
mov dword [esp + 0x350], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], 0x28
mov dword [esp + 0x14], 8
mov byte [esp + 0xf], 1
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x7c], esi
push edi
mov edi, 0x40
cmp ebx, 0x100000
jb 0x472337
push str.data_plus_mac_plus_padding_size___1024__1024
push 0x1c7
push str.._ssl_s3_cbc.c
call fcn.0052a940
add esp, 0xc
push dword [esp + 0x54]
call fcn.00537340
push eax
call fcn.0052a290
add esp, 8
cmp eax, 0x2a0
jg 0x47240c
je 0x4723da
cmp eax, 4
je 0x47239a
cmp eax, 0x40
jne 0x472421
lea eax, [esp + 0xb0]
push eax
call fcn.00545ef0
add esp, 4
test eax, eax
jle 0x472b4c
mov dword [esp + 0x30], 0x472f10
mov eax, 0x14
mov dword [esp + 0x18], 0x545f30
jmp 0x4724e2
lea eax, [esp + 0xb0]
push eax
call fcn.00549a60
add esp, 4
test eax, eax
jle 0x472b4c
mov edx, 0x30
mov dword [esp + 0x30], 0x472e90
mov dword [esp + 0x18], 0x549aa0
mov eax, 0x10
mov dword [esp + 0x58], edx
mov byte [esp + 0x17], 0
jmp 0x4724e7
lea eax, [esp + 0xb0]
push eax
call fcn.005478a0
add esp, 4
test eax, eax
jle 0x472b4c
mov dword [esp + 0x30], 0x472fb0
mov eax, 0x20
mov dword [esp + 0x18], 0x547900
jmp 0x4724e2
sub eax, 0x2a1
je 0x4724a8
sub eax, 1
je 0x47248c
sub eax, 1
je 0x47245d
push 0x5aa07c
push 0x209
push str.._ssl_s3_cbc.c
call fcn.0052a940
add esp, 0xc
test esi, esi
je 0x472b4c
mov dword [esi], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x350]
xor ecx, esp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xb0]
push eax
call fcn.00547560
add esp, 4
test eax, eax
jle 0x472b4c
mov dword [esp + 0x30], 0x472fb0
mov eax, 0x1c
mov dword [esp + 0x18], 0x547900
jmp 0x4724e2
lea eax, [esp + 0xb0]
push eax
call fcn.00549120
add esp, 4
test eax, eax
jle 0x472b4c
mov eax, edi
jmp 0x4724c5
lea eax, [esp + 0xb0]
push eax
call fcn.00548af0
add esp, 4
test eax, eax
jle 0x472b4c
mov eax, 0x30
mov dword [esp + 0x1c], 0x10
mov edi, 0x80
mov dword [esp + 0x18], 0x5491d0
mov dword [esp + 0x30], 0x4730a0
mov edx, 0x28
cmp byte [ebp + 0x2c], 0
mov ecx, 0xd
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], ecx
je 0x472506
mov ecx, dword [ebp + 0x28]
add ecx, 0xb
add ecx, edx
mov dword [esp + 0x48], ecx
xor edx, edx
mov esi, ecx
cmp byte [ebp + 0x2c], dl
sete dl
sub esi, eax
mov eax, dword [esp + 0x1c]
xor ecx, ecx
dec eax
add eax, esi
add esi, dword [ebp + 0x1c]
add eax, edi
lea edx, [edx*4 + 2]
add eax, ebx
mov dword [esp + 0x3c], edx
xor edx, edx
xor ebx, ebx
div edi
xor edx, edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, esi
div edi
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], edx
add eax, esi
xor edx, edx
div edi
cmp byte [ebp + 0x2c], cl
mov edx, dword [esp + 0x3c]
setne cl
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x34]
add ecx, edx
cmp eax, ecx
jbe 0x472580
sub eax, edx
mov ebx, eax
mov dword [esp + 0x44], eax
imul ebx, edi
mov dword [esp + 0x28], ebx
cmp byte [ebp + 0x2c], 0
lea eax, [esi*8]
mov dword [esp + 0x2c], eax
jne 0x472668
lea eax, [eax + edi*8]
push edi
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1dc]
push 0
push eax
call fcn.00500bb0
mov esi, dword [ebp + 0x28]
add esp, 0xc
cmp esi, 0x80
jbe 0x4725d1
push str.mac_secret_length___sizeof_hmac_pad_
push 0x271
push str.._ssl_s3_cbc.c
call fcn.0052a940
add esp, 0xc
push esi
push dword [esp + 0x60]
lea eax, [esp + 0x1e0]
push eax
call fcn.00500630
add esp, 0xc
xor ecx, ecx
test edi, edi
je 0x47264d
cmp edi, 0x20
jb 0x472632
movaps xmm1, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj]
push esp
and al, 8
add byte [ebx + 0x173e8c2], cl
add byte [eax], al
and al, 8
add byte [eax], al
add byte [eax], al
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x350]
xor ecx, esp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret