Function at 0x10053490
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009ab10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x934
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0xa1], 3
mov dword [ebp - 0x5c], 0x18955d40
mov eax, dword [0x100c30c8]
mov ecx, dword [0x100c30cc]
mov dword [ebp - 0x838], ecx
mov dword [ebp - 0x38], eax
xor edx, edx
mov dword [ebp - 0x58], 0xa4b79040
mov dword [ebp - 0x54], edx
movsx eax, word [0x100c308c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x44], 0x1c1e6b30
mov ecx, 0x32af
mov word [ebp - 0x18], cx
mov dx, word [0x100c30b0]
mov word [ebp - 0x34], dx
movsx ax, byte [str.NDisablePerfBackoff]
mov word [ebp - 0x28], ax
mov ecx, 0x4ea9
mov word [ebp - 0x1c], cx
mov edx, dword [0x100c30e8]
mov eax, dword [0x100c30ec]
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x80], eax
xor ecx, ecx
mov dword [ebp - 0x40], 0x44d
mov dword [ebp - 0x3c], ecx
mov eax, dword [0x100c30f8]
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
mov dx, word [0x100c30fc]
mov byte [ebp - 0x11], dl
movsx eax, word [0x100c3118]
cdq
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
mov ax, word [0x100c30f8]
mov word [ebp - 0x20], ax
mov ecx, dword [0x100c3080]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x60], 0x61
mov dx, word [0x100c30fc]
mov word [ebp - 0x24], dx
mov byte [ebp - 0x12], 0x16
mov eax, 0xffff9024
mov word [ebp - 0x2c], ax
movsx eax, word [0x100c30fc]
cdq
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
mov ecx, dword [0x100c30e8]
mov edx, dword [0x100c30ec]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], edx
mov eax, 0x6aaa
mov word [ebp - 0x30], ax
mov byte [ebp - 0x13], 0xc6
mov cl, byte [0x100c3090]
mov byte [ebp - 0xc5], cl
xor edx, edx
mov dword [ebp - 0x8e8], 0x63b7
mov dword [ebp - 0x8e4], edx
mov eax, 0x356ff
mov dword [ebp - 0x8f0], 0x2afdfc9
mov dword [ebp - 0x8ec], eax
mov dword [ebp - 0x8a4], 0x373449f1
movzx eax, byte [0x100c3063]
cdq
mov dword [ebp - 0x8f8], eax
mov dword [ebp - 0x8f4], edx
xor ecx, ecx
mov dword [ebp - 0x900], 0x42a5aa04
mov dword [ebp - 0x8fc], ecx
xor edx, edx
mov dword [ebp - 0x908], 0xaf
mov dword [ebp - 0x904], edx
mov dword [ebp - 0x8a0], 0x14870fa9
movzx ax, byte [0x100c303b]
mov word [ebp - 0x42c], ax
mov ecx, dword [0x100c30a8]
mov edx, dword [0x100c30ac]
mov dword [ebp - 0x89c], edx
mov dword [ebp - 0x898], ecx
movzx eax, byte [0x100c3063]
mov dword [ebp - 0x894], eax
mov ecx, dword [0x100c30d0]
mov edx, dword [0x100c30d4]
mov dword [ebp - 0x910], ecx
mov dword [ebp - 0x90c], edx
mov dword [ebp - 0x890], 0xee61c7d
xor eax, eax
mov dword [ebp - 0x918], 0x34c4
mov dword [ebp - 0x914], eax
mov ecx, 9
mov word [ebp - 0x430], cx
mov dword [ebp - 0x88c], 0x2dd8
mov edx, dword [0x100c3120]
mov eax, dword [0x100c3124]
mov dword [ebp - 0x888], eax
mov dword [ebp - 0x884], edx
mov ecx, dword [0x100c3b38]
xor edx, edx
mov dword [0x100c30a8], ecx
mov dword [0x100c30ac], edx
mov ax, word [0x100c3118]
add ax, 1
mov word [0x100c3118], ax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x880], edx
sub ecx, 0xe3a7a92b
mov byte [str.NDisablePerfBackoff], cl
movzx eax, byte [0x100c3062]
cdq
mov ecx, eax
mov esi, edx
movsx eax, word [ebp - 0x30]
not eax
cdq
mov edi, eax
mov ebx, edx
add edi, dword [ebp - 0x78]
adc ebx, dword [ebp - 0x74]
sub edi, ecx
sbb ebx, esi
push 0
push 0x69
mov edx, dword [0x100c30f4]
push edx
mov eax, dword [0x100c30f0]
push eax
call fcn.1008eb70
mov ecx, dword [ebp - 0x6c]
mov esi, dword [0x100c30e8]
mov dword [ebp - 0x434], ebx
mov ebx, dword [0x100c30ec]
sub esi, dword [ebp - 0x70]
sbb ebx, ecx
add esi, eax
adc ebx, edx
sub esi, edi
mov edi, dword [ebp - 0x434]
sbb ebx, edi
mov dword [ebp - 0x448], esi
mov dword [ebp - 0x444], ebx
mov edx, dword [ebp - 0x448]
or edx, dword [ebp - 0x444]
jne 0x10053792
mov byte [ebp - 0x85], 1
jmp 0x10053799
mov byte [ebp - 0x85], 0
mov al, byte [ebp - 0x85]
mov byte [0x100c3027], al
movsx ecx, byte [ebp - 0x11]
movzx edx, byte [0x100c3063]
imul edx, ecx
movzx eax, byte [0x100c3063]
or eax, edx
mov byte [0x100c3063], al
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x4c]
push eax
push edx
push ecx
call fcn.1008eb70
mov ecx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x54]
push edx
push eax
push esi
push ecx
call fcn.1008eb70
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov edx, dword [0x100c3b38]
mov dword [ebp - 0xcc], edx
push 0
push 0xff
call fcn.1004e550
add esp, 8
mov word [ebp - 0x2c], ax
movsx eax, word [ebp - 0x2c]
test eax, eax
jg 0x100539fe
mov ecx, dword [0x100c3080]
not ecx
mov edx, dword [0x100c3084]
not edx
mov dword [ebp - 0x450], ecx
mov dword [ebp - 0x44c], edx
mov eax, dword [ebp - 0x450]
or eax, dword [ebp - 0x44c]
je 0x10053871
mov ecx, dword [0x100c30c8]
mov edx, dword [0x100c30cc]
mov dword [ebp - 0x458], ecx
mov dword [ebp - 0x454], edx
mov eax, dword [ebp - 0x458]
or eax, dword [ebp - 0x454]
je 0x10053871
mov dword [ebp - 0x270], 1
jmp 0x1005387b
mov dword [ebp - 0x270], 0
mov ecx, dword [ebp - 0x270]
not ecx
test ecx, ecx
je 0x1005396e
movsx edx, byte [ebp - 0x11]
xor edx, 0x84d7
mov word [ebp - 0x1c], dx
movsx eax, word [ebp - 0x30]
imul eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
movsx ecx, word [ebp - 0x30]
test ecx, ecx
jne 0x100538c3
xor edx, edx
mov dword [ebp - 0x2b4], 1
mov dword [ebp - 0x2b0], edx
jmp 0x100538ce
xorps xmm0, xmm0
movlpd qword [ebp - 0x2b4], xmm0
movsx eax, word [ebp - 0x20]
cdq
mov ecx, dword [0x100c30d0]
mov esi, dword [0x100c30d4]
add ecx, eax
adc esi, edx
mov edx, dword [0x100c30b8]
sub edx, dword [ebp - 0x2b4]
mov eax, dword [0x100c30bc]
sbb eax, dword [ebp - 0x2b0]
push esi
push ecx
push eax
push edx
call fcn.1008eb70
mov ecx, eax
movzx eax, byte [0x100c3062]
cdq
mov esi, eax
mov eax, dword [ebp - 0x60]
cdq
mov edx, dword [0x100c30e8]
mov edi, dword [0x100c30ec]
mov dword [ebp - 0x87c], edi
xor edx, eax
add edx, esi
add edx, ecx
mov dword [ebp - 0x60], edx
movsx eax, word [ebp - 0x20]
movsx ecx, word [ebp - 0x30]
lea edx, [ecx + eax - 0x8de9]
mov word [ebp - 0x30], dx
mov ecx, dword [0x100c3110]
mov esi, dword [0x100c3114]
mov eax, dword [ebp - 0x38]
cdq
mov edi, eax
mov ebx, edx
sub edi, ecx
sbb ebx, esi
mov eax, dword [ebp - 0x38]
cdq
push ebx
push edi
push edx
push eax
call fcn.1008eb70
mov dword [ebp - 0x38], eax
jmp 0x100539f9
mov edx, dword [0x100c3b38]
xor eax, eax
mov dword [0x100c30d0], edx
mov dword [0x100c30d4], eax
movsx ecx, byte [ebp - 0x13]
test ecx, ecx
je 0x1005399f
movzx eax, word [0x100c30e0]
cdq
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], edx
jmp 0x100539b1
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x26c], edx
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
mov eax, dword [0x100c3120]
mov ecx, dword [0x100c3124]
mov dword [ebp - 0x878], ecx
mov dword [ebp - 0x38], eax
xorps xmm0, xmm0
movlpd qword [0x100c30b8], xmm0
movzx edx, word [ebp - 0x24]
imul edx, dword [0x100c30f8]
add edx, dword [0x100c30f8]
mov dword [0x100c30f8], edx
jmp 0x10053aae
mov eax, dword [0x100c30f8]
not eax
test eax, eax
je 0x10053aae
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x38], ecx
movzx edx, word [0x100c30b0]
imul eax, edx, 0xea
movsx ecx, word [ebp - 0x34]
add ecx, eax
mov word [ebp - 0x34], cx
movzx dx, byte [0x100c3062]
mov word [0x100c30a0], dx
mov eax, dword [ebp - 0x7c]
xor ecx, ecx
add eax, 0xbe1572cb
adc ecx, 0x5f203
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
movsx edx, byte [ebp - 0x11]
movsx eax, word [ebp - 0x20]
sub eax, edx
movsx ecx, word [ebp - 0x20]
imul ecx, eax
mov word [ebp - 0x20], cx
movzx eax, word [ebp - 0x18]
cdq
mov ecx, dword [0x100c3110]
mov esi, dword [0x100c3114]
add ecx, eax
adc esi, edx
mov dword [ebp - 0x460], ecx
mov dword [ebp - 0x45c], esi
mov edx, dword [ebp - 0x460]
or edx, dword [ebp - 0x45c]
jne 0x10053a9c
mov byte [ebp - 0x86], 1
jmp 0x10053aa3
mov byte [ebp - 0x86], 0
mov al, byte [ebp - 0x86]
mov byte [0x100c3062], al
mov ecx, dword [ebp - 0xcc]
add ecx, 0x581
mov dword [ebp - 0x108], ecx
mov eax, dword [ebp - 0x60]
cdq
mov ecx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x54]
sub ecx, eax
sbb esi, edx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], esi
mov edx, dword [0x100c30c0]
mov eax, dword [0x100c30c4]
push 0
push 0xba8d344b
push eax
push edx
call fcn.1008eb70
mov dword [ebp - 0x50], eax
mov ecx, dword [0x100c30b8]
sub ecx, dword [0x100c30b8]
mov edx, dword [0x100c30bc]
sbb edx, dword [0x100c30bc]
mov dword [0x100c30b8], ecx
mov dword [0x100c30bc], edx
movzx eax, byte [0x100c303b]
cdq
add eax, 0x777a02f8
mov word [0x100c308c], ax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
not eax
not ecx
add eax, 0xaef8d8b8
adc ecx, 0xabf04
mov dword [0x100c3080], eax
mov dword [0x100c3084], ecx
mov edx, dword [ebp - 0xcc]
add edx, 0x766
mov dword [ebp - 0x100], edx
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
xor ecx, ecx
mov dword [0x100c3120], eax
mov dword [0x100c3124], ecx
mov edx, dword [0x100c3120]
mov eax, dword [0x100c3124]
mov dword [ebp - 0x468], edx
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0
ja 0x10053ba3
jb 0x10053b97
cmp dword [ebp - 0x468], 0
ja 0x10053ba3
mov dword [ebp - 0x274], 1
jmp 0x10053bad
mov dword [ebp - 0x274], 0
mov ecx, dword [0x100c3120]
mov edx, dword [0x100c3124]
mov dword [ebp - 0x470], ecx
mov dword [ebp - 0x46c], edx
cmp dword [ebp - 0x46c], 0
ja 0x10053be5
jb 0x10053bd9
cmp dword [ebp - 0x470], 0x54
ja 0x10053be5
mov dword [ebp - 0x278], 1
jmp 0x10053bef
mov dword [ebp - 0x278], 0
mov eax, dword [ebp - 0x274]
cmp eax, dword [ebp - 0x278]
jne 0x10053cec
push 0
push 0x72
call fcn.1004e550
add esp, 8
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
movsx ecx, word [ebp - 0x28]
test ecx, ecx
je 0x10053c48
mov ecx, 7
mov esi, str.AvProductState
lea edi, [ebp - 0x944]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edx, [ebp - 0x944]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov word [ebp - 0x1c], ax
jmp 0x10053ce7
mov eax, dword [0x100c3108]
not eax
mov word [ebp - 0x2c], ax
mov ecx, 0xffff97c2
mov word [ebp - 0x34], cx
cmp dword [ebp - 0x60], 0
je 0x10053c6d
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x27c], edx
jmp 0x10053c76
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x27c]
cdq
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x60], 0
jne 0x10053c95
mov dword [ebp - 0x280], 1
jmp 0x10053c9f
mov dword [ebp - 0x280], 0
movsx ecx, byte [ebp - 0x12]
mov edx, dword [ebp - 0x280]
sub edx, ecx
movsx eax, byte [0x100c3027]
add eax, 0xb8
sub eax, edx
cdq
mov ecx, eax
imul eax, dword [ebp - 0x5c], 0xfffffffc
cdq
add eax, 0x228ba404
sub eax, ecx
mov word [ebp - 0x30], ax
mov dl, byte [0x100c3b38]
mov byte [ebp - 0x12], dl
mov eax, dword [0x100c3b38]
xor ecx, ecx
mov dword [0x100c30e8], eax
mov dword [0x100c30ec], ecx
jmp 0x10053dc3
mov edx, dword [ebp - 0x4c]
or edx, dword [ebp - 0x48]
jne 0x10053d08
xor eax, eax
mov dword [ebp - 0x2ac], 1
mov dword [ebp - 0x2a8], eax
jmp 0x10053d13
xorps xmm0, xmm0
movlpd qword [ebp - 0x2ac], xmm0
mov ecx, dword [0x100c30e8]
mov edx, dword [0x100c30ec]
sub ecx, dword [ebp - 0x2ac]
sbb edx, dword [ebp - 0x2a8]
mov dword [ebp - 0x478], ecx
mov dword [ebp - 0x474], edx
mov eax, dword [ebp - 0x478]
or eax, dword [ebp - 0x474]
jne 0x10053d4e
mov byte [ebp - 0x87], 1
jmp 0x10053d55
mov byte [ebp - 0x87], 0
mov cl, byte [ebp - 0x87]
mov byte [0x100c3075], cl
movsx eax, byte [ebp - 0x12]
cdq
add eax, 0x17150c2c
mov dword [0x100c310c], eax
movsx eax, word [ebp - 0x2c]
cdq
push 0x2808a
push 0xe5aa4280
push edx
push eax
call fcn.1008eb70
mov dword [0x100c310c], eax
movsx eax, word [ebp - 0x30]
cdq
mov esi, eax
mov edi, edx
movsx eax, byte [ebp - 0x13]
cdq
add eax, dword [0x100c3080]
adc edx, dword [0x100c3084]
mov ecx, dword [ebp - 0x74]
push ecx
mov ecx, dword [ebp - 0x78]
push ecx
push edx
push eax
call fcn.1008eb70
add eax, esi
adc edx, edi
mov dword [0x100c30d0], eax
mov dword [0x100c30d4], edx
mov edx, dword [ebp - 0xcc]
add edx, 0x50e
mov dword [ebp - 0x104], edx
movzx eax, word [ebp - 0x1c]
cdq
mov ecx, dword [0x100c30e8]
mov esi, dword [0x100c30ec]
xor ecx, eax
xor esi, edx
not ecx
not esi
movzx eax, word [ebp - 0x24]
not eax
cdq
push esi
push ecx
push edx
push eax
call fcn.1008eb70
mov word [ebp - 0x34], ax
movsx edx, byte [0x100c3075]
movsx ecx, byte [ebp - 0x12]
add ecx, edx
mov al, byte [ebp - 0x12]
sar al, cl
mov byte [ebp - 0x12], al
mov ecx, dword [0x100c3080]
and ecx, 0xcb
mov edx, dword [0x100c3084]
and edx, 0
mov dword [0x100c30b8], ecx
mov dword [0x100c30bc], edx
cmp dword [ebp - 0x44], 0
jne 0x10053e52
xor eax, eax
mov dword [ebp - 0x294], 1
mov dword [ebp - 0x290], eax
jmp 0x10053e5d
xorps xmm0, xmm0
movlpd qword [ebp - 0x294], xmm0
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
xor ecx, dword [ebp - 0x294]
xor edx, dword [ebp - 0x290]
mov dword [ebp - 0x480], ecx
mov dword [ebp - 0x47c], edx
mov eax, dword [ebp - 0x480]
or eax, dword [ebp - 0x47c]
jne 0x10053e9d
xor ecx, ecx
mov dword [ebp - 0x29c], 1
mov dword [ebp - 0x298], ecx
jmp 0x10053ea8
xorps xmm0, xmm0
movlpd qword [ebp - 0x29c], xmm0
movsx edx, word [0x100c3090]
movsx eax, word [ebp - 0x28]
add eax, edx
cdq
add eax, dword [0x100c30b8]
adc edx, dword [0x100c30bc]
not eax
not edx
mov ecx, dword [ebp - 0x29c]
sub ecx, dword [0x100c30d8]
mov esi, dword [ebp - 0x298]
sbb esi, dword [0x100c30dc]
not ecx
not esi
push edx
push eax
push esi
push ecx
call fcn.1008eb70
not eax
mov byte [0x100c3063], al
movsx edx, byte [0x100c3075]
add edx, 0xcf39
movsx eax, word [0x100c3090]
or eax, edx
mov word [0x100c3090], ax
mov ecx, dword [0x100c3b38]
mov dword [ebp - 0xd0], ecx
mov edx, dword [0x100c30b8]
mov dword [ebp - 0x50], edx
movsx eax, word [0x100c308c]
imul ecx, eax, 0xf49b
mov word [0x100c308c], cx
movzx edx, byte [0x100c3062]
imul eax, edx, 0xaa3b2bf6
xor ecx, ecx
mov dword [0x100c3080], eax
mov dword [0x100c3084], ecx
cmp dword [ebp - 0x50], 0
je 0x10053f70
mov edx, dword [0x100c3100]
mov eax, dword [0x100c3104]
mov dword [ebp - 0x2a4], edx
mov dword [ebp - 0x2a0], eax
jmp 0x10053f88
mov ecx, dword [0x100c30c0]
mov edx, dword [0x100c30c4]
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 0x2a0], edx
mov ax, word [ebp - 0x2a4]
mov word [0x100c308c], ax
imul ecx, dword [ebp - 0x44], 0xcf01
mov word [ebp - 0x34], cx
mov dword [ebp - 0x50], 0x91cc
mov edx, dword [ebp - 0xd0]
add edx, 0x866
mov dword [ebp - 0x164], edx
jmp 0x10053fd0
jmp 0x10053ff1
mov eax, dword [ebp - 0xd0]
add eax, 0x687
mov dword [ebp - 0x3f8], eax
movzx ecx, word [ebp - 0x24]
sub ecx, 0x2a118678
mov dword [ebp - 0x50], ecx
movzx edx, word [0x100c30b0]
movzx eax, word [ebp - 0x1c]
add eax, edx
mov word [ebp - 0x1c], ax
mov eax, dword [0x100c3108]
shl eax, 1
cdq
mov dword [0x100c30d0], eax
mov dword [0x100c30d4], edx
movzx ecx, word [0x100c30b0]
sub ecx, 1
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x7c]
sub edx, dword [ebp - 0x60]
movzx eax, word [ebp - 0x18]
mov ecx, dword [0x100c3108]
sub ecx, eax
sub ecx, edx
mov dword [ebp - 0x7c], ecx
movzx eax, word [ebp - 0x24]
cdq
mov dword [0x100c30e8], eax
mov dword [0x100c30ec], edx
mov edx, dword [ebp - 0xd0]
add edx, 0x56c
mov dword [ebp - 0x168], edx
movsx eax, word [ebp - 0x20]
movzx ecx, byte [0x100c3063]
sub ecx, eax
movzx edx, byte [0x100c3063]
imul edx, ecx
mov byte [0x100c3063], dl
mov ecx, dword [0x100c30e8]
mov edx, dword [0x100c30ec]
mov dword [ebp - 0x874], edx
movsx eax, word [ebp - 0x28]
cdq
sub eax, ecx
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x5c]
cdq
mov dword [0x100c30d0], eax
mov dword [0x100c30d4], edx
movzx eax, byte [0x100c3062]
cdq
mov ecx, eax
sub ecx, dword [0x100c3080]
movzx eax, byte [0x100c3062]
cdq
add eax, ecx
mov byte [0x100c3062], al
mov dx, word [0x100c3088]
mov eax, 1
imul ecx, eax, 0x2c
mov byte [ecx + 0x100c3c18], dl
movsx edx, word [0x100c3088]
imul eax, edx, 0xc
mov dword [ebp - 0x5c], eax
mov ecx, dword [0x100c3b38]
mov dword [ebp - 0xd4], ecx
movsx eax, byte [0x100c3027]
add eax, 0xe4b3
cdq
push edx
push eax
mov edx, dword [0x100c3084]
push edx
mov eax, dword [0x100c3080]
push eax
call fcn.1008eb70
mov dword [0x100c3080], eax
mov dword [0x100c3084], edx
mov ecx, 8
mov word [0x100c3088], cx
mov edx, 4
mov word [0x100c3090], dx
mov eax, dword [0x100c3080]
not eax
mov ecx, dword [0x100c3084]
not ecx
sub eax, 0x2f2f
sbb ecx, 0
mov edx, dword [0x100c3098]
mov esi, dword [0x100c309c]
push ecx
push eax
push esi
push edx
call fcn.1008eb70
mov ecx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
not ecx
not esi
push edx
push eax
push esi
push ecx
call fcn.1008eb70
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x60]
sub edx, 0x6b
mov word [ebp - 0x34], dx
mov eax, dword [ebp - 0xd4]
add eax, 0x592
mov dword [ebp - 0x20c], eax
mov ecx, dword [0x100c30f4]
cmp ecx, dword [ebp - 0x48]
ja 0x10054289
jb 0x100541d0
mov edx, dword [0x100c30f0]
cmp edx, dword [ebp - 0x4c]
jae 0x10054289
jmp 0x10054202
jmp 0x10054237
jmp 0x10054267
jmp fcn.10054273
cmp dword [0x100c3084], 0
ja 0x100542b1
jb 0x1005429d
cmp dword [0x100c3080], 0
ja 0x100542b1
xor eax, eax
mov dword [ebp - 0x3c4], 1
mov dword [ebp - 0x3c0], eax
jmp 0x100542bc
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c4], xmm0
mov ecx, dword [0x100c30a8]
mov edx, dword [0x100c30ac]
mov dword [ebp - 0x488], ecx
mov dword [ebp - 0x484], edx
mov eax, dword [ebp - 0x3c0]
cmp eax, dword [ebp - 0x484]
ja 0x100542fe
jb 0x100542f2
mov ecx, dword [ebp - 0x3c4]
cmp ecx, dword [ebp - 0x488]
ja 0x100542fe
mov dword [ebp - 0x284], 1
jmp 0x10054308
mov dword [ebp - 0x284], 0
mov edx, dword [ebp - 0x284]
not edx
test edx, edx
je 0x100543cb
movzx eax, word [0x100c30b0]
cdq
mov ecx, dword [0x100c30c8]
mov esi, dword [0x100c30cc]
sub ecx, eax
sbb esi, edx
mov edx, dword [0x100c30c8]
mov eax, dword [0x100c30cc]
add edx, ecx
adc eax, esi
mov dword [0x100c30c8], edx
mov dword [0x100c30cc], eax
movzx ecx, word [ebp - 0x24]
imul eax, ecx, 0x86
cdq
mov esi, dword [ebp - 0x68]
mov edi, dword [ebp - 0x64]
xor esi, eax
xor edi, edx
not esi
not edi
movsx eax, word [ebp - 0x28]
not eax
cdq
add eax, dword [ebp - 0x4c]
adc edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x68]
mov dword [ebp - 0x438], edi
mov edi, dword [ebp - 0x64]
add ebx, dword [ebp - 0x84]
adc edi, ecx
push edx
push eax
push edi
push ebx
call fcn.1008eb70
xor eax, esi
mov esi, dword [ebp - 0x438]
xor edx, esi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x78]
and edx, 0x5022042
mov eax, dword [ebp - 0x74]
and eax, 0
push 0x83ed7
push 0xeb644440
push eax
push edx
call fcn.1008eb70
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
jmp 0x1005449d
movzx ecx, word [ebp - 0x18]
test ecx, ecx
je 0x1005449d
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
mov eax, dword [0x100c3100]
mov ecx, dword [0x100c3104]
sub eax, dword [ebp - 0x4c]
sbb ecx, dword [ebp - 0x48]
mov dword [0x100c3100], eax
mov dword [0x100c3104], ecx
movzx eax, byte [0x100c3062]
shl eax, 5
cdq
xor eax, dword [0x100c30b8]
xor edx, dword [0x100c30bc]
mov dword [0x100c30b8], eax
mov dword [0x100c30bc], edx
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
sub edx, dword [0x100c30f0]
sbb eax, dword [0x100c30f4]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x7c]
add ecx, dword [ebp - 0x38]
movsx edx, word [ebp - 0x20]
sub edx, ecx
jne 0x10054458
xor eax, eax
mov dword [ebp - 0x490], 1
mov dword [ebp - 0x48c], eax
jmp 0x10054463
xorps xmm0, xmm0
movlpd qword [ebp - 0x490], xmm0
movzx eax, word [0x100c30a0]
cdq
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x870], edx
sub ecx, eax
mov eax, dword [0x100c30c0]
mov edx, dword [0x100c30c4]
mov dword [ebp - 0x86c], edx
and eax, 0xad
add eax, ecx
or eax, dword [ebp - 0x490]
mov dword [ebp - 0x60], eax