Function at 0x10048f70
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [0x10305014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0xb4]
mov esi, dword [eax + 4]
cmp esi, 0x1b
setne byte [ebp - 0x46]
mov dword [ebp - 0x54], esi
cmp esi, 0xad
setne byte [ebp - 0x45]
mov dword [ebp - 0x34], ecx
test byte [ecx + 0x48], 0x10
jne 0x10049361
mov edi, dword [ebp + 0xc]
mov ebx, 0x80000000
cmp dword [eax], 0
jne 0x10049069
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
mov esi, eax
xor esi, ebx
or esi, ecx
je 0x10049069
mov esi, edi
mov edi, dword [edi + 8]
mov dword [ebp - 0x1c], ecx
xor edi, ecx
mov esi, dword [esi + 0xc]
xor esi, eax
or esi, edi
jne 0x1004903b
mov esi, dword [edx + 0x280]
mov ebx, dword [edx + 0x284]
mov edi, ebx
mov ecx, 0x80000000
xor edi, ecx
or edi, esi
je 0x1004903b
cmp dword [ebp - 0x1c], esi
sbb eax, ebx
jl 0x100498fc
mov cl, byte [edx + 0x288]
mov al, byte [edx + 0x289]
inc cl
mov byte [edx + 0x288], cl
movzx edi, cl
movzx esi, al
add esi, edi
cmp esi, 0xfb
jae 0x10049915
mov edi, dword [ebp + 0xc]
movsd xmm0, qword [edi + 0x10]
movsd qword [edx + 0x280], xmm0
movzx eax, byte [edx + 0x288]
movzx ecx, byte [edx + 0x289]
shl ecx, 3
cmp ecx, eax
mov ebx, 0x80000000
ja 0x10049824
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x34]
test byte [eax + 0x48], 8
jne 0x10049462
test esi, esi
jne 0x10049373
lea eax, [edx + 0xcc]
mov dword [ebp - 0x50], eax
mov eax, dword [edx + 0xcc]
mov ecx, dword [eax + 0x88]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
mov eax, edi
mov esi, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x20], eax
xor eax, ebx
mov dword [ebp - 0x40], esi
or eax, esi
mov eax, 0
mov esi, 0x80000000
mov dword [ebp - 0x1c], edx
mov edi, 0x80000000
mov dword [ebp - 0x3c], ecx
je 0x100490f6
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov eax, esi
xor eax, edi
mov dword [ebp - 0x2c], ebx
or eax, ebx
je 0x100490f0
mov eax, dword [edx + 0xb8]
cmp eax, 0x3e
jle 0x1004947f
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x20]
cmp ecx, 1
je 0x10049522
mov edi, dword [ebp + 0xc]
mov ebx, dword [edi + 0x30]
mov esi, dword [edi + 0x34]
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
push dword [eax + 0xc]
push 1
push ebx
call fcn.10061e00
add esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x40], edx
xor eax, eax
mov ecx, ebx
neg ecx
sbb eax, esi
jge 0x1004959b
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x16c]
test edx, edx
jne 0x100493cc
mov edx, dword [eax + 0x188]
test edx, edx
jne 0x100493cc
test ecx, ecx
je 0x10049166
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x2c0], 3
je 0x10049847
mov ebx, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov esi, ecx
mov eax, 0x80000000
xor esi, eax
mov edx, ebx
mov dword [ebp - 0x2c], esi
or edx, esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], ecx
je 0x1004960d
mov edx, dword [edi + 8]
mov esi, dword [edi + 0xc]
mov edi, esi
xor edi, eax
xor eax, eax
inc eax
cmp ebx, edx
sbb ecx, esi
mov esi, dword [ebp - 0x28]
cmovge eax, esi
or edi, edx
cmovne esi, eax
cmp dword [ebp - 0x3c], 0
mov ebx, dword [ebp - 0x1c]
jne 0x10049615
cmp dword [ebp - 0x54], 0x1b
mov edi, dword [ebp + 0xc]
je 0x10049259
cmp dword [ebp - 0x54], 0xad
je 0x10049259
test esi, esi
jne 0x1004992a
mov edx, dword [edi + 8]
mov esi, dword [edi + 0xc]
mov eax, esi
mov ecx, 0x80000000
xor eax, ecx
mov dword [ebp - 0x28], edx
or eax, edx
je 0x10049a3b
mov edx, dword [edi + 0x20]
mov ecx, dword [ebp - 0x34]
push edi
push esi
mov eax, dword [ebp - 0x28]
push eax
push esi
push eax
call fcn.10049db0
add esp, 0x14
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov edx, ecx
mov esi, 0x80000000
xor edx, esi
or edx, eax
mov esi, 0x80000000
je 0x10049a67
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov edx, ecx
xor edx, esi
or edx, eax
je 0x10049259
cmp dword [ebp - 0x20], 0
js 0x10049259
push 0
push 1
push dword [ebp - 0x40]
push dword [ebp - 0x20]
push ecx
push eax
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.1005f5d0
add esp, 0x20
mov dword [ebx + 0x2dc], edx
mov dword [ebx + 0x2d8], eax
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov edx, ecx
mov esi, 0x80000000
xor edx, esi
or edx, eax
mov esi, dword [ebp - 0x3c]
je 0x100492f7
cmp esi, 0x10
jg 0x100492f7
mov dword [ebx + 0x1f8], eax
mov dword [ebx + 0x1fc], ecx
test esi, esi
jg 0x1004963b
mov eax, dword [ebx + 0xb4]
cmp dword [eax + 4], 0x1b
mov edi, dword [ebp + 0xc]
jne 0x100492a8
cmp dword [ebx + 0xe8], 0
jne 0x100493a8
mov eax, dword [edi + 0x10]
mov ecx, ebx
mov ebx, dword [edi + 0x14]
mov ecx, dword [ecx + 0xb4]
mov ecx, dword [ecx + 4]
cmp ecx, 0xad
je 0x100492ca
cmp ecx, 0x1b
jne 0x100497d5
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
mov esi, dword [ecx + 0x88]
mov ecx, ebx
mov edx, 0x80000000
xor ecx, edx
or ecx, eax
je 0x1004968b
test esi, esi
jg 0x10049708
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x54]
cmp eax, 0xad
je 0x10049306
cmp eax, 0x1b
jne 0x10049321
mov edx, dword [edi + 0x20]
mov ecx, dword [ebp - 0x34]
push edi
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.10049db0
add esp, 0x14
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov edx, dword [ebx + 0x2dc]
cmp dword [ebx + 0x2d8], eax
sbb edx, ecx
jge 0x10049343
mov dword [ebx + 0x2d8], eax
mov dword [ebx + 0x2dc], ecx
mov eax, dword [ebx + 0xb4]
cmp dword [eax], 2
je 0x1004935d
push dword [eax + 4]
call fcn.10043040
add esp, 4
test eax, eax
je 0x10049361
or byte [edi + 0x24], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10130483
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [esi + 0x20], 3
je 0x100498c6
lea eax, [edx + 0xcc]
mov dword [ebp - 0x50], eax
mov eax, dword [edx + 0xcc]
mov ecx, dword [eax + 0x88]
test ecx, ecx
jne 0x100498e8
mov dword [ebp - 0x30], 0
xor ecx, ecx
jmp 0x1004909d
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
cmp dword [eax + 0x88], 0
jne 0x10049b57
cmp dword [ebx + 0x130], 6
jle 0x100492f7
jmp 0x100492a8
mov dword [ebp - 0x4c], esi
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ecx + 0x2d0]
mov eax, dword [ecx + 0x2d4]
mov dword [ebp - 0x38], eax
mov esi, 0x80000000
xor eax, esi
or eax, edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x30], eax
jne 0x10049c8c
mov edi, 0x7ffeffff
mov eax, dword [ecx + 0x2d8]
mov esi, dword [ecx + 0x2dc]
mov dword [ebp - 0x2c], 0x7ffeffff
xor esi, edi
not eax
or eax, esi
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
jne 0x1004945a
cmp dword [edx + 0x28], eax
je 0x10049b93
mov esi, dword [edx]
test esi, esi
jne 0x1004943f
cmp dword [ecx + 0x170], edx
jne 0x10049445
mov esi, dword [ecx + 0x188]
mov edx, esi
test esi, esi
jne 0x10049422
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x2d8], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x2dc], ecx
mov ecx, dword [ebp + 8]
jmp 0x10049152
mov eax, dword [edi + 0xc]
xor eax, ebx
or eax, dword [edi + 8]
je 0x10049079
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], 0
jmp 0x10049079
xor edx, edx
inc edx
mov ebx, esi
xor esi, esi
mov ecx, eax
shld esi, edx, cl
shl edx, cl
xor edi, edi
test al, 0x20
cmovne esi, edx
cmovne edx, edi
mov dword [ebp - 0x38], esi
mov ecx, esi
mov esi, 0x80000000
or ecx, esi
mov dword [ebp - 0x4c], edx
cmp edx, dword [ebp - 0x2c]
sbb ecx, ebx
jge 0x10049aa1
mov esi, ebx
mov ecx, eax
dec cl
xor edx, edx
dec edx
mov ebx, edx
shl ebx, cl
test cl, 0x20
mov ecx, edx
cmovne ecx, ebx
cmovne ebx, edi
add ebx, dword [ebp - 0x2c]
adc ecx, esi
mov edi, ebx
cmp dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x20]
sbb ebx, ecx
jge 0x10049aa1
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 0x2dc]
cmp ebx, 0x7ffdffff
jg 0x10049a7e
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x2d8], edi
sbb ebx, ecx
jl 0x10049a7e
mov ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x38]
adc edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov esi, edx
mov dword [eax + 0xc], edx
mov eax, ecx
jmp 0x10049aa7
mov edi, eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
xor esi, ecx
xor edi, eax
mov edx, 0x80000000
xor ecx, edx
or ecx, eax
setne al
or edi, esi
jne 0x100490ff
mov ecx, dword [ebp - 0x30]
and cl, al
je 0x100490ff
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov esi, dword [eax]
push str.mov_mp4_m4a_3gp_3g2_mj2
push esi
call fcn.101460c0
add esp, 8
test eax, eax
je 0x100490ff
push 0x102c652a
push esi
call fcn.101460c0
add esp, 8
test eax, eax
je 0x100490ff
mov eax, dword [ebp + 0xc]
mov ecx, 0x80000000
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], 0
jmp 0x100490ff
lea ecx, [ebp - 0x14]
lea ebx, [ebp - 0x18]
mov edx, ebx
push edi
push dword [ebp + 8]
push dword [ebp - 0x1c]
call fcn.10175ac0
add esp, 0xc
mov edi, dword [ebx]
test edi, edi
je 0x100497ff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100497ff
mov ebx, eax
mov eax, edi
mov esi, dword [ebp - 0x1c]
imul dword [esi + 0xc]
mov ecx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], ebx
mov eax, ebx
imul dword [esi + 0x10]
push 2
push ecx
push dword [ebp - 0x20]
push edx
push eax
push 0
push 1
call fcn.1005f220
add esp, 0x1c
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov esi, edx
mov dword [eax + 0x34], edx
mov dword [eax + 0x30], ebx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x40], edi
jmp 0x10049808
mov esi, dword [ebp - 0x28]
jmp 0x100491a4
mov ah, byte [ebp - 0x46]
and ah, byte [ebp - 0x45]
cmp dword [ebp - 0x3c], 1
sete al
cmp dword [ebp + 8], 0
setne dl
and dl, al
test dl, ah
mov edi, dword [ebp + 0xc]
jne 0x100491cb
jmp 0x10049259
xor edx, edx
mov edi, dword [ebx + edx*8 + 0x200]
mov ebx, dword [ebx + edx*8 + 0x204]
mov dword [ebp - 0x28], edi
cmp edi, eax
mov dword [ebp - 0x20], ebx
sbb ebx, ecx
mov ebx, dword [ebp - 0x1c]
jge 0x1004928c
mov dword [ebx + edx*8 + 0x200], eax
mov dword [ebx + edx*8 + 0x204], ecx
mov edi, dword [ebp - 0x28]
mov dword [ebx + edx*8 + 0x1f8], edi
mov edi, dword [ebp - 0x20]
mov dword [ebx + edx*8 + 0x1fc], edi
inc edx
cmp esi, edx
je 0x1004928c
jmp 0x1004963d
mov dword [ebp - 0x3c], esi
test esi, esi
jle 0x100497eb
xor esi, esi
xor eax, eax
add eax, 0xffffffff
mov dword [ebp - 0x28], eax
mov eax, 0x80000000
adc eax, 0xffffffff
mov dword [ebp - 0x20], eax
mov ebx, 0x80000000
xor edi, edi
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + esi + 0x1e0]
test al, al
je 0x100496fd
movzx eax, al
push 0
push eax
mov eax, dword [ebp - 0x1c]
push dword [eax + esi*8 + 0x15c]
push dword [eax + esi*8 + 0x158]
call fcn.1014f930
cmp eax, dword [ebp - 0x28]
mov ecx, edx
sbb ecx, dword [ebp - 0x20]
jge 0x100496fd
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ecx + esi*8 + 0x1f8]
mov ebx, dword [ecx + esi*8 + 0x1fc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], edx
inc esi
cmp dword [ebp - 0x3c], esi
jne 0x100496b2
jmp 0x100497d7
mov dword [ebp - 0x3c], esi
xor ecx, ecx
mov esi, dword [ebp - 0x1c]
mov edx, dword [esi + ecx*8 + 0x1f8]
mov edi, dword [esi + ecx*8 + 0x1fc]
mov dword [ebp - 0x28], edi
mov esi, 0x80000000
xor edi, esi
or edi, edx
je 0x100497cb
sub edx, eax
mov esi, dword [ebp - 0x28]
sbb esi, ebx
mov edi, esi
sar edi, 0x1f
xor esi, edi
xor edx, edi
sub edx, edi
sbb esi, edi
mov edi, dword [ebp - 0x1c]
mov edi, dword [edi + ecx*8 + 0x158]
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x1c]
mov edi, dword [edi + ecx*8 + 0x15c]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x20]
add edx, edi
adc esi, dword [ebp - 0x28]
cmp edx, edi
cmova edi, edx
cmp esi, dword [ebp - 0x28]
cmovle edx, dword [ebp - 0x20]
cmove edx, edi
cmovle esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x1c]
mov dword [edi + ecx*8 + 0x15c], esi
mov dword [edi + ecx*8 + 0x158], edx
mov dl, byte [edi + ecx + 0x1e0]
inc dl
mov byte [edi + ecx + 0x1e0], dl
cmp dl, 0xfb
jb 0x100497cb
mov edi, dword [ebp - 0x1c]
mov edx, dword [edi + ecx*8 + 0x158]
mov esi, dword [edi + ecx*8 + 0x15c]
shrd edx, esi, 1
sar esi, 1
mov dword [edi + ecx*8 + 0x158], edx
mov dword [edi + ecx*8 + 0x15c], esi
shr byte [edi + ecx + 0x1e0], 1
inc ecx
cmp dword [ebp - 0x3c], ecx
jne 0x1004970d
mov edi, eax
mov eax, 0x80000000
xor eax, ebx
or eax, edi
mov eax, edi
mov edi, dword [ebp + 0xc]
jne 0x100492ee
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x1f8]
mov ebx, dword [ecx + 0x1fc]
jmp 0x100492ee
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 0x30]
mov esi, dword [eax + 0x34]
cmp ebx, 1
mov eax, esi
sbb eax, 0
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
jge 0x10049136
jmp 0x10049152
mov eax, dword [edi + 0x14]
xor eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
xor ecx, dword [edi + 8]
or ecx, eax
jne 0x10049069
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], 0
jmp 0x10049069
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x10049166
mov ecx, eax
sar ecx, 0x1f
push ecx
push eax
push dword [edi + 0x34]
push dword [edi + 0x30]
mov eax, dword [ebp + 8]
push dword [eax + 0xbc]
push dword [eax + 0xb8]
call fcn.1005f540
add esp, 0x18
mov dword [ebp - 0x24], edx
mov ecx, dword [edi + 8]
mov esi, dword [edi + 0xc]
mov edi, esi
mov ebx, 0x80000000
xor edi, ebx
or edi, ecx
je 0x1004989a
add ecx, eax
adc esi, dword [ebp - 0x24]
mov edi, dword [ebp + 0xc]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], esi
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 0x10]
mov esi, dword [edx + 0x14]
mov edi, esi
mov ebx, 0x80000000
xor edi, ebx
or edi, ecx
mov edi, edx
je 0x10049166
add ecx, eax
adc esi, dword [ebp - 0x24]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], esi
jmp 0x10049166
mov eax, dword [edx + 0xcc]
cmp dword [eax + 0x88], 0
jne 0x1004937d
mov dword [eax + 0x88], 1
jmp 0x1004937d
xor eax, eax
cmp dword [esi + 0x20], 3
setne al
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], eax
jmp 0x100490a4
mov cl, byte [edx + 0x288]
mov al, byte [edx + 0x289]
inc al
mov byte [edx + 0x289], al
jmp 0x10049027
shr cl, 1
mov byte [edx + 0x288], cl
shr al, 1
mov byte [edx + 0x289], al
jmp 0x1004903b
mov eax, dword [ebp - 0x2c]
or eax, dword [ebp - 0x24]
jne 0x10049950
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x2b0]
mov edx, dword [eax + 0x2b4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], ecx
mov dword [eax + 0x10], ecx
mov dword [ebp - 0x30], edx
mov dword [eax + 0x14], edx
mov esi, dword [ebp + 0xc]
mov edx, dword [esi + 0x20]
mov ecx, dword [ebp - 0x34]
push esi
push dword [esi + 0xc]
push dword [esi + 8]
push dword [ebp - 0x30]
push dword [ebp - 0x24]
call fcn.10049db0
add esp, 0x14
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov eax, ecx
mov esi, 0x80000000
xor eax, esi
or eax, edx
jne 0x10049999
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x2d8]
mov ecx, dword [eax + 0x2dc]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov esi, dword [ebp - 0x1c]
mov esi, dword [esi + 0x2b8]
test esi, esi
je 0x10049aaf
mov edi, ecx
mov eax, 0x80000000
xor edi, eax
or edi, edx
je 0x10049a05
mov ebx, esi
sar ebx, 0x1f
xor edi, edi
add edi, 0xffffffff
mov edi, 0x80000000
adc edi, 0xffffffff
add edx, esi
adc ecx, ebx
seto bl
mov eax, 0x80000000
cmovns edi, eax
test bl, bl
cmove edi, ecx
sar ecx, 0x1f
test bl, bl
cmove ecx, edx
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x2dc], edi
mov dword [edx + 0x2d8], ecx
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebx + 0x14]
xor edx, eax
or edx, dword [ebx + 0x10]
jne 0x10049ae3
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 0x30]
mov edx, dword [edx + 0x34]
mov eax, 0x80000000
cmp ecx, eax
sbb edx, 0
jae 0x10049a23
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x2b8], ecx
mov edi, dword [ebp + 0xc]
movsd xmm0, qword [edi + 8]
mov ebx, dword [ebp - 0x1c]
movsd qword [ebx + 0x2b0], xmm0
jmp 0x10049259
mov eax, dword [ebp - 0x2c]
or eax, dword [ebp - 0x24]
jne 0x10049a53
mov eax, dword [edi + 0x34]
cmp dword [edi + 0x30], 1
sbb eax, 0
jl 0x10049259
mov eax, dword [ebp - 0x24]
mov dword [edi + 8], eax
mov esi, dword [ebp - 0x30]
mov dword [edi + 0xc], esi
mov dword [ebp - 0x28], eax
jmp 0x100491ed
mov eax, dword [ebx + 0x2d8]
mov ecx, dword [ebx + 0x2dc]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
jmp 0x1004921f
xor edx, edx
dec edx
mov ebx, edx
mov ecx, eax
shl ebx, cl
xor ecx, ecx
test al, 0x20
mov eax, edx
cmovne eax, ebx
cmove ecx, ebx
add ecx, dword [ebp - 0x2c]
adc eax, esi
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x3c]
jmp 0x100490f6
mov esi, dword [ebp + 0xc]
mov edi, dword [esi + 0x30]
mov ebx, dword [esi + 0x34]
xor esi, esi
mov eax, 0x80000000
cmp edi, eax
sbb ebx, 0
jae 0x100499aa
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x2b8], edi
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 0x14]
mov edx, dword [edx + 0x10]
mov esi, edi
jmp 0x100499aa
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebx + 0xc]
mov eax, 0x80000000
xor edx, eax
or edx, dword [ebx + 8]
jne 0x10049a05
test esi, esi
jle 0x10049a05
mov esi, dword [ebp + 0x10]
sub ecx, esi
sbb edi, dword [ebp + 0x14]
add ecx, 1
adc edi, 0
xor ebx, ebx
mov edx, 2
cmp edx, ecx
sbb ebx, edi
jb 0x10049a05
mov ecx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov edx, esi
xor edx, edi
mov ebx, dword [ebp + 0x14]
xor ebx, ecx
or ebx, edx
je 0x10049a05
mov eax, 0x80000000
xor ecx, eax
or edi, ecx
je 0x10049a05
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 8], esi
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0xc], eax
jmp 0x10049a05
push eax
call fcn.101ca2e0
add esp, 4
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x88]
cmp eax, ecx
je 0x100492a8
cmp ecx, 2
jle 0x100493ba
mov eax, dword [ebx + 0x130]
cmp ecx, 3
jne 0x10049ca0
cmp eax, 0x11
jmp 0x10049ca3
mov esi, dword [edx + 0x10]
mov edi, dword [edx + 0x14]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, edi
mov ecx, 0x80000000
xor eax, ecx
or eax, esi
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x44], eax
je 0x10049bc0
xor esi, dword [ebp - 0x44]
xor edi, dword [ebp - 0x38]
or edi, esi
jne 0x10049c98
mov eax, dword [ebp - 0x38]
mov ecx, 0x80000000
xor eax, ecx
or eax, dword [ebp - 0x44]
je 0x10049bfe
mov eax, dword [ebp - 0x44]
not eax
mov esi, dword [ebp - 0x38]
xor esi, 0x7ffeffff
or esi, eax
je 0x10049bfe
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x44]
xor esi, dword [eax + 0x2d0]
mov ecx, dword [ebp - 0x38]
xor ecx, dword [eax + 0x2d4]
or ecx, esi
jne 0x10049c98
mov eax, dword [edx + 0x38]
or eax, dword [edx + 0x3c]
jne 0x10049c98
xor eax, eax
add eax, 0xffffffff
mov esi, 0x80000000
adc esi, 0xffffffff
mov ecx, dword [ebp - 0x24]
add ecx, ebx
mov edi, dword [ebp - 0x2c]
adc edi, dword [ebp - 0x4c]
mov eax, 0x80000000
cmovns esi, eax
seto al
mov byte [ebp - 0x38], al
test al, al
cmove esi, edi
mov eax, esi
xor eax, edi
sar edi, 0x1f
cmp byte [ebp - 0x38], 0
cmove edi, ecx
xor ecx, edi
or ecx, eax
jne 0x10049c98
mov eax, dword [ebp - 0x24]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
cmp dword [eax + 0x88], 0
jne 0x10049c6f
mov eax, dword [ebp - 0x24]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [edx + 0x14], eax
mov dword [edx + 0x38], ebx
mov eax, dword [ebp - 0x4c]
mov dword [edx + 0x3c], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x2c], esi
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
jmp 0x1004942b
mov dword [ebp - 0x44], edi
cmp dword [ecx + 0x154], 0
je 0x10049cb4
mov edi, dword [ebp + 0xc]
jmp 0x1004945a
cmp eax, 0x13
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp + 0xc]
jle 0x100492f7
jmp 0x100492a8
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x154], 1
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
cmp dword [edx + 0x28], eax
jne 0x10049d0b
mov esi, dword [edx + 0x18]
mov edi, dword [edx + 0x1c]
mov eax, dword [edx + 0x14]
mov ecx, 0x80000000
xor eax, ecx
or eax, dword [edx + 0x10]
jne 0x10049d36
mov eax, edi
mov ecx, 0x80000000
xor eax, ecx
or eax, esi
jne 0x10049d36
mov eax, dword [edx + 0x38]
or eax, dword [edx + 0x3c]
jne 0x10049d36
sub dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x2c]
sbb eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx]
test eax, eax
je 0x10049d1c
mov edx, eax
test eax, eax
jne 0x10049ccd
jmp 0x10049c98
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x170], edx
jne 0x10049c98
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x188]
jmp 0x10049d11
xor esi, dword [ebp - 0x44]
xor edi, dword [ebp - 0x38]
or edi, esi
jne 0x10049c98
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x16c]
test edx, edx
je 0x10049d74
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x2d0], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x2d4], ecx
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
jmp 0x10049422
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x188]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x2c]
mov dword [eax + 0x2d4], esi
mov esi, dword [ebp - 0x24]
mov dword [eax + 0x2d0], esi
test edx, edx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x30]
jne 0x10049422
jmp 0x10049445