Function at 0x1008d360
Capabilities:
Authenticate hmac
Check http status code
Encode data using base64

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f830
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c0
mov eax, dword [0x100b1040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
xor ecx, ecx
mov dword [ebp - 0x1f4], ecx
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1fc], ecx
lea esi, [eax + 8]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x101396b4]
mov dword [ebp - 0x1d8], eax
mov eax, dword [esi]
movss xmm1, dword [ecx + 0x14]
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm1
mulss xmm0, dword [0x100a7b7c]
mov eax, dword [eax + 0x24]
movss dword [ebp - 0x1dc], xmm0
movss dword [ebp - 0x1ec], xmm1
call eax
mov edi, dword [0x10139884]
mov ecx, dword [0x1013051c]
add edi, 0xffffffd6
mov byte [ebp - 0x1d1], al
xor edi, 0x52891222
mov eax, dword [ebp - 0x1e8]
mov edx, dword [eax + edi]
cmp edx, dword [edi + ecx]
je 0x1008d42f
mov byte [ebp - 0x1dd], 1
jmp 0x1008d445
mov ecx, dword [0x10139740]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
setne byte [ebp - 0x1dd]
cmp byte [0x100ba660], 0
mov edi, dword [ebp - 0x1e8]
je 0x1008d465
mov eax, dword [0x10139918]
add eax, 0xffffffb1
xor eax, 0x52891247
mov byte [eax + edi], 1
cmp byte [ebp - 0x1d1], 0
mov eax, dword [ebp - 0x1d8]
jne 0x1008d47d
mov byte [eax + 0x1013be77], 1
jmp 0x1008d48a
cmp byte [eax + 0x1013be77], 0
je 0x1008fdf1
mov al, byte [0x100b59fc]
mov byte [ebp - 0x24d], al
test al, al
jne 0x1008d4aa
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x1008fdf1
mov ecx, dword [0x10139654]
lea edx, [ebp - 0x1d0]
push edx
push dword [ebp - 0x1d8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x1008fdf1
mov eax, dword [0x101398b0]
add eax, 0xffffffcb
mov byte [ebp - 0x1ed], 0
xor eax, 0x5289122d
cmp dword [eax + edi], 0
je 0x1008d506
mov eax, dword [ebp - 0x1d8]
movss xmm0, dword [eax*4 + 0x1013beb8]
subss xmm0, dword [ebp - 0x1ec]
movss dword [eax*4 + 0x1013beb8], xmm0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
test al, al
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
jne 0x1008d584
call eax
mov ecx, dword [ebp - 0x1e8]
imul eax, eax, 0x2c
mov dword [ebp - 0x1ec], eax
mov eax, dword [0x101398b4]
add eax, 0xffffffca
xor eax, 0x5289122e
mov edi, dword [eax + edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x101396b4]
mov edx, dword [ebp - 0x1ec]
cvttss2si ecx, dword [ecx]
mov dword [edx + 0x10138a7c], ecx
mov ecx, dword [eax]
mov dword [edx + 0x10138a80], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 0x10138a84], ecx
movss xmm0, dword [eax + 8]
movss dword [edx + 0x10138a88], xmm0
mov dword [edx + 0x10138a8c], edi
mov edi, dword [ebp - 0x1e8]
jmp 0x1008d5fc
call eax
imul edx, eax, 0x2c
mov eax, dword [0x101396b4]
movss xmm0, dword [eax]
movd xmm1, dword [edx + 0x10138a7c]
cvtdq2ps xmm1, xmm1
subss xmm0, xmm1
call fcn.100160e0
comiss xmm0, dword [0x100a7b68]
mov eax, dword [0x101398b4]
mov ecx, dword [edx + 0x10138a8c]
lea edx, [edx + 0x10138a80]
push edx
setbe byte [ebp - 0x1ed]
add eax, 0xffffffca
xor eax, 0x5289122e
mov dword [eax + edi], ecx
mov ecx, dword [0x10139870]
mov eax, dword [edx]
add ecx, 0xffffffdb
xor ecx, 0x5289121d
mov dword [ecx + edi], eax
mov eax, dword [edx + 4]
mov dword [ecx + edi + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + edi + 8], eax
mov ecx, edi
mov eax, dword [0x10139790]
call eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x1008d6ca
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x28]
call eax
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x20], xmm0
movss xmm1, dword [ebp - 0x20]
movss xmm0, dword [0x100a7cac]
comiss xmm1, xmm0
mov dword [ebp - 0x18], eax
jbe 0x1008d675
movss xmm2, dword [0x100a79bc]
comiss xmm2, xmm1
jbe 0x1008d675
movss xmm1, dword [ebp - 0x1c]
comiss xmm1, xmm0
jbe 0x1008d675
comiss xmm2, xmm1
mov edx, dword [ebp - 0x1d8]
jbe 0x1008d67b
movss xmm1, dword [ebp - 0x18]
comiss xmm1, xmm0
jbe 0x1008d67b
comiss xmm2, xmm1
jbe 0x1008d67b
mov dword [edx*4 + 0x1013beb8], 0
jmp 0x1008d67b
mov edx, dword [ebp - 0x1d8]
cmp byte [ebp - 0x1ed], 0
lea esi, [edx*4 + 0x1013beb8]
movss xmm0, dword [esi]
jne 0x1008d6ac
xorps xmm2, xmm2
comiss xmm0, xmm2
jbe 0x1008d730
subss xmm0, dword [ebp - 0x1dc]
movss dword [esi], xmm0
jmp 0x1008d730
movss xmm2, dword [0x100a7aa8]
comiss xmm2, xmm0
xorps xmm2, xmm2
jbe 0x1008d730
addss xmm0, dword [ebp - 0x1dc]
movss dword [esi], xmm0
jmp 0x1008d730
mov eax, dword [ebp - 0x1d8]
movss xmm0, dword [0x100a7aa8]
lea edx, [eax*4 + 0x1013beb8]
comiss xmm0, dword [edx]
mov esi, edx
jbe 0x1008d72b
mov eax, dword [0x101398b0]
add eax, 0xffffffcb
xor eax, 0x5289122d
cmp dword [eax + edi], 0
jne 0x1008d723
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
mov edx, dword [ebp - 0x1d8]
xorps xmm2, xmm2
test al, al
jne 0x1008d730
movss xmm1, dword [ebp - 0x1dc]
addss xmm1, dword [esi]
movss dword [esi], xmm1
jmp 0x1008d730
mov edx, dword [ebp - 0x1d8]
jmp 0x1008d72d
mov edx, eax
xorps xmm2, xmm2
movss xmm0, dword [esi]
lea ecx, [ebp - 0x1ec]
movss xmm1, dword [0x100a7aa8]
mov eax, dword [0x100b57e4]
comiss xmm0, xmm2
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x1dc], eax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x3f800000
mov dword [ebp - 0x1ec], 0
cmovae ecx, esi
comiss xmm1, xmm0
cmovae eax, ecx
cmp byte [ebp - 0x1d1], 0
movss xmm0, dword [eax]
movss dword [esi], xmm0
mulss xmm0, dword [0x100a7c54]
cvttss2si eax, xmm0
mov dword [ebp - 0x258], eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x100a7ae8]
cvttsd2si eax, xmm0
mov dword [ebp - 0x1d8], eax
je 0x1008d7db
cmp byte [ebp - 0x24d], 0
je 0x1008d7db
mov dword [ebp - 0x1e4], 0xffdcdcdc
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x1dc], eax
mov ecx, dword [0x10139654]
lea esi, [ebp - 0x1d0]
push esi
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x1008fdf1
push dword [ebp - 0x258]
push edi
call fcn.1008ccb0
lea eax, [ebp - 0x22c]
push eax
push edi
call fcn.10090ab0
test al, al
je 0x1008fdf1
cmp byte [ebp - 0x1dd], 0
mov dword [ebp - 0x2b4], 0xff
je 0x1008d837
cmp byte [0x100b698c], 0
jne 0x1008d844
jmp 0x1008d859
mov al, byte [0x100b56b8]
test al, al
je 0x1008de6e
push dword [ebp - 0x258]
push edi
call fcn.100912b0
cmp byte [ebp - 0x1dd], 0
je 0x1008d864
cmp byte [0x100b7ff8], 0
jne 0x1008d871
jmp 0x1008d886
mov al, byte [0x100b56b8]
test al, al
je 0x1008de6e
push dword [ebp - 0x258]
push edi
call fcn.100923f0
cmp byte [ebp - 0x1dd], 0
je 0x1008d894
cmp byte [0x100b5740], 0
jne 0x1008d8a1
jmp 0x1008d98a
mov al, byte [0x100b56b8]
test al, al
je 0x1008de6e
cmp byte [ebp - 0x1d1], 0
je 0x1008d8d7
mov eax, dword [ebp - 0x258]
mov edx, dword [ebp - 0x1d8]
movzx ecx, al
shl ecx, 0x18
or ecx, 0xd2d2d2
push ecx
mov eax, esp
push ecx
mov word [eax], 0
mov byte [eax + 2], 0
mov byte [eax + 3], dl
jmp 0x1008d961
cvttss2si eax, dword [0x100b68d4]
lea ecx, [ebp - 0x1e4]
mov word [ebp - 0x1e4], 0
mov byte [ebp - 0x1e2], 0
push dword [ebp - 0x1d8]
mov byte [ebp - 0x1e1], al
lea eax, [ebp - 0x230]
push eax
call fcn.1002d890
movzx ecx, byte [ebp - 0x1db]
push dword [ebp - 0x258]
movzx edx, byte [ebp - 0x1da]
mov esi, dword [eax]
mov eax, dword [ebp - 0x1f8]
movzx eax, al
mov byte [ebp - 0x1e4], al
cvttss2si eax, dword [0x100b68d4]
mov byte [ebp - 0x1e3], cl
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 0x1e2], dl
mov byte [ebp - 0x1e1], al
lea eax, [ebp - 0x260]
push eax
call fcn.1002d890
push esi
push dword [eax]
push dword [ebp - 0x220]
mov edx, dword [ebp - 0x228]
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x22c]
call fcn.10083330
add esp, 0x10
cmp byte [ebp - 0x1dd], 0
je 0x1008d998
cmp byte [0x100b5d0c], 0
jne 0x1008d9a5
jmp 0x1008dbad
mov al, byte [0x100b56b8]
test al, al
je 0x1008de6e
lea eax, [ebp - 0x1c0]
push eax
lea ecx, [ebp - 0x248]
call fcn.1001d380
push 0x18
push 0
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call fcn.1003a8e0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
call fcn.1001d330
mov eax, dword [0x100b5db0]
mov ecx, eax
shr ecx, 8
mov dword [ebp - 0x1f8], eax
shr eax, 8
mov dword [ebp - 0x200], ecx
mov cx, word [0x100b5db2]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x230]
mov word [ebp - 0x1ee], cx
lea ecx, [ebp - 0x74]
push eax
mov byte [ebp - 0x1ec], 0
call fcn.10041f80
lea ecx, [ebp - 0x74]
mov edx, dword [eax]
lea eax, [ebp - 0x260]
push eax
call fcn.10041fa0
push dword [ebp - 0x1ec]
lea ecx, [ebp - 0x24d]
push edx
push dword [eax]
call fcn.10093560
add esp, 0xc
cmp dword [0x100b5644], 0
jne 0x1008daf6
cmp byte [ebp - 0x1d1], 0
je 0x1008da8c
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x74]
sub ecx, dword [0x1013b704]
push 2
push eax
mov eax, dword [ebp - 0x1d8]
movzx eax, al
shl eax, 0x18
or eax, 0xd2d2d2
push eax
push ecx
mov ecx, 0x1013b6fc
jmp 0x1008db7e
cvttss2si ecx, dword [0x100b5888]
mov eax, dword [ebp - 0x1f8]
mov byte [ebp - 0x1e4], al
mov eax, dword [ebp - 0x254]
mov byte [ebp - 0x1e3], al
mov ax, word [ebp - 0x1ee]
mov byte [ebp - 0x1e2], al
lea eax, [ebp - 0x230]
push dword [ebp - 0x1d8]
mov byte [ebp - 0x1e1], cl
lea ecx, [ebp - 0x1e4]
push eax
call fcn.1002d890
mov ecx, dword [ebp - 0x228]
lea edx, [ebp - 0x74]
sub ecx, dword [0x1013b704]
push 2
push edx
push dword [eax]
push ecx
mov ecx, 0x1013b6fc
jmp 0x1008db7e
cmp byte [ebp - 0x1d1], 0
je 0x1008db19
push 2
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x1d8]
movzx eax, al
shl eax, 0x18
or eax, 0xd2d2d2
push eax
jmp 0x1008db6c
cvttss2si ecx, dword [0x100b5888]
mov eax, dword [ebp - 0x1f8]
mov byte [ebp - 0x1e4], al
mov eax, dword [ebp - 0x200]
mov byte [ebp - 0x1e3], al
mov ax, word [ebp - 0x1ee]
mov byte [ebp - 0x1e2], al
lea eax, [ebp - 0x230]
push dword [ebp - 0x1d8]
mov byte [ebp - 0x1e1], cl
lea ecx, [ebp - 0x1e4]
push eax
call fcn.1002d890
push 2
lea edx, [ebp - 0x74]
push edx
push dword [eax]
mov ecx, dword [ebp - 0x228]
sub ecx, dword [0x1013b6e0]
push ecx
mov ecx, 0x1013b6d8
mov eax, dword [ebp - 0x224]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x22c]
push eax
call fcn.100839d0
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.1001d330
cmp byte [ebp - 0x1dd], 0
je 0x1008dbbb
cmp byte [0x100b5f0c], 0
jne 0x1008dbc8
jmp 0x1008de6e
mov al, byte [0x100b56b8]
test al, al
je 0x1008de6e
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x1e8]
add eax, 0xfffffffe
mov dword [ebp - 0x1f0], eax
mov eax, dword [0x101398d0]
add eax, 0xffffffc3
xor eax, 0x52891235
mov edi, dword [eax + edi]
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 0x28]
call eax
mov esi, 0x64
cmp edi, esi
movss xmm0, dword [eax*4 + 0x1013e9c0]
cmovl esi, edi
mov edi, dword [ebp - 0x1e8]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
lea ecx, [edi + 8]
comiss xmm0, xmm1
jbe 0x1008dc60
mov eax, dword [0x101396b4]
movss xmm0, dword [eax + 0x14]
mov eax, dword [edi + 8]
mulss xmm0, dword [0x100a7c58]
mov eax, dword [eax + 0x28]
movss dword [ebp - 0x1ec], xmm0
call eax
movss xmm0, dword [eax*4 + 0x1013e9c0]
subss xmm0, dword [ebp - 0x1ec]
lea eax, [eax*4 + 0x1013e9c0]
movss dword [eax], xmm0
jmp 0x1008dc78
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x28]
call eax
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [eax*4 + 0x1013e9c0], xmm0
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
cvttss2si esi, dword [eax*4 + 0x1013e9c0]
mov eax, 0x64
sub eax, esi
mov dword [ebp - 0x1f8], esi
imul ecx, eax, 0x1fe
mov eax, 0x51eb851f
imul ecx
mov ecx, 0xff
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xff
cmovg eax, ecx
imul ecx, esi, 0x1fe
mov dword [ebp - 0x254], eax
mov eax, 0x51eb851f
imul ecx
mov ecx, 0xff
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xff
push ecx
cmovg eax, ecx
mov dword [ebp - 0x200], eax
mov eax, esi
imul eax, dword [ebp - 0x1f0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100a79bc]
movss dword [ebp - 0x1ec], xmm0
fld dword [ebp - 0x1ec]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
mov ecx, dword [ebp - 0x1d8]
mov eax, esp
mov edx, dword [ebp - 0x228]
fstp dword [ebp - 0x1ec]
cvttss2si esi, dword [ebp - 0x1ec]
mov byte [eax + 3], cl
mov ecx, dword [ebp - 0x22c]
lea edx, [edx - 1]
mov word [eax], 0
mov byte [eax + 2], 0
mov eax, dword [ebp - 0x1f0]
add eax, 4
lea ecx, [ecx - 6]
push eax
push 4
call fcn.100832f0
mov eax, dword [ebp - 0x1f0]
lea ecx, [esi + 2]
mov edx, dword [ebp - 0x228]
sub eax, esi
add esp, 0xc
mov dword [ebp - 0x1f0], eax
add edx, eax
cmp byte [ebp - 0x1d1], 0
je 0x1008ddc1
mov eax, dword [ebp - 0x258]
mov byte [ebp - 0x1e1], al
mov word [ebp - 0x1e4], 0xd2d2
mov byte [ebp - 0x1e2], 0xd2
push dword [ebp - 0x1e4]
push ecx
mov ecx, dword [ebp - 0x22c]
push 2
lea ecx, [ecx - 5]
call fcn.100832b0
mov esi, dword [ebp - 0x22c]
jmp 0x1008ddf6
push ecx
mov ecx, dword [ebp - 0x254]
mov eax, esp
mov byte [eax], cl
mov ecx, dword [ebp - 0x200]
mov byte [eax + 1], cl
mov ecx, dword [ebp - 0x258]
mov byte [eax + 3], cl
lea ecx, [esi + 2]
mov esi, dword [ebp - 0x22c]
push ecx
push 2
mov byte [eax + 2], 0
lea ecx, [esi - 5]
call fcn.100832b0
mov eax, dword [0x101398d0]
add esp, 0xc
add eax, 0xffffffc3
xor eax, 0x52891235
cmp dword [eax + edi], 0x5c
jg 0x1008de6e
mov edx, dword [ebp - 0x1f8]
lea ecx, [ebp - 0x248]
call fcn.1002f470
push 2
push eax
push ecx
mov ecx, dword [ebp - 0x1d8]
mov eax, esp
mov dword [ebp - 4], 3
mov byte [eax + 3], cl
mov ecx, dword [ebp - 0x228]
mov word [eax], 0xffff
add ecx, 0xfffffffc
mov byte [eax + 2], 0xff
mov eax, dword [ebp - 0x1f0]
add eax, ecx
mov ecx, 0x1013b6fc
push eax
lea eax, [esi - 5]
push eax
call fcn.100839d0
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call fcn.1001d330
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
imul eax, eax, 0x408
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea esi, [eax + 0x100bebec]
mov dword [ebp - 0x1f0], esi
cmp byte [ebp - 0x1dd], 0
mov dword [ebp - 4], 4
movq qword [ebp - 0x68], xmm0
mov dword [ebp - 0x60], 0
je 0x1008deef
push 0x100b607c
lea ecx, [ebp - 0x2cc]
call fcn.1001c830
mov ecx, dword [ebp - 0x1fc]
lea eax, [ebp - 0x2cc]
or ecx, 0x20
or ecx, 1
jmp 0x1008df0e
push 0x100b6854
lea ecx, [ebp - 0x2c0]
call fcn.1001c830
mov ecx, dword [ebp - 0x1fc]
lea eax, [ebp - 0x2c0]
or ecx, 0x42
mov edx, dword [eax + 8]
mov dword [ebp - 0x1ec], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x1f8], edx
mov edx, dword [eax]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x1fc], ecx
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 6
test cl, 2
je 0x1008df7d
and ecx, 0xfffffffd
mov dword [ebp - 0x1fc], ecx
lea ecx, [ebp - 0x2c0]
call fcn.1001c7d0
mov ecx, dword [ebp - 0x1fc]
mov byte [ebp - 4], 7
test cl, 1
je 0x1008df9a
and ecx, 0xfffffffe
mov dword [ebp - 0x1fc], ecx
lea ecx, [ebp - 0x2cc]
call fcn.1001c7d0
mov eax, dword [ebp - 0x254]
cmp eax, dword [ebp - 0x1f8]
je 0x1008f0da
add edi, 8
mov esi, eax
mov dword [ebp - 0x260], edi
nop word [eax + eax]
mov eax, dword [0x101396e8]
test eax, eax
je 0x1008e1c5
mov eax, dword [eax]
mov ecx, edi
mov dword [ebp - 0x200], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [ebp - 0x200]
sub esp, 8
movd xmm0, dword [ecx + eax*4 + 0xae4]
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x268], xmm0
fld qword [ebp - 0x268]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_round
fstp qword [ebp - 0x268]
cvttsd2si edx, qword [ebp - 0x268]
add esp, 8
cmp edx, 0x96
jl 0x1008e1c5
mov eax, dword [ebp - 0x1d8]
movzx ecx, al
mov eax, 0x64d29b
shl ecx, 0x18
cmp edx, 0xc8
cmovg eax, dword [ebp - 0x2b4]
or ecx, eax
mov dword [ebp - 0x200], ecx
lea ecx, [ebp - 0x248]
call fcn.1002f470
mov ecx, eax
mov byte [ebp - 4], 8
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 2
jb 0x1008e091
cmp dword [ecx + 0x14], 0xf
lea eax, [edx + 2]
mov dword [ecx + 0x10], eax
mov eax, ecx
jbe 0x1008e07b
mov eax, dword [ecx]
mov edi, 0x736d
mov word [eax + edx], di
mov edi, dword [ebp - 0x260]
mov byte [eax + edx + 2], 0
jmp 0x1008e0ae
push 2
push 0x100a7900
mov byte [ebp - 0x230], 0
push dword [ebp - 0x230]
push 2
call fcn.10035450
mov ecx, eax
movups xmm1, xmmword [ecx]
or dword [ebp - 0x1fc], 0x10
movq xmm2, qword [ecx + 0x10]
movups xmmword [ebp - 0x44], xmm1
mov dword [ecx + 0x10], 0
movq qword [ebp - 0x34], xmm2
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov ecx, dword [ebp - 0x200]
xorps xmm0, xmm0
movups xmmword [ebp - 0x21c], xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x21c], xmm1
mov dword [ebp - 0x30], 0xf
movq qword [ebp - 0x20c], xmm2
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x204], ecx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x1008e137
movups xmmword [eax], xmm1
mov edx, 0xf
mov byte [ebp - 0x21c], 0
movq qword [eax + 0x10], xmm2
mov dword [eax + 0x18], ecx
add dword [ebp - 0x1c], 0x1c
jmp 0x1008e14d
lea ecx, [ebp - 0x21c]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.10064370
mov edx, dword [ebp - 0x208]
mov byte [ebp - 4], 9
cmp edx, 0xf
jbe 0x1008e187
lea ecx, [edx + 1]
mov edx, dword [ebp - 0x21c]
mov eax, edx
cmp ecx, 0x1000
jb 0x1008e17d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f4e1
push ecx
push edx
call fcn.100963ea
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x234]
cmp ecx, 0xf
jbe 0x1008e1c5
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008e1bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f4e1
push ecx
push edx
call fcn.100963ea
add esp, 8
cmp dword [esi], 0
jne 0x1008e396
mov eax, dword [0x101398d4]
lea ecx, [ebp - 0x248]
add eax, 0xffffffc2
mov edx, 0x100a7904
xor eax, 0x52891236
add eax, dword [ebp - 0x1e8]
push eax
call fcn.10068260
add esp, 4
cmp byte [ebp - 0x1d1], 0
je 0x1008e298
mov ecx, dword [ebp - 0x1d8]
mov byte [ebp - 0x269], cl
lea ecx, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 0xb
mov word [ebp - 0x26c], 0xd2d2
mov byte [ebp - 0x26a], 0xd2
call fcn.1001d3c0
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x204], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
je 0x1008e279
movups xmm0, xmmword [ebp - 0x21c]
mov edx, 0xf
mov byte [ebp - 0x21c], 0
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x20c]
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], eax
add dword [ebp - 0x1c], 0x1c
mov byte [ebp - 4], 0xb
jmp 0x1008e322
lea eax, [ebp - 0x21c]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.10064370
mov edx, dword [ebp - 0x208]
mov byte [ebp - 4], 0xb
jmp 0x1008e322
mov ecx, dword [ebp - 0x1d8]
mov byte [ebp - 0x26d], cl
lea ecx, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 0xd
mov word [ebp - 0x270], 0xd29b
mov byte [ebp - 0x26e], 0x64
call fcn.1001d3c0
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x204], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
je 0x1008e308
movups xmm0, xmmword [ebp - 0x21c]
mov edx, 0xf
mov byte [ebp - 0x21c], 0
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x20c]
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], eax
add dword [ebp - 0x1c], 0x1c
jmp 0x1008e31e
lea eax, [ebp - 0x21c]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.10064370
mov edx, dword [ebp - 0x208]
mov byte [ebp - 4], 0xd
cmp edx, 0xf
jbe 0x1008e358
lea ecx, [edx + 1]
mov edx, dword [ebp - 0x21c]
mov eax, edx
cmp ecx, 0x1000
jb 0x1008e34e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f4e1
push ecx
push edx
call fcn.100963ea
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x234]
cmp ecx, 0xf
jbe 0x1008e396
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008e38c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f4e1
push ecx
push edx
call fcn.100963ea
add esp, 8
cmp dword [esi], 1
mov ecx, dword [ebp - 0x1e8]
jne 0x1008e538
mov eax, dword [0x10139920]
add eax, 0xffffffaf
xor eax, 0x52891249
cmp dword [eax + ecx], 0
jle 0x1008e538
mov eax, dword [0x10139904]
add eax, 0xffffffb6
xor eax, 0x52891242
cmp byte [eax + ecx], 0
lea ecx, [ebp - 0x248]
je 0x1008e47a
cmp byte [ebp - 0x1d1], 0
je 0x1008e42e
push 0x100a7908
call fcn.1001d380
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0xf
mov byte [ebp - 0x271], al
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x248]
mov word [ebp - 0x274], 0xd2d2
push eax
mov byte [ebp - 0x272], 0xd2
call fcn.100935a0
mov byte [ebp - 4], 0x10
jmp 0x1008e509
push 0x100a790c
call fcn.1001d380
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0x11
mov byte [ebp - 0x2ad], al
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x248]
mov word [ebp - 0x2b0], 0xffff
push eax
mov byte [ebp - 0x2ae], 0xff
call fcn.100935a0
mov byte [ebp - 4], 0x12
jmp 0x1008e509
push 0x100a43cc
call fcn.1001d380
cmp byte [ebp - 0x1d1], 0
je 0x1008e4cc
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0x13
mov byte [ebp - 0x2a9], al
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x248]
mov word [ebp - 0x2ac], 0xd2d2
push eax
mov byte [ebp - 0x2aa], 0xd2
call fcn.100935a0
mov byte [ebp - 4], 0x14
jmp 0x1008e509
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0x15
mov byte [ebp - 0x2a5], al
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x248]
mov word [ebp - 0x2a8], 0xffff
push eax
mov byte [ebp - 0x2a6], 0xff
call fcn.100935a0
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20]
call fcn.100928e0
lea ecx, [ebp - 0x21c]
call fcn.1001d330
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 7
call fcn.1001d330
mov ecx, dword [ebp - 0x1e8]
cmp dword [esi], 2
jne 0x1008e734
mov eax, dword [0x10139910]
add eax, 0xffffffb3
xor eax, 0x52891245
cmp byte [eax + ecx], 0
je 0x1008e734
cmp byte [ebp - 0x1d1], 0
lea ecx, [ebp - 0x44]
je 0x1008e655
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push str.scoped
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
call fcn.1001deb0
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 0x2a1], al
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0x17
mov word [ebp - 0x2a4], 0xd2d2
mov byte [ebp - 0x2a2], 0xd2
call fcn.1001d3c0
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x204], eax
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
je 0x1008e5fc
movups xmm0, xmmword [ebp - 0x21c]
mov edx, 0xf
mov byte [ebp - 0x21c], 0
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x20c]
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], eax
add dword [ebp - 0x1c], 0x1c
jmp 0x1008e612
lea eax, [ebp - 0x21c]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.10064370
mov edx, dword [ebp - 0x208]
mov byte [ebp - 4], 0x17
cmp edx, 0xf
jbe 0x1008e6fc
lea ecx, [edx + 1]
mov edx, dword [ebp - 0x21c]
mov eax, edx
cmp ecx, 0x1000
jb 0x1008e646
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f4e1
push ecx
push edx
call fcn.100963ea
add esp, 8
jmp 0x1008e6fc
push str.scoped
call fcn.1001d380
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x24c]
mov byte [ebp - 0x299], al
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0x19
mov word [ebp - 0x29c], 0xaf00
mov byte [ebp - 0x29a], 0xff
call fcn.1001d3c0
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
je 0x1008e6e1
movups xmm0, xmmword [ebp - 0x24c]
mov byte [ebp - 0x24c], 0
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x23c]
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], eax
add dword [ebp - 0x1c], 0x1c
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
jmp 0x1008e6f1
lea eax, [ebp - 0x24c]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.10064370
lea ecx, [ebp - 0x24c]
call fcn.1001d330
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x1008e734
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008e72a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f4e1
push ecx
push edx
call fcn.100963ea
add esp, 8
cmp dword [esi], 3
xorps xmm1, xmm1
mov ecx, dword [ebp - 0x1e8]
jne 0x1008e948
mov eax, dword [0x1013992c]
add eax, 0xffffffac
xor eax, 0x5289124c
movss xmm0, dword [eax + ecx]
comiss xmm0, xmm1
jbe 0x1008e948
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
push str.flash
movups xmmword [ebp - 0x44], xmm0
call fcn.1001deb0
cmp byte [ebp - 0x1d1], 0
je 0x1008e896
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 0x295], al
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0x1b
mov word [ebp - 0x298], 0xd2d2
mov byte [ebp - 0x296], 0xd2
call fcn.1001d3c0
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x204], eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
je 0x1008e805
movups xmm0, xmmword [ebp - 0x21c]
mov edx, 0xf
mov byte [ebp - 0x21c], 0
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x20c]
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], eax
add dword [ebp - 0x1c], 0x1c
jmp 0x1008e81b
lea eax, [ebp - 0x21c]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.10064370
mov edx, dword [ebp - 0x208]
mov byte [ebp - 4], 0x1b
cmp edx, 0xf
jbe 0x1008e855
lea ecx, [edx + 1]
mov edx, dword [ebp - 0x21c]
mov eax, edx
cmp ecx, 0x1000
jb 0x1008e84b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f4e1
push ecx
push edx
call fcn.100963ea
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x1008e93f
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008e887
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f4e1
push ecx
push edx
call fcn.100963ea
add esp, 8
jmp 0x1008e93f
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x24c]
mov byte [ebp - 0x29d], al
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0x1d
mov word [ebp - 0x2a0], 0xaf00
mov byte [ebp - 0x29e], 0xff
call fcn.1001d3c0
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
je 0x1008e918
movups xmm0, xmmword [ebp - 0x24c]
mov byte [ebp - 0x24c], 0
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x23c]
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], eax
add dword [ebp - 0x1c], 0x1c
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
jmp 0x1008e928
lea eax, [ebp - 0x24c]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.10064370
lea ecx, [ebp - 0x24c]
call fcn.1001d330
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.1001d330
mov ecx, dword [ebp - 0x1e8]
xorps xmm1, xmm1
cmp dword [esi], 4
jne 0x1008ea74
mov eax, dword [0x10139808]
mov edx, dword [ecx + eax]
movss xmm0, dword [edx + 0x58]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1008ea74
mov eax, dword [edx + 0x50]
mov dword [ebp - 0x200], eax
mov eax, dword [0x101397bc]
mov dword [ebp - 0x1f4], eax
mov eax, dword [0x10139828]
cmp dword [ecx + eax], 0
jne 0x1008e99c
mov eax, dword [0x10139798]
call eax
mov eax, dword [0x10139828]
mov ecx, dword [ebp - 0x1e8]
mov edx, dword [ebp - 0x200]
mov ecx, dword [ecx + eax]
call dword [ebp - 0x1f4]
cmp eax, 0x3c7
jne 0x1008ea74
push 0x100a43e0
lea ecx, [ebp - 0x248]
call fcn.1001d380
cmp byte [ebp - 0x1d1], 0
je 0x1008ea0e
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0x1f
mov byte [ebp - 0x291], al
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x248]
mov word [ebp - 0x294], 0xd2d2
push eax
mov byte [ebp - 0x292], 0xd2
call fcn.100935a0
mov byte [ebp - 4], 0x20
jmp 0x1008ea4b
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0x21
mov byte [ebp - 0x28d], al
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x248]
mov word [ebp - 0x290], 0xaf00
push eax
mov byte [ebp - 0x28e], 0xff
call fcn.100935a0
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20]
call fcn.100928e0
lea ecx, [ebp - 0x21c]
call fcn.1001d330
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 7
call fcn.1001d330
cmp dword [esi], 5
jne 0x1008ec61
mov eax, dword [0x101397c8]
mov ecx, dword [ebp - 0x1e8]
call eax
test al, al
je 0x1008ec61
cmp byte [ebp - 0x1d1], 0
lea ecx, [ebp - 0x44]
je 0x1008eb5c
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push str.bomb
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
call fcn.1001deb0
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 0x289], al
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0x23
mov word [ebp - 0x28c], 0xd2d2
mov byte [ebp - 0x28a], 0xd2
call fcn.1001d3c0
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x204], eax
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
je 0x1008eb3d
movups xmm0, xmmword [ebp - 0x21c]
mov edx, 0xf
mov byte [ebp - 0x21c], 0
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x20c]
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], eax
add dword [ebp - 0x1c], 0x1c
mov byte [ebp - 4], 0x23
jmp 0x1008ebf3
lea eax, [ebp - 0x21c]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.10064370
mov edx, dword [ebp - 0x208]
mov byte [ebp - 4], 0x23
jmp 0x1008ebf3
push str.bomb
call fcn.1001d380
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 0x281], al
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0x25
mov word [ebp - 0x284], 0xff
mov byte [ebp - 0x282], 0
call fcn.1001d3c0
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x204], eax
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
je 0x1008ebd9
movups xmm0, xmmword [ebp - 0x21c]
mov edx, 0xf
mov byte [ebp - 0x21c], 0
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x20c]
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], eax
add dword [ebp - 0x1c], 0x1c
jmp 0x1008ebef
lea eax, [ebp - 0x21c]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.10064370
mov edx, dword [ebp - 0x208]
mov byte [ebp - 4], 0x25
cmp edx, 0xf
jbe 0x1008ec29
lea ecx, [edx + 1]
mov edx, dword [ebp - 0x21c]
mov eax, edx
cmp ecx, 0x1000
jb 0x1008ec1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f4e1
push ecx
push edx
call fcn.100963ea
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x1008ec61
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008ec57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f4e1
push ecx
push edx
call fcn.100963ea
add esp, 8
cmp dword [esi], 6
jne 0x1008ed96
cmp byte [ebp - 0x1dd], 0
je 0x1008ed96
mov eax, dword [ebp - 0x1f0]
cmp dword [eax + 0x18], 0
jbe 0x1008ed96
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov eax, edx
shr eax, 1
dec ecx
and ecx, eax
mov word [ebp - 0x1e4], 0xffff
mov eax, dword [ebp - 0x1f0]
and edx, 1
mov byte [ebp - 0x1e2], 0xff
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x1d8]
mov byte [ebp - 0x1e1], cl
mov eax, dword [eax + edx*8]
mov eax, dword [eax + 0x3454]
cmp eax, 1
je 0x1008ecd2
cmp eax, 2
jne 0x1008ecf4
mov word [ebp - 0x280], 0xd29b
mov byte [ebp - 0x27e], 0x64
mov byte [ebp - 0x27d], cl
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x1e4], eax
push str.fake
lea ecx, [ebp - 0x248]
call fcn.1001d380
cmp byte [ebp - 0x1d1], 0
je 0x1008ed4c
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0x27
mov byte [ebp - 0x285], al
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x248]
mov word [ebp - 0x288], 0x8282
push eax
mov byte [ebp - 0x286], 0x82
call fcn.100935a0
mov byte [ebp - 4], 0x28
jmp 0x1008ed6d
lea eax, [ebp - 0x1e4]
mov byte [ebp - 4], 0x29
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x21c]
call fcn.100935a0
mov byte [ebp - 4], 0x2a
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20]
call fcn.100928e0
lea ecx, [ebp - 0x21c]
call fcn.1001d330
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 7
call fcn.1001d330
cmp dword [esi], 7
jne 0x1008eefa
mov ecx, dword [0x10139964]
mov eax, dword [0x1013051c]
add ecx, 0xffffff9e
xor ecx, 0x5289125a
mov eax, dword [ecx + eax]
mov ecx, dword [0x10139658]
mov dword [ebp - 0x1f4], ecx
mov edx, dword [ecx]
mov ecx, dword [edx + 0x10]
push ecx
mov edx, esp
mov dword [ebp - 0x200], ecx
mov ecx, dword [ebp - 0x1f4]
mov dword [edx], eax
call dword [ebp - 0x200]
mov ecx, eax
mov dword [ebp - 0x200], ecx
test ecx, ecx
je 0x1008eefa
mov eax, dword [ecx]
mov eax, dword [eax + 0x6f8]
call eax
mov ecx, dword [ebp - 0x200]
cmp dword [eax + 0xc8], 0
jne 0x1008ee1e
mov eax, dword [0x10139980]
add eax, 0xffffff97
xor eax, 0x52891261
cmp dword [eax + ecx], 0x1f
jne 0x1008eefa
mov eax, dword [ecx]
mov eax, dword [eax + 0x6f8]
call eax
mov ecx, dword [0x101398d0]
sub esp, 8
add ecx, 0xffffffc3
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x1e8]
xor ecx, 0x52891235
movd xmm0, dword [ecx + eax]
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x268], xmm0
fld qword [ebp - 0x268]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_round
mov ecx, dword [ebp - 0x1f4]
add esp, 8
fstp qword [ebp - 0x268]
cvttsd2si eax, qword [ebp - 0x268]
cmp dword [ecx + 0xec], eax
jl 0x1008eefa
push str.lethal
lea ecx, [ebp - 0x248]
call fcn.1001d380
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0x2b
mov byte [ebp - 0x275], al
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x248]
mov word [ebp - 0x278], 0xa9a3
push eax
mov byte [ebp - 0x276], 0x6f
call fcn.100935a0
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 0x2c
push eax
lea ecx, [ebp - 0x20]
call fcn.100928e0
lea ecx, [ebp - 0x21c]
call fcn.1001d330
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 7
call fcn.1001d330
cmp dword [esi], 8
mov eax, dword [ebp - 0x1f0]
jne 0x1008f00b
cmp dword [eax + 0x18], 1
jb 0x1008f00b
cmp byte [eax + 0x3f0], 0
je 0x1008f00b
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push 0x100a7978
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
call fcn.1001deb0
cmp byte [ebp - 0x1d1], 0
lea ecx, [ebp - 0x21c]
mov eax, dword [ebp - 0x1d8]
mov byte [ebp - 4], 0x2d
je 0x1008ef89
mov byte [ebp - 0x279], al
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x44]
mov word [ebp - 0x27c], 0x8282
push eax
mov byte [ebp - 0x27a], 0x82
call fcn.100935a0
mov byte [ebp - 4], 0x2e
jmp 0x1008efb3
mov byte [ebp - 0x259], al
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x44]
mov word [ebp - 0x25c], 0xffff
push eax
mov byte [ebp - 0x25a], 0xff
call fcn.100935a0
mov byte [ebp - 4], 0x2f
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20]
call fcn.100928e0
lea ecx, [ebp - 0x21c]
call fcn.1001d330
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x1008f005
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008effb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f4e1
push ecx
push edx
call fcn.100963ea
add esp, 8
mov eax, dword [ebp - 0x1f0]
cmp dword [esi], 9
jne 0x1008f0bf
test eax, eax
je 0x1008f0bf
cmp dword [eax + 0x18], 0
jbe 0x1008f0bf
cmp byte [ebp - 0x1dd], 0
je 0x1008f0bf
cmp byte [ebp - 0x1d1], 0
jne 0x1008f0bf
cmp byte [eax + 0x3f1], 0
je 0x1008f0bf
push 0x100a797c
lea ecx, [ebp - 0x248]
call fcn.1001d380
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0x30
mov byte [ebp - 0x1d9], al
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x248]
mov word [ebp - 0x1dc], 0xdcdc
push eax
mov byte [ebp - 0x1da], 0xdc
call fcn.100935a0
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 0x31
push eax
lea ecx, [ebp - 0x20]
call fcn.100928e0
lea ecx, [ebp - 0x21c]
call fcn.1001d330
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 7
call fcn.1001d330
add esi, 4
cmp esi, dword [ebp - 0x1f8]
jne 0x1008dfc0
mov edi, dword [ebp - 0x1e8]
mov esi, dword [ebp - 0x1f0]
test esi, esi
je 0x1008f39d
cmp dword [esi + 0x18], 0
je 0x1008f39d
cmp byte [ebp - 0x1dd], 0
je 0x1008f39d
cmp byte [0x100b2104], 0
je 0x1008f39d
lea ecx, [esi + 8]
call fcn.1001caa0
mov ecx, dword [eax]
mov eax, dword [ecx + 0x3454]
cmp eax, 6
jne 0x1008f16d
push 0x100a78e4
lea ecx, [ebp - 0x248]
call fcn.1001d380
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0x32
mov byte [ebp - 0x1d9], al
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x248]
mov word [ebp - 0x1dc], 0xffff
push eax
mov byte [ebp - 0x1da], 0xff
call fcn.100935a0
mov byte [ebp - 4], 0x33
jmp 0x1008f374
cmp eax, 3
jne 0x1008f1c4
push str.no_move
lea ecx, [ebp - 0x248]
call fcn.1001d380
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0x34
mov byte [ebp - 0x1d9], al
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x248]
mov word [ebp - 0x1dc], 0xffff
push eax
mov byte [ebp - 0x1da], 0xff
call fcn.100935a0
mov byte [ebp - 4], 0x35
jmp 0x1008f374
cmp eax, 2
jne 0x1008f21b
push str.predict
lea ecx, [ebp - 0x248]
call fcn.1001d380
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0x36
mov byte [ebp - 0x1d9], al
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x248]
mov word [ebp - 0x1dc], 0xffff
push eax
mov byte [ebp - 0x1da], 0xff
call fcn.100935a0
mov byte [ebp - 4], 0x37
jmp 0x1008f374
cmp eax, 0xa
jne 0x1008f272
push str.no_move
lea ecx, [ebp - 0x248]
call fcn.1001d380
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0x38
mov byte [ebp - 0x1d9], al
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x248]
mov word [ebp - 0x1dc], 0xffff
push eax
mov byte [ebp - 0x1da], 0xff
call fcn.100935a0
mov byte [ebp - 4], 0x39
jmp 0x1008f374
cmp eax, 7
jne 0x1008f2c9
push 0x100a4e1c
lea ecx, [ebp - 0x248]
call fcn.1001d380
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0x3a
mov byte [ebp - 0x1d9], al
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x248]
mov word [ebp - 0x1dc], 0xffff
push eax
mov byte [ebp - 0x1da], 0xff
call fcn.100935a0
mov byte [ebp - 4], 0x3b
jmp 0x1008f374
cmp eax, 0xb
jne 0x1008f327
mov eax, dword [ebp - 0x1d8]
mov byte [ebp - 0x1d9], al
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ecx + 0x90]
mov word [ebp - 0x1dc], 0xffff
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 0x1da], 0xff
call fcn.100935a0
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 0x3c
push eax
lea ecx, [ebp - 0x20]
call fcn.100928e0
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 7
call fcn.1001d330
jmp 0x1008f39d
push str.moving
lea ecx, [ebp - 0x248]
call fcn.1001d380
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0x3d
mov byte [ebp - 0x1d9], al
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x248]
mov word [ebp - 0x1dc], 0xffff
push eax
mov byte [ebp - 0x1da], 0xff
call fcn.100935a0
mov byte [ebp - 4], 0x3e
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20]
call fcn.100928e0
lea ecx, [ebp - 0x21c]
call fcn.1001d330
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 7
call fcn.1001d330
mov ecx, dword [ebp - 0x1c]
mov eax, 0x92492493
mov esi, dword [ebp - 0x20]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1008f440
mov eax, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x224]
add eax, 2
add edx, eax
xor eax, eax
mov dword [ebp - 0x1f4], edx
xor edi, edi
mov dword [ebp - 0x1f8], eax
nop
add eax, esi
mov ecx, edi
imul ecx, dword [0x1013b704]
push 0
push eax
push dword [eax + 0x18]
mov eax, dword [ebp - 0x228]
inc ecx
dec eax
add eax, ecx
mov ecx, 0x1013b6fc
push eax
push edx
call fcn.100839d0
mov ecx, dword [ebp - 0x1c]
mov eax, 0x92492493
mov esi, dword [ebp - 0x20]
inc edi
add dword [ebp - 0x1f8], 0x1c
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1f4]
cmp edi, eax
mov eax, dword [ebp - 0x1f8]
jb 0x1008f3e0
mov edi, dword [ebp - 0x1e8]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x254]
test edx, edx
je 0x1008f487
mov eax, dword [ebp - 0x1ec]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1008f47a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f4e1
push ecx
push edx
call fcn.100963ea
mov esi, dword [ebp - 0x20]
add esp, 8
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1008f4f1
mov edx, dword [ebp - 0x1c]
push ecx
mov ecx, esi
call fcn.10063fc0
mov ecx, dword [ebp - 0x18]
mov eax, 0x92492493
mov esi, dword [ebp - 0x20]
add esp, 4
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x1008f4e7
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008f4e7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.100963ea
add esp, 8
cmp byte [ebp - 0x1dd], 0
mov dword [ebp - 0x1fc], 3
je 0x1008fdf1
cmp byte [0x100b654c], 0
je 0x1008f6a7
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
imul eax, eax, 0x408
lea esi, [eax + 0x100bebec]
test esi, esi
je 0x1008f6a7
cmp byte [esi + 0x54], 0
je 0x1008f6a7
cmp dword [esi + 0x18], 0
je 0x1008f6a7
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
and edx, 1
shr eax, 1
dec ecx
and ecx, eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*8]
test eax, eax
je 0x1008f6a7
movss xmm1, dword [eax + 0x4c]
movss xmm0, dword [eax + 0x48]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10016110
cvtss2sd xmm0, xmm0
comisd xmm0, xmmword [0x100a7ac0]
jbe 0x1008f59f
cmp byte [eax + 0x3744], 0
je 0x1008f6a7
cmp dword [esi + 0x388], 3
jg 0x1008f6a7
movss xmm0, dword [esi + 0x358]
lea edx, [ebp - 0x230]
subss xmm0, dword [eax + 0x3460]
lea eax, [ebp - 0x1f4]
mov dword [ebp - 0x1f4], 0x3f800000
push eax
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x230], 0
movss dword [ebp - 0x260], xmm0
call fcn.1001dcb0
mov edx, dword [ebp - 0x224]
xorps xmm0, xmm0
add esp, 4
movd xmm1, edx
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax]
mulss xmm1, dword [0x100a7a94]
comiss xmm1, xmm0
movss dword [ebp - 0x1f4], xmm1
jbe 0x1008f6a7
mov esi, dword [ebp - 0x22c]
push ecx
mov ecx, dword [ebp - 0x1d8]
mov eax, esp
push 4
push edx
mov edx, dword [ebp - 0x220]
mov byte [eax + 3], cl
mov ecx, esi
mov word [eax], 0xa0a
mov byte [eax + 2], 0xa
mov eax, dword [ebp - 0x228]
add eax, 2
add edx, eax
call fcn.100832f0
mov eax, dword [0x100b65f0]
lea ecx, [esi + 1]
mov edx, dword [ebp - 0x220]
add esp, 0xc
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x258]
mov byte [ebp - 0x1e9], al
cvttss2si eax, dword [ebp - 0x1f4]
push dword [ebp - 0x1ec]
push 2
push eax
mov eax, dword [ebp - 0x228]
add eax, 3
add edx, eax
call fcn.100832b0
add esp, 0xc
mov dword [ebp - 0x1fc], 8
mov ecx, dword [0x10139658]
mov eax, dword [0x10139964]
add eax, 0xffffff9e
push ecx
mov edx, dword [ecx]
xor eax, 0x5289125a
mov esi, dword [edx + 0x10]
mov edx, esp
mov eax, dword [eax + edi]
mov dword [edx], eax
call esi
mov esi, eax
mov dword [ebp - 0x1f8], esi
test esi, esi
je 0x1008fdf1
mov ecx, dword [esi]
mov edx, dword [ecx + 0x6f8]
mov ecx, esi
call edx
test eax, eax
je 0x1008fdf1
mov edx, dword [eax + 0x14]
xorps xmm1, xmm1
mov eax, dword [0x10139984]
add eax, 0xffffff96
mov dword [ebp - 0x25c], edx
xor eax, 0x52891262
mov ecx, dword [eax + esi]
mov eax, dword [0x10139808]
mov dword [ebp - 0x200], ecx
mov ecx, dword [edi + eax]
mov dword [ebp - 0x260], ecx
movss xmm0, dword [ecx + 0x58]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1008f777
mov eax, dword [ecx + 0x50]
mov ecx, dword [0x101397bc]
mov dword [ebp - 0x230], ecx
mov ecx, dword [0x10139828]
mov dword [ebp - 0x1f4], eax
cmp dword [edi + ecx], 0
jne 0x1008f761
mov eax, dword [0x10139798]
mov ecx, edi
call eax
mov ecx, dword [0x10139828]
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [edi + ecx]
mov edx, eax
call dword [ebp - 0x230]
cmp eax, 0x3c7
jne 0x1008f777
mov al, 1
jmp 0x1008f779
xor al, al
mov ecx, dword [ebp - 0x25c]
mov byte [ebp - 0x1ed], al
cmp ecx, 0xffffffff
je 0x1008f9b5
cmp byte [0x100b6380], 0
je 0x1008f9b5
test al, al
je 0x1008f7ac
mov eax, dword [ebp - 0x260]
movss xmm1, dword [eax + 0x64]
jmp 0x1008f7c2
movd xmm1, dword [ebp - 0x200]
movd xmm0, ecx
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mov eax, dword [ebp - 0x224]
add eax, 0xfffffffe
push ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x1f4], xmm0
fld dword [ebp - 0x1f4]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
mov eax, dword [ebp - 0x1d8]
add esp, 4
mov ecx, dword [0x10139660]
mov esi, dword [ebp - 0x22c]
mov byte [ebp - 0x1d9], al
dec esi
mov eax, dword [ebp - 0x1fc]
add eax, dword [ebp - 0x228]
add eax, dword [ebp - 0x220]
mov dword [ebp - 0x254], eax
mov word [ebp - 0x1dc], 0
mov byte [ebp - 0x1da], 0
push dword [ebp - 0x1dc]
lea edi, [eax - 1]
mov eax, dword [ecx]
fstp dword [ebp - 0x1f4]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10139660]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [edi + 4]
push eax
mov eax, dword [ebp - 0x224]
add eax, 2
add eax, esi
push eax
push edi
push esi
call edx
cmp byte [ebp - 0x1d1], 0
cvttss2si edi, dword [ebp - 0x1f4]
mov eax, dword [0x100b64ac]
mov ecx, dword [ebp - 0x258]
mov esi, dword [ebp - 0x254]
mov edx, esi
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 0x1e9], cl
lea eax, [edi + 2]
je 0x1008f8b7
mov word [ebp - 0x1dc], 0xd2d2
mov byte [ebp - 0x1da], 0xd2
mov byte [ebp - 0x1d9], cl
push dword [ebp - 0x1dc]
jmp 0x1008f8bd
push dword [ebp - 0x1ec]
mov ecx, dword [ebp - 0x22c]
push 2
push eax
call fcn.100832b0
mov ecx, dword [ebp - 0x200]
add esp, 0xc
test ecx, ecx
jle 0x1008f99e
mov edx, dword [ebp - 0x25c]
xorps xmm3, xmm3
movss xmm4, dword [0x100a7c98]
movss xmm2, dword [0x100a7c8c]
cvtsi2ss xmm3, edx
mulss xmm3, dword [0x100a7a90]
andps xmm4, xmm3
movaps xmm0, xmm3
xorps xmm0, xmm4
movaps xmm1, xmm3
cmpltss xmm0, xmm2
andps xmm2, xmm0
orps xmm2, xmm4
addss xmm1, xmm2
subss xmm1, xmm2
movss xmm2, dword [0x100a7aa8]
movaps xmm0, xmm1
subss xmm0, xmm3
cmpnless xmm0, xmm4
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si eax, xmm1
cmp ecx, eax
jg 0x1008f99e
cmp byte [ebp - 0x1ed], 0
jne 0x1008f99e
mov edx, ecx
lea ecx, [ebp - 0x248]
call fcn.1002f470
push 2
push eax
push ecx
mov ecx, dword [ebp - 0x1d8]
mov eax, esp
mov dword [ebp - 4], 0x3f
push esi
mov byte [eax + 3], cl
mov ecx, 0x1013b6fc
mov word [eax], 0xffff
mov byte [eax + 2], 0xff
mov eax, dword [ebp - 0x22c]
add eax, edi
push eax
call fcn.100839d0
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call fcn.1001d330
mov edi, dword [ebp - 0x1fc]
mov esi, dword [ebp - 0x1f8]
add edi, 4
mov dword [ebp - 0x1fc], edi
jmp 0x1008f9bb
mov edi, dword [ebp - 0x1fc]
cmp byte [0x100b6180], 0
je 0x1008fcb8
mov eax, dword [0x101397d8]
mov ecx, esi
call eax
test eax, eax
je 0x1008fb7d
mov edx, dword [0x101397e0]
mov ecx, eax
call edx
test eax, eax
je 0x1008fb7d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
mov ecx, dword [0x101396a4]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
call edx
mov edx, eax
mov dword [ebp - 0x64], 0
mov ecx, edx
mov dword [ebp - 0x60], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x74], xmm0
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1008fa20
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.100423a0
mov dword [ebp - 4], 0x40
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0x41
mov edx, dword [ebp - 0x64]
test edx, edx
jne 0x1008fa7b
mov edi, 0xf
mov dword [ebp - 0x4c], edx
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], edi
mov byte [ebp - 0x5c], dl
jmp 0x1008fb38
cmp dword [ebp - 0x60], 7
lea eax, [ebp - 0x74]
mov ecx, dword [0x100bef48]
cmova eax, dword [ebp - 0x74]
push 0
push 0
push 0
push 0
push edx
push eax
push 0
push 0xfde9
call ecx
mov esi, eax
lea ecx, [ebp - 0x248]
push 0
push esi
call fcn.10033c50
push eax
lea ecx, [ebp - 0x2c]
call fcn.10033bd0
mov ecx, dword [ebp - 0x234]
cmp ecx, 0xf
jbe 0x1008faf4
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008faea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008faea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100963ea
add esp, 8
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
mov edx, dword [0x100bef48]
lea eax, [ebp - 0x74]
cmova ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x60], 7
push 0
cmova eax, dword [ebp - 0x74]
push 0
push esi
push ecx
push dword [ebp - 0x64]
push eax
push 0
push 0xfde9
call edx
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [ebp - 0x4c], xmm0
mov edi, dword [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x60]
cmp ecx, 7
jbe 0x1008fba4
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1008fb71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008fb71
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100963ea
add esp, 8
jmp 0x1008fba1
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
push str.error
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x5c], xmm0
call fcn.1001deb0
mov edi, dword [ebp - 0x48]
mov dword [ebp - 4], 0x42
lea ecx, [ebp - 0x5c]
mov edx, dword [ebp - 0x5c]
lea esi, [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
cmp edi, 0xf
push dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
cmova ecx, edx
cmova esi, edx
add eax, ecx
lea ecx, [ebp - 0x5c]
cmp edi, 0xf
push esi
cmova ecx, edx
push eax
push ecx
lea ecx, [ebp - 0x264]
call fcn.100933d0
mov ecx, dword [ebp - 0x5c]
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
lea edi, [ebp - 0x5c]
add esp, 0x10
cmp dword [ebp - 0x48], 0xf
cmova edx, ecx
add eax, edx
cmp dword [ebp - 0x48], 0xf
mov esi, eax
cmova edi, ecx
cmp edi, esi
je 0x1008fc18
movsx eax, byte [edi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [edi], al
add esp, 4
inc edi
cmp edi, esi
jne 0x1008fc04
cmp byte [ebp - 0x1d1], 0
lea eax, [ebp - 0x5c]
mov edi, dword [ebp - 0x1fc]
push 2
push eax
push ecx
mov eax, esp
je 0x1008fc44
mov ecx, dword [ebp - 0x1d8]
mov word [eax], 0xffff
mov byte [eax + 2], 0xff
mov byte [eax + 3], cl
jmp 0x1008fc4a
mov dword [eax], 0xd2ffffff
mov eax, dword [ebp - 0x228]
mov ecx, 0x1013b6fc
add eax, edi
add eax, dword [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x224]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x22c]
push eax
call fcn.100839d0
add edi, dword [0x1013b704]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1008fcb8
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008fcae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008fcae
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100963ea
add esp, 8
cmp byte [0x100b60f8], 0
je 0x1008fdf1
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [ebp - 0x1f8]
movzx esi, al
mov eax, dword [0x10139980]
add eax, 0xffffff97
shl esi, 0x18
xor eax, 0x52891261
cmp byte [ebp - 0x1d1], 0
push dword [ecx + eax]
je 0x1008fd76
lea eax, [ebp - 0x248]
push eax
call fcn.1008d2a0
push 2
push eax
mov dword [ebp - 4], 0x43
or esi, 0xd2d2d2
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x228]
cdq
add ecx, edi
add ecx, dword [ebp - 0x220]
sub eax, edx
push esi
sar eax, 1
add eax, dword [ebp - 0x22c]
push ecx
push eax
mov ecx, 0x1013b738
call fcn.100839d0
mov ecx, dword [ebp - 0x234]
cmp ecx, 0xf
jbe 0x1008fdf1
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008fde7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008fde7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea eax, [ebp - 0x44]
push eax
call fcn.1008d2a0
push 2
push eax
mov dword [ebp - 4], 0x44
or esi, 0xffffff
mov eax, dword [ebp - 0x228]
mov ecx, 0x1013b738
add eax, edi
add eax, dword [ebp - 0x220]
push esi
push eax
mov eax, dword [ebp - 0x224]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x22c]
push eax
call fcn.100839d0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x1008fdf1
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008fde7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008fde7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100963ea
add esp, 8
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.10095ebc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4