Function at 0x4062e0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b6cc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x108
mov eax, dword [0x4803a4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x8c], 0
call fcn.004038a0
mov ecx, eax
mov dword [ebp - 4], 0
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x406362
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x40635a
mov eax, dword [ecx]
mov word [eax + edx], 0x5c
jmp 0x40637f
push 1
push 0x47b2d4
mov byte [ebp - 0x8c], 0
push dword [ebp - 0x8c]
push 1
call fcn.00409e80
mov ecx, eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0xa8], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x98], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x94]
mov eax, edx
mov ecx, dword [ebp - 0x98]
sub eax, ecx
push 0xa
push str.tw_w32.dll
cmp eax, 0xa
jb 0x406415
cmp edx, 0x10
lea esi, [ebp - 0xa8]
lea eax, [ecx + 0xa]
cmovae esi, dword [ebp - 0xa8]
add esi, ecx
mov dword [ebp - 0x98], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xa], 0
lea eax, [ebp - 0xa8]
jmp 0x40642f
mov byte [ebp - 0x8c], 0
lea ecx, [ebp - 0xa8]
push dword [ebp - 0x8c]
push 0xa
call fcn.00409e80
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x78], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x94]
cmp edx, 0x10
jb 0x40648e
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406484
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4064d3
push edx
push ecx
call fcn.00469eed
add esp, 8
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x4064e3
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4064d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4064d9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00469eed
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x88]
mov dword [ebp - 0x5c], 0xf
mov ecx, esp
mov byte [ebp - 0x70], 0
push eax
call fcn.00408960
lea ecx, [ebp - 0x44]
call fcn.00403e50
add esp, 0x18
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x60]
push 0
mov byte [ebp - 0x68], 0
call fcn.00409080
mov byte [ebp - 4], 7
mov ecx, 5
movups xmm0, xmmword [str.XVU_aPUGKQ_]
mov eax, dword [0x47c3b8]
mov edi, dword [0x480bdc]
mov dword [ebp - 0xd0], eax
lea esi, [ecx + 0x1a]
mov ax, word [0x47c3bc]
mov word [ebp - 0xcc], ax
movups xmmword [ebp - 0xe8], xmm0
movq xmm0, qword [0x47c3b0]
movq qword [ebp - 0xd8], xmm0
test ah, ah
je 0x40671d
xor edx, edx
mov dword [ebp - 0x8c], edx
cmp edi, 2
jl 0x4066e0
movaps xmm0, xmmword [str.6666666666666666]
movaps xmm4, xmmword [0x47c3d0]
movaps xmm3, xmmword [0x47c470]
movaps xmm6, xmmword [0x47c3f0]
movaps xmmword [ebp - 0xc0], xmm0
movd xmm5, ecx
mov ecx, dword [ebp - 0xc0]
movd xmm7, esi
nop word [eax + eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47c450]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0xe8]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0xe8], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47c450]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0xe4]
pxor xmm1, xmm0
movd dword [ebp + edx - 0xe4], xmm1
add edx, 8
cmp edx, 0x18
jl 0x4065c0
mov dword [ebp - 0x8c], edx
cmp edx, 0x1e
jge 0x40671d
nop word [eax + eax]
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [ebp - 0x8c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x8c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0xe8], cl
inc edx
mov dword [ebp - 0x8c], edx
cmp edx, 0x1e
jl 0x4066e0
push 0
mov dword [ebp - 0xa8], 0
lea ecx, [ebp - 0xa8]
push 0x47b168
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
call fcn.00401be0
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x110]
call fcn.00409850
sub esp, 0x14
mov byte [ebp - 4], 9
mov esi, esp
mov dword [ebp - 0x90], esp
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x8c], esi
push ecx
mov ecx, eax
call fcn.00408870
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xa
xor edx, edx
mov al, byte [0x47c230]
mov byte [ebp - 0xc8], al
mov dword [ebp - 0x8c], edx
movups xmm0, xmmword [str.CLII]
movups xmmword [ebp - 0xf8], xmm0
movups xmm0, xmmword [0x47c210]
movups xmmword [ebp - 0xe8], xmm0
movups xmm0, xmmword [0x47c220]
movups xmmword [ebp - 0xd8], xmm0
cmp edi, 2
jl 0x406970
movaps xmm0, xmmword [str.6666666666666666]
mov eax, 5
movaps xmm4, xmmword [0x47c3d0]
movaps xmm3, xmmword [0x47c470]
movaps xmm6, xmmword [0x47c3f0]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0xc0], xmm0
mov ecx, dword [ebp - 0xc0]
movd xmm7, eax
nop word [eax + eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47c450]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0xf8]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0xf8], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47c450]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0xf4]
pxor xmm1, xmm0
movd dword [ebp + edx - 0xf4], xmm1
add edx, 8
cmp edx, 0x30
jl 0x406850
mov dword [ebp - 0x8c], edx
cmp edx, 0x31
jge 0x4069ad
nop word [eax + eax]
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [ebp - 0x8c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x8c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0xf8], cl
inc edx
mov dword [ebp - 0x8c], edx
cmp edx, 0x31
jl 0x406970
sub esp, 0x18
lea ecx, [ebp - 0xf8]
mov edx, esp
lea esi, [ecx + 1]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4069d0
sub ecx, esi
lea eax, [ebp - 0xf8]
push ecx
push eax
mov ecx, edx
call fcn.00401be0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.004039f0
add esp, 0x30
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xfc]
cmp edx, 0x10
jb 0x406a31
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406a27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406a7c
push edx
push ecx
call fcn.00469eed
add esp, 8
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x94]
cmp edx, 0x10
jb 0x406a8c
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406a82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406a82
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00469eed
add esp, 8
push 0
push 1
sub esp, 0x28
mov dword [ebp - 0x98], 0
mov eax, esp
mov dword [ebp - 0x94], 0xf
lea edx, [ebp - 0x2c]
mov byte [ebp - 0xa8], 0
lea ecx, [ebp - 0x58]
mov dword [eax + 0x24], 0
call fcn.00409900
add esp, 0x30
push str.success
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xe
call fcn.00409a20
xor edx, edx
cmp byte [eax], 4
lea ecx, [eax + 8]
cmovne ecx, edx
cmp byte [ecx], dl
jne 0x407054
push str.errno
lea ecx, [ebp - 0x58]
call fcn.00409a20
mov edx, 0x2329
mov ecx, eax
call fcn.00409b10
test al, al
je 0x406cc2
lea eax, [ebp - 0xa0]
push eax
call fcn.00406230
mov edi, eax
cmp byte [edi + 0xf], 0
je 0x407127
xor ecx, ecx
cmp dword [0x480bdc], 2
mov dword [ebp - 0x8c], ecx
jl 0x406c90
movaps xmm0, xmmword [str.6666666666666666]
mov eax, 5
movaps xmm4, xmmword [0x47c3d0]
mov esi, 4
movaps xmm3, xmmword [0x47c470]
xor edx, edx
movaps xmm6, xmmword [0x47c3f0]
mov ecx, edi
movd xmm5, eax
sub esi, edi
mov eax, 0x1f
movaps xmmword [ebp - 0xc0], xmm0
movd xmm7, eax
mov eax, dword [ebp - 0xc0]
nop dword [eax]
movd xmm0, edx
add edx, 8
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47c450]
packuswb xmm1, xmm1
movd xmm0, eax
lea eax, [esi + ecx]
lea ecx, [ecx + 8]
paddb xmm1, xmm0
movd xmm0, dword [ecx - 8]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ecx - 8], xmm1
paddd xmm2, xmm4
mov eax, dword [ebp - 0xc0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47c450]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ecx - 4]
pxor xmm1, xmm0
movd dword [ecx - 4], xmm1
cmp edx, 0x10
jl 0x406b80
jmp 0x407127
mov eax, 0xa0a0a0a1
lea esi, [ecx + edi]
mul ecx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x36
xor byte [esi], cl
mov ecx, dword [ebp - 0x8c]
inc ecx
mov dword [ebp - 0x8c], ecx
cmp ecx, 0x10
jge 0x407127
jmp 0x406c90
push str.errno
lea ecx, [ebp - 0x58]
call fcn.00409a20
mov edx, 0x2328
mov ecx, eax
call fcn.00409b10
test al, al
je 0x407054
push str.message
lea ecx, [ebp - 0x58]
call fcn.00409a20
push str.link
mov ecx, eax
call fcn.00409a20
sub esp, 0x18
mov esi, eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x90], esp
mov ecx, esp
push eax
call fcn.00408960
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 4], 0x10
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
cmp byte [esi], 3
mov dword [ebp - 0x8c], 0x17
jne 0x406d4f
mov eax, dword [esi + 8]
jmp 0x406d51
xor eax, eax
cmp ecx, eax
je 0x406d67
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x406d60
mov eax, dword [eax]
push edx
push eax
call fcn.00401be0
mov dword [ebp - 4], 0xf
mov byte [ebp - 4], 0xe
call fcn.004045a0
add esp, 0x30
cmp eax, 1
je 0x406f5e
mov edx, eax
lea ecx, [ebp - 0x110]
call fcn.004027c0
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0x11
push eax
call fcn.00406250
mov edi, eax
cmp byte [edi + 0x19], 0
je 0x407137
xor ecx, ecx
cmp dword [0x480bdc], 2
mov dword [ebp - 0x8c], ecx
jl 0x406f23
movaps xmm0, xmmword [str.6666666666666666]
mov eax, 5
movaps xmm4, xmmword [0x47c3d0]
mov esi, 4
movaps xmm3, xmmword [0x47c470]
mov edx, edi
movaps xmm6, xmmword [0x47c3f0]
sub esi, edi
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0xc0], xmm0
movd xmm7, eax
mov eax, dword [ebp - 0xc0]
nop dword [eax + eax]
movd xmm0, ecx
add ecx, 8
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47c450]
packuswb xmm1, xmm1
movd xmm0, eax
lea eax, [esi + edx]
lea edx, [edx + 8]
paddb xmm1, xmm0
movd xmm0, dword [edx - 8]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [edx - 8], xmm1
paddd xmm2, xmm4
mov eax, dword [ebp - 0xc0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47c450]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [edx - 4]
pxor xmm1, xmm0
movd dword [edx - 4], xmm1
cmp ecx, 0x18
jl 0x406e10
mov dword [ebp - 0x8c], ecx
cmp ecx, 0x1a
jge 0x407137
mov eax, 0xa0a0a0a1
lea esi, [edi + ecx]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x33
sub cl, al
add cl, 0x36
xor byte [esi], cl
mov ecx, dword [ebp - 0x8c]
inc ecx
mov dword [ebp - 0x8c], ecx
cmp ecx, 0x1a
jge 0x407137
jmp 0x406f23
lea ecx, [ebp - 0x58]
call fcn.00408850
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x406f9a
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406f90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407121
push edx
push ecx
call fcn.00469eed
add esp, 8
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00408850
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x406fe8
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406fde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407121
push edx
push ecx
call fcn.00469eed
add esp, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x407031
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407027
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407121
push edx
push ecx
call fcn.00469eed
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00469cb2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea ecx, [ebp - 0x58]
call fcn.00408850
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x407090
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407086
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407121
push edx
push ecx
call fcn.00469eed
add esp, 8
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00408850
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4070da
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4070d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407121
push edx
push ecx
call fcn.00469eed
add esp, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x407031
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407027
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407027
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00401ba0
call fcn.004034f0
sub esp, 0x18
mov edx, edi
mov ecx, esp
push dword [ebp - 0x90]
call fcn.00409750
add esp, 4
call fcn.004034f0
int3