Function at 0x10036920
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8dce
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x100dcbc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
mov eax, 0xaaaaaaab
mov dword [ebp - 0x2c], 0
mov esi, 0x2e
xorps xmm0, xmm0
lea ecx, [edi + 2]
mul ecx
mov al, byte [ebp + 0x14]
mov ecx, 0x3d
shr edx, 1
shl edx, 2
test al, al
movzx eax, al
cmovne ecx, esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov eax, dword [eax*4 + 0x100dcb7c]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov dword [ebp - 0x14], eax
mov byte [esi], 0
push edx
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
call fcn.100039d0
xor eax, eax
mov dword [ebp - 0x18], eax
test edi, edi
je 0x100373cf
nop dword [eax]
mov ecx, dword [ebp + 0xc]
mov edi, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x28], edi
movzx eax, byte [eax + ecx]
mov ecx, dword [ebp - 0x14]
shr eax, 2
mov dword [ebp - 0x20], edx
mov cl, byte [eax + ecx]
mov byte [ebp + 0x17], cl
cmp edi, edx
jae 0x10036a0f
lea eax, [edi + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x10036a02
mov eax, dword [esi]
mov byte [eax + edi], cl
mov byte [eax + edi + 1], 0
jmp 0x10036aea
mov eax, accept
sub eax, edi
cmp eax, 1
jb 0x100373e2
lea ecx, [edi + 1]
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x10036a34
mov ecx, accept
jmp 0x10036a58
mov eax, edx
shr eax, 1
mov dword [ebp - 0x1c], eax
mov eax, accept
sub eax, dword [ebp - 0x1c]
cmp edx, eax
jbe 0x10036a4e
mov ecx, accept
jmp 0x10036a58
mov eax, dword [ebp - 0x1c]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
push eax
push esi
call fcn.10001090
mov ecx, eax
add esp, 8
cmp dword [ebp - 0x20], 0xf
lea eax, [edi + 1]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x14], eax
lea eax, [ecx + edi]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], eax
jbe 0x10036ace
push dword [ebp - 0x28]
mov edi, dword [esi]
push edi
push ecx
call fcn.1008dc20
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov cl, byte [ebp + 0x17]
mov byte [eax], cl
mov ecx, dword [ebp - 0x20]
inc ecx
mov byte [eax + 1], 0
cmp ecx, 0x1000
jb 0x10036ac2
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x100373e7
mov edi, edx
push ecx
push edi
call fcn.1008c3c5
add esp, 8
jmp 0x10036ae5
push edi
push esi
push ecx
call fcn.1008dc20
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov cl, byte [ebp + 0x17]
mov byte [eax], cl
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x24]
mov dword [esi], eax
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp + 0xc]
lea eax, [edx + 1]
movzx ecx, byte [edx + edi]
and ecx, 3
shl ecx, 4
cmp eax, dword [ebp + 0x10]
jae 0x10037094
movzx eax, byte [edx + edi + 1]
mov edi, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
shr eax, 4
add eax, ecx
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
mov cl, byte [eax + ecx]
mov byte [ebp + 0x17], cl
cmp edi, edx
jae 0x10036b45
lea eax, [edi + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x10036b38
mov eax, dword [esi]
mov byte [eax + edi], cl
mov byte [eax + edi + 1], 0
jmp 0x10036c20
mov eax, accept
sub eax, edi
cmp eax, 1
jb 0x100373e2
lea ecx, [edi + 1]
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x10036b6a
mov ecx, accept
jmp 0x10036b8e
mov eax, edx
shr eax, 1
mov dword [ebp - 0x24], eax
mov eax, accept
sub eax, dword [ebp - 0x24]
cmp edx, eax
jbe 0x10036b84
mov ecx, accept
jmp 0x10036b8e
mov eax, dword [ebp - 0x24]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], ecx
push eax
push esi
call fcn.10001090
mov ecx, eax
add esp, 8
cmp dword [ebp - 0x20], 0xf
lea eax, [edi + 1]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x14], eax
lea eax, [ecx + edi]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], eax
jbe 0x10036c04
push dword [ebp - 0x28]
mov edi, dword [esi]
push edi
push ecx
call fcn.1008dc20
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov cl, byte [ebp + 0x17]
mov byte [eax], cl
mov ecx, dword [ebp - 0x20]
inc ecx
mov byte [eax + 1], 0
cmp ecx, 0x1000
jb 0x10036bf8
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x100373e7
mov edi, edx
push ecx
push edi
call fcn.1008c3c5
add esp, 8
jmp 0x10036c1b
push edi
push esi
push ecx
call fcn.1008dc20
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov cl, byte [ebp + 0x17]
mov byte [eax], cl
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp + 0xc]
lea eax, [edx + 2]
movzx ecx, byte [edi + edx + 1]
and ecx, 0xf
shl ecx, 2
cmp eax, dword [ebp + 0x10]
jae 0x10036e7f
movzx eax, byte [edx + edi + 2]
mov edx, dword [esi + 0x14]
shr eax, 6
add eax, ecx
mov ecx, dword [ebp - 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp + 0x17], al
cmp ecx, edx
jae 0x10036c79
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x10036c69
mov eax, dword [esi]
add eax, ecx
mov cl, byte [ebp + 0x17]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x10036d5b
mov edi, dword [esi + 0x10]
mov eax, accept
sub eax, edi
mov dword [ebp - 0x1c], edi
cmp eax, 1
jb 0x100373e2
mov eax, dword [esi + 0x14]
lea ecx, [edi + 1]
or ecx, 0xf
mov dword [ebp - 0x20], eax
cmp ecx, 0x7fffffff
jbe 0x10036caa
mov ecx, accept
jmp 0x10036cce
mov eax, edx
shr eax, 1
mov dword [ebp - 0x24], eax
mov eax, accept
sub eax, dword [ebp - 0x24]
cmp edx, eax
jbe 0x10036cc4
mov ecx, accept
jmp 0x10036cce
mov eax, dword [ebp - 0x24]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], ecx
push eax
push esi
call fcn.10001090
mov ecx, eax
add esp, 8
lea eax, [edi + 1]
mov dword [ebp - 0x28], ecx
add edi, ecx
mov dword [esi + 0x10], eax
cmp dword [ebp - 0x20], 0xf
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [esi + 0x14], eax
mov dword [ebp - 0x24], edi
jbe 0x10036d43
mov edi, dword [esi]
push edi
push ecx
call fcn.1008dc20
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov cl, byte [ebp + 0x17]
mov byte [eax], cl
mov ecx, dword [ebp - 0x20]
inc ecx
mov byte [eax + 1], 0
cmp ecx, 0x1000
jb 0x10036d37
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x100373e7
mov edi, edx
push ecx
push edi
call fcn.1008c3c5
add esp, 8
jmp 0x10036d56
push esi
push ecx
call fcn.1008dc20
mov cl, byte [ebp + 0x17]
add esp, 0xc
mov byte [edi], cl
mov byte [edi + 1], 0
mov eax, dword [ebp - 0x28]
mov dword [esi], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [edx + eax + 2]
mov edx, dword [esi + 0x14]
and eax, 0x3f
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp + 0x17], al
cmp ecx, edx
jae 0x10036d9b
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x10036d8b
mov eax, dword [esi]
add eax, ecx
mov cl, byte [ebp + 0x17]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x100373bd
mov edi, dword [esi + 0x10]
mov eax, accept
sub eax, edi
mov dword [ebp - 0x20], edi
cmp eax, 1
jb 0x100373e2
mov eax, dword [esi + 0x14]
lea ecx, [edi + 1]
or ecx, 0xf
mov dword [ebp - 0x24], eax
cmp ecx, 0x7fffffff
jbe 0x10036dcc
mov ecx, accept
jmp 0x10036df0
mov eax, edx
shr eax, 1
mov dword [ebp - 0x28], eax
mov eax, accept
sub eax, dword [ebp - 0x28]
cmp edx, eax
jbe 0x10036de6
mov ecx, accept
jmp 0x10036df0
mov eax, dword [ebp - 0x28]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], ecx
push eax
push esi
call fcn.10001090
mov ecx, eax
add esp, 8
lea eax, [edi + 1]
mov dword [ebp - 0x1c], ecx
add edi, ecx
mov dword [esi + 0x10], eax
cmp dword [ebp - 0x24], 0xf
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x20]
mov dword [esi + 0x14], eax
mov dword [ebp - 0x28], edi
jbe 0x10036e6b
mov edi, dword [esi]
push edi
push ecx
call fcn.1008dc20
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov cl, byte [ebp + 0x17]
mov byte [eax], cl
mov ecx, dword [ebp - 0x24]
inc ecx
mov byte [eax + 1], 0
cmp ecx, 0x1000
jb 0x10036e59
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x100373e7
mov edi, edx
push ecx
push edi
call fcn.1008c3c5
mov eax, dword [ebp - 0x1c]
add esp, 8
jmp 0x100373bb
push esi
push ecx
call fcn.1008dc20
mov cl, byte [ebp + 0x17]
mov eax, dword [ebp - 0x1c]
mov byte [edi], cl
jmp 0x100373b4
mov eax, dword [ebp - 0x14]
mov edx, dword [esi + 0x14]
mov al, byte [ecx + eax]
mov ecx, dword [esi + 0x10]
mov byte [ebp + 0x17], al
cmp ecx, edx
jae 0x10036eb1
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x10036ea1
mov eax, dword [esi]
add eax, ecx
mov cl, byte [ebp + 0x17]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x10036f93
mov edi, dword [esi + 0x10]
mov eax, accept
sub eax, edi
mov dword [ebp - 0x20], edi
cmp eax, 1
jb 0x100373e2
mov eax, dword [esi + 0x14]
lea ecx, [edi + 1]
or ecx, 0xf
mov dword [ebp - 0x24], eax
cmp ecx, 0x7fffffff
jbe 0x10036ee2
mov ecx, accept
jmp 0x10036f06
mov eax, edx
shr eax, 1
mov dword [ebp - 0x28], eax
mov eax, accept
sub eax, dword [ebp - 0x28]
cmp edx, eax
jbe 0x10036efc
mov ecx, accept
jmp 0x10036f06
mov eax, dword [ebp - 0x28]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], ecx
push eax
push esi
call fcn.10001090
mov ecx, eax
add esp, 8
lea eax, [edi + 1]
mov dword [ebp - 0x1c], ecx
add edi, ecx
mov dword [esi + 0x10], eax
cmp dword [ebp - 0x24], 0xf
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x20]
mov dword [esi + 0x14], eax
mov dword [ebp - 0x28], edi
jbe 0x10036f7b
mov edi, dword [esi]
push edi
push ecx
call fcn.1008dc20
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov cl, byte [ebp + 0x17]
mov byte [eax], cl
mov ecx, dword [ebp - 0x24]
inc ecx
mov byte [eax + 1], 0
cmp ecx, 0x1000
jb 0x10036f6f
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x100373e7
mov edi, edx
push ecx
push edi
call fcn.1008c3c5
add esp, 8
jmp 0x10036f8e
push esi
push ecx
call fcn.1008dc20
mov cl, byte [ebp + 0x17]
add esp, 0xc
mov byte [edi], cl
mov byte [edi + 1], 0
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x10036fc0
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x100372cc
mov eax, dword [esi]
add eax, ecx
mov ecx, dword [ebp - 0x10]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x100373bd
mov edi, dword [esi + 0x10]
mov eax, accept
sub eax, edi
mov dword [ebp - 0x24], edi
cmp eax, 1
jb 0x100373e2
mov eax, dword [esi + 0x14]
lea ecx, [edi + 1]
or ecx, 0xf
mov dword [ebp - 0x28], eax
cmp ecx, 0x7fffffff
jbe 0x10036ff1
mov ecx, accept
jmp 0x10037015
mov eax, edx
shr eax, 1
mov dword [ebp + 0x14], eax
mov eax, accept
sub eax, dword [ebp + 0x14]
cmp edx, eax
jbe 0x1003700b
mov ecx, accept
jmp 0x10037015
mov eax, dword [ebp + 0x14]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ecx
push eax
push esi
call fcn.10001090
mov ecx, eax
add esp, 8
lea eax, [edi + 1]
mov dword [ebp - 0x20], ecx
add edi, ecx
mov dword [esi + 0x10], eax
cmp dword [ebp - 0x28], 0xf
mov eax, dword [ebp + 0x14]
push dword [ebp - 0x24]
mov dword [esi + 0x14], eax
mov dword [ebp + 0x14], edi
jbe 0x100373a5
mov edi, dword [esi]
push edi
push ecx
call fcn.1008dc20
mov eax, dword [ebp + 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov byte [eax], cl
mov ecx, dword [ebp - 0x28]
inc ecx
mov byte [eax + 1], 0
cmp ecx, 0x1000
jb 0x10037082
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x100373e7
mov edi, edx
push ecx
push edi
call fcn.1008c3c5
mov eax, dword [ebp - 0x20]
add esp, 8
jmp 0x100373bb
mov eax, dword [ebp - 0x14]
mov edx, dword [esi + 0x14]
mov al, byte [ecx + eax]
mov ecx, dword [esi + 0x10]
mov byte [ebp + 0x17], al
cmp ecx, edx
jae 0x100370c6
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x100370b6
mov eax, dword [esi]
add eax, ecx
mov cl, byte [ebp + 0x17]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x100371a8
mov edi, dword [esi + 0x10]
mov eax, accept
sub eax, edi
mov dword [ebp - 0x20], edi
cmp eax, 1
jb 0x100373e2
mov eax, dword [esi + 0x14]
lea ecx, [edi + 1]
or ecx, 0xf
mov dword [ebp - 0x24], eax
cmp ecx, 0x7fffffff
jbe 0x100370f7
mov ecx, accept
jmp 0x1003711b
mov eax, edx
shr eax, 1
mov dword [ebp - 0x28], eax
mov eax, accept
sub eax, dword [ebp - 0x28]
cmp edx, eax
jbe 0x10037111
mov ecx, accept
jmp 0x1003711b
mov eax, dword [ebp - 0x28]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], ecx
push eax
push esi
call fcn.10001090
mov ecx, eax
add esp, 8
lea eax, [edi + 1]
mov dword [ebp - 0x1c], ecx
add edi, ecx
mov dword [esi + 0x10], eax
cmp dword [ebp - 0x24], 0xf
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x20]
mov dword [esi + 0x14], eax
mov dword [ebp - 0x28], edi
jbe 0x10037190
mov edi, dword [esi]
push edi
push ecx
call fcn.1008dc20
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov cl, byte [ebp + 0x17]
mov byte [eax], cl
mov ecx, dword [ebp - 0x24]
inc ecx
mov byte [eax + 1], 0
cmp ecx, 0x1000
jb 0x10037184
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x100373e7
mov edi, edx
push ecx
push edi
call fcn.1008c3c5
add esp, 8
jmp 0x100371a3
push esi
push ecx
call fcn.1008dc20
mov cl, byte [ebp + 0x17]
add esp, 0xc
mov byte [edi], cl
mov byte [edi + 1], 0
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x100371d1
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x100371c1
mov eax, dword [esi]
add eax, ecx
mov ecx, dword [ebp - 0x10]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x100372b3
mov edi, dword [esi + 0x10]
mov eax, accept
sub eax, edi
mov dword [ebp - 0x24], edi
cmp eax, 1
jb 0x100373e2
mov eax, dword [esi + 0x14]
lea ecx, [edi + 1]
or ecx, 0xf
mov dword [ebp - 0x28], eax
cmp ecx, 0x7fffffff
jbe 0x10037202
mov ecx, accept
jmp 0x10037226
mov eax, edx
shr eax, 1
mov dword [ebp + 0x14], eax
mov eax, accept
sub eax, dword [ebp + 0x14]
cmp edx, eax
jbe 0x1003721c
mov ecx, accept
jmp 0x10037226
mov eax, dword [ebp + 0x14]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ecx
push eax
push esi
call fcn.10001090
mov ecx, eax
add esp, 8
lea eax, [edi + 1]
mov dword [ebp - 0x20], ecx
add edi, ecx
mov dword [esi + 0x10], eax
cmp dword [ebp - 0x28], 0xf
mov eax, dword [ebp + 0x14]
push dword [ebp - 0x24]
mov dword [esi + 0x14], eax
mov dword [ebp + 0x14], edi
jbe 0x1003729b
mov edi, dword [esi]
push edi
push ecx
call fcn.1008dc20
mov eax, dword [ebp + 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov byte [eax], cl
mov ecx, dword [ebp - 0x28]
inc ecx
mov byte [eax + 1], 0
cmp ecx, 0x1000
jb 0x1003728f
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x100373e7
mov edi, edx
push ecx
push edi
call fcn.1008c3c5
add esp, 8
jmp 0x100372ae
push esi
push ecx
call fcn.1008dc20
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov byte [edi], al
mov byte [edi + 1], 0
mov eax, dword [ebp - 0x20]
mov dword [esi], eax
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x100372dc
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x100372cc
mov eax, dword [esi]
add eax, ecx
mov ecx, dword [ebp - 0x10]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x100373bd
mov edi, dword [esi + 0x10]
mov eax, accept
sub eax, edi
mov dword [ebp - 0x24], edi
cmp eax, 1
jb 0x100373e2
mov eax, dword [esi + 0x14]
lea ecx, [edi + 1]
or ecx, 0xf
mov dword [ebp - 0x28], eax
cmp ecx, 0x7fffffff
jbe 0x1003730d
mov ecx, accept
jmp 0x10037331
mov eax, edx
shr eax, 1
mov dword [ebp + 0x14], eax
mov eax, accept
sub eax, dword [ebp + 0x14]
cmp edx, eax
jbe 0x10037327
mov ecx, accept
jmp 0x10037331
mov eax, dword [ebp + 0x14]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ecx
push eax
push esi
call fcn.10001090
mov ecx, eax
add esp, 8
lea eax, [edi + 1]
mov dword [ebp - 0x20], ecx
add edi, ecx
mov dword [esi + 0x10], eax
cmp dword [ebp - 0x28], 0xf
mov eax, dword [ebp + 0x14]
push dword [ebp - 0x24]
mov dword [esi + 0x14], eax
mov dword [ebp + 0x14], edi
jbe 0x100373a5
mov edi, dword [esi]
push edi
push ecx
call fcn.1008dc20
mov eax, dword [ebp + 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov byte [eax], cl
mov ecx, dword [ebp - 0x28]
inc ecx
mov byte [eax + 1], 0
cmp ecx, 0x1000
jb 0x10037396
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x100373e7
mov edi, edx
push ecx
push edi
call fcn.1008c3c5
mov eax, dword [ebp - 0x20]
add esp, 8
jmp 0x100373bb
push esi
push ecx
call fcn.1008dc20
mov eax, dword [ebp - 0x10]
mov byte [edi], al
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov byte [edi + 1], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
add eax, 3
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp + 0x10]
jb 0x100369d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.10002500
call fcn.1009189f
int3