Function at 0x5629e0
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov ecx, dword [0x85ff50]
mov edx, dword [ecx + 0x34]
mov ecx, dword [0x87b7b4]
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, esi
and eax, 0xffff
lea eax, [eax + eax*2]
shl eax, 2
mov ebx, dword [edx + eax + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
and eax, 0xffff
shl eax, 5
mov edx, dword [eax + ecx + 0x14]
push edi
push esi
mov dword [ebp - 8], edx
xor edi, edi
mov byte [ebp - 2], 0
mov byte [ebp - 3], 0
call fcn.00466cd0
mov byte [ebp - 4], al
mov al, byte [0x71c341]
add esp, 4
test al, al
jne 0x562a84
inc word [ebx + 0x20c]
mov eax, dword [0x6ef838]
mov dl, byte [eax + 4]
test dl, dl
mov cx, word [ebx + 0x20c]
jne 0x562a6f
cmp cx, word [eax]
jle 0x562a6f
mov byte [eax + 4], 1
mov byte [ebp - 2], 1
mov word [ebx + 0x20c], di
jmp 0x562a84
mov dx, word [eax + 2]
cmp dx, cx
jle 0x562a7d
movsx ecx, dx
jmp 0x562a80
movsx ecx, cx
mov word [eax + 2], cx
mov eax, dword [ebx + 0x204]
test eax, 0x2000000
je 0x562af1
lea edi, [ebx + 0x224]
mov eax, esi
call fcn.00570c70
mov ecx, edi
mov edx, dword [ecx]
lea eax, [ebx + 0x230]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, dword [edi]
mov ecx, dword [edi + 4]
lea edx, [ebx + 0x254]
mov dword [edx], eax
mov eax, dword [edi + 8]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov edx, dword [0x696718]
mov eax, dword [edx]
lea ecx, [ebx + 0x278]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov edx, dword [edx + 8]
mov dword [ebx + 0x208], 0
jmp 0x562b5d
test al, 1
jne 0x562b60
lea eax, [ebx + 0x74]
mov edx, eax
mov esi, dword [edx]
lea ecx, [ebx + 0x254]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [ecx + 4], esi
mov dword [ecx + 8], edx
mov edx, eax
mov esi, dword [edx]
lea ecx, [ebx + 0x230]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [ecx + 4], esi
mov dword [ecx + 8], edx
mov edx, dword [eax]
lea ecx, [ebx + 0x224]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov edx, dword [0x696714]
mov dword [ecx + 8], eax
mov eax, dword [edx]
lea ecx, [ebx + 0x278]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov edx, dword [edx + 8]
mov dword [ebx + 0x208], edi
mov dword [ecx + 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x17c]
test ch, 8
jne 0x562fd8
mov ecx, dword [ebx + 0x210]
test ecx, ecx
mov byte [ebp - 1], 0
jle 0x562be6
mov eax, dword [ebx + 0x214]
mov esi, dword [ebx + 0x208]
or esi, eax
test ah, 8
mov dword [ebx + 0x208], esi
mov edi, esi
je 0x562bc9
mov eax, ecx
cdq
mov esi, 7
idiv esi
test edx, edx
jne 0x562bb1
or edi, 0x800
jmp 0x562bb7
and edi, 0xfffff7ff
mov dword [ebx + 0x208], edi
mov dword [ebx + 0x284], 0x3f800000
jmp 0x562bd3
mov dword [ebx + 0x284], 0
lea eax, [ecx - 1]
test eax, eax
mov dword [ebx + 0x210], eax
jne 0x562be6
mov dword [ebx + 0x214], eax
test dword [ebx + 0x204], 0x8000000
jne 0x562d82
mov eax, dword [ebx + 0x324]
or esi, 0xffffffff
cmp eax, esi
je 0x562ca1
test byte [ebx + 0x106], 4
jne 0x562ca1
mov edx, dword [0x85ff50]
and eax, 0xffff
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0x34]
mov eax, dword [eax + ecx*4 + 8]
mov cx, word [eax + 0xb8]
mov word [ebx + 0xb8], cx
cmp dword [eax + 0x218], esi
mov byte [ebp - 1], 1
jne 0x562c53
mov dl, byte [eax + 0x2a3]
cmp dl, 0x1b
je 0x562ca1
cmp dl, 0x1a
je 0x562ca1
mov edx, dword [eax + 0x208]
mov ecx, dword [ebx + 0x208]
and edx, 0x3f
or ecx, edx
mov dword [ebx + 0x208], ecx
lea ecx, [eax + 0x224]
mov edi, dword [ecx]
lea edx, [ebx + 0x224]
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [edx + 4], edi
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
add eax, 0x278
mov ecx, dword [eax]
lea edx, [ebx + 0x278]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
mov eax, dword [ebx + 0x328]
cmp eax, esi
je 0x562d58
test byte [ebx + 0x106], 4
jne 0x562d58
mov edx, dword [0x85ff50]
and eax, 0xffff
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0x34]
mov eax, dword [eax + ecx*4 + 8]
mov cl, byte [ebp - 1]
test cl, cl
jne 0x562ce6
mov cx, word [eax + 0xb8]
mov word [ebx + 0xb8], cx
cmp dword [eax + 0x218], esi
jne 0x562cfe
mov cl, byte [eax + 0x2a3]
cmp cl, 0x1b
je 0x562d58
cmp cl, 0x1a
je 0x562d58
lea ecx, [eax + 0x230]
mov esi, ecx
mov edi, dword [esi]
lea edx, [ebx + 0x230]
mov dword [edx], edi
mov edi, dword [esi + 4]
mov dword [edx + 4], edi
mov esi, dword [esi + 8]
mov dword [edx + 8], esi
mov esi, dword [ecx]
lea edx, [ebx + 0x254]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov edx, dword [eax + 0x208]
mov ecx, dword [ebx + 0x208]
and edx, 0x7c00
or ecx, edx
mov dword [ebx + 0x208], ecx
mov eax, dword [eax + 0x284]
mov dword [ebx + 0x284], eax
mov eax, dword [ebx + 0x208]
xor esi, esi
test ah, 0x7c
je 0x562d6e
mov byte [ebx + 0x322], 0
jmp 0x562d84
mov al, byte [ebx + 0x322]
cmp al, 0x7f
jge 0x562d84
inc al
mov byte [ebx + 0x322], al
jmp 0x562d84
xor esi, esi
mov al, byte [0x71c341]
test al, al
jne 0x562fd8
test byte [ebx + 0x204], 0x10
je 0x562e4b
cmp dword [0x6f1c48], esi
je 0x562e19
mov ax, word [ebx + 0x422]
cmp ax, si
je 0x562e19
cmp ax, 1
jne 0x562e19
mov ecx, dword [0x85ff50]
mov edi, dword [ecx + 0x34]
mov edx, dword [ebp - 0x10]
mov eax, dword [edi + edx + 8]
mov cx, word [eax + 0x2f2]
mov eax, dword [ebp + 8]
call fcn.00569da0
cmp eax, 0xffffffff
je 0x562e19
fld dword [0x672af8]
and eax, 0xffff
lea ecx, [eax + eax*2]
mov edx, dword [edi + ecx*4 + 8]
mov eax, dword [edx]
mov ecx, dword [0x87b7b4]
and eax, 0xffff
shl eax, 5
mov ecx, dword [eax + ecx + 0x14]
fld dword [ecx + 0x4d0]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x562e19
fld dword [ecx + 0x4d0]
jmp 0x562e1f
fld dword [0x6732a0]
fadd dword [ebx + 0x37c]
fst dword [ebx + 0x37c]
fcomp dword [0x672afc]
fnstsw ax
test ah, 0x41
jne 0x562e70
mov dword [ebx + 0x37c], 0x3f800000
mov word [ebx + 0x422], si
jmp 0x562e70
fld dword [ebx + 0x37c]
fsub dword [0x6732a0]
fst dword [ebx + 0x37c]
fcomp dword [0x672af8]
fnstsw ax
test ah, 5
jp 0x562e70
mov dword [ebx + 0x37c], esi
mov al, byte [ebx + 0x204]
fld dword [ebx + 0x380]
test al, 0x20
je 0x562ea5
fadd dword [0x672e38]
fst dword [ebx + 0x380]
fcomp dword [0x672afc]
fnstsw ax
test ah, 0x41
jne 0x562ec4
mov dword [ebx + 0x380], 0x3f800000
jmp 0x562ec4
fsub dword [0x672e38]
fst dword [ebx + 0x380]
fcomp dword [0x672af8]
fnstsw ax
test ah, 5
jp 0x562ec4
mov dword [ebx + 0x380], esi
xor eax, eax
mov ax, word [ebx + 0x428]
cmp ax, si
jle 0x562ee5
dec eax
cmp ax, si
mov word [ebx + 0x428], ax
jne 0x562ee5
mov dword [ebx + 0x424], esi
mov al, byte [ebx + 0x28c]
test al, al
jle 0x562f14
dec al
mov byte [ebx + 0x28c], al
jne 0x562f14
mov edx, dword [ebp + 8]
push 1
push edx
call fcn.0056e2f0
mov al, byte [0x71c341]
add esp, 8
test al, al
jne 0x562fd8
xor eax, eax
mov ax, word [ebx + 0x420]
cmp ax, si
jle 0x562fd8
test byte [ebx + 0x10], 0x20
je 0x562fd8
dec eax
cmp ax, si
mov word [ebx + 0x420], ax
jne 0x562fd8
fld dword [ebx + 0xe0]
mov ecx, dword [ebp + 8]
fcomp dword [0x672af8]
fnstsw ax
test ah, 0x41
jne 0x562fce
xor eax, eax
mov al, byte [ebx + 0x298]
shr al, 3
not al
push ecx
mov esi, 0xfffb
and word [ebx + 0x106], si
mov cl, 1
and eax, 1
or eax, 0x22
mov edi, eax
call fcn.0056a020
mov edx, dword [str.stand]
mov eax, dword [ebp + 8]
add esp, 4
push 1
push 0
push edx
call fcn.00565610
mov eax, dword [ebp + 8]
add esp, 0xc
push edi
push eax
call fcn.005663c0
and word [ebx + 0x298], si
add esp, 8
cmp word [ebx + 0xb4], 0
jne 0x562fbf
mov eax, dword [ebp + 8]
call fcn.0055b1a0
mov esi, dword [ebp + 8]
push 5
call fcn.005618d0
add esp, 4
jmp 0x562fd8
push esi
push ecx
call fcn.00568a40
add esp, 8
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x17c]
test ah, 4
jne 0x5636fa
mov ax, word [ebx + 0x106]
test al, 4
jne 0x5631fe
mov cl, byte [0x71c341]
test cl, cl
jne 0x5631fe
test ah, 4
je 0x563019
mov eax, dword [ebp + 8]
push 1
push eax
call fcn.0056e2f0
jmp 0x563074
mov cx, word [ebx + 0x2f4]
cmp cx, word [ebx + 0x2f2]
je 0x563077
lea ecx, [ebx + 0x298]
call fcn.00566090
test al, al
jne 0x563077
mov edx, dword [0x85ff50]
mov eax, dword [edx + 0x34]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + ecx + 8]
mov cx, word [edx + 0x2f4]
mov eax, dword [ebp + 8]
call fcn.00569da0
cmp eax, 0xffffffff
je 0x563077
mov esi, dword [ebp + 8]
mov edi, eax
call fcn.0056de30
test al, al
je 0x563077
mov eax, esi
push 1
push eax
call fcn.0056db10
add esp, 8
mov al, byte [ebx + 0x31d]
cmp al, byte [ebx + 0x31c]
je 0x5630b9
lea ecx, [ebx + 0x298]
call fcn.00566090
test al, al
jne 0x5630b9
movsx cx, byte [ebx + 0x31d]
mov edi, dword [ebp + 8]
push 0
mov eax, edi
call fcn.00569dd0
add esp, 4
cmp ax, 0xffff
je 0x5630bc
mov byte [ebx + 0x31c], al
jmp 0x5630bc
mov edi, dword [ebp + 8]
mov al, byte [0x87a762]
test al, al
je 0x563105
cmp dword [ebx + 0x218], 0xffffffff
je 0x563105
lea eax, [ebx + 0x31e]
mov esi, 2
lea esp, [esp]
mov cl, byte [eax]
cmp cl, 1
movsx ecx, cl
jg 0x5630ef
mov ecx, 1
mov byte [eax], cl
inc eax
dec esi
jne 0x5630e0
cmp byte [ebx + 0x31d], 0xff
jne 0x563105
mov byte [ebx + 0x31d], 0
mov al, byte [ebx + 0x321]
cmp al, byte [ebx + 0x320]
je 0x5631fe
cmp al, 0xff
mov byte [ebx + 0x320], al
jne 0x56312b
mov dword [ebx + 0x348], 0
push edi
call fcn.00474f40
add esp, 4
cmp eax, 0xffffffff
je 0x5631fe
push edi
call fcn.00474f40
mov ecx, dword [0x87a020]
mov edx, dword [ecx + 0x34]
and eax, 0xffff
shl eax, 9
movsx eax, word [eax + edx + 2]
add esp, 4
cmp eax, 0xffffffff
je 0x5631fe
mov eax, dword [0x85ff50]
mov esi, dword [eax + 0x34]
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + ecx + 8]
mov cx, word [edx + 0x2f2]
mov eax, edi
call fcn.00569da0
cmp eax, 0xffffffff
je 0x5631fe
and eax, 0xffff
lea eax, [eax + eax*2]
mov ecx, dword [esi + eax*4 + 8]
mov edx, dword [ecx]
mov eax, dword [0x87b7b4]
and edx, 0xffff
shl edx, 5
mov ecx, dword [edx + eax + 0x14]
mov al, byte [ebx + 0x320]
cmp al, 0xff
jne 0x5631b9
mov edx, dword [ecx + 0x4bc]
jmp 0x5631bf
mov edx, dword [ecx + 0x4ac]
cmp al, 0xff
mov dword [ebp - 0x18], 0x3f800000
je 0x5631ed
mov cx, word [ecx + 0x3da]
cmp cx, 1
jle 0x5631ed
movsx eax, al
movsx ecx, cx
mov dword [ebp - 0x18], eax
dec ecx
fild dword [ebp - 0x18]
mov dword [ebp - 0x18], ecx
fidiv dword [ebp - 0x18]
fstp dword [ebp - 0x18]
cmp edx, 0xffffffff
je 0x5631fe
mov eax, dword [ebp - 0x18]
push eax
call fcn.00544150
add esp, 4
cmp byte [ebx + 0x288], 1
mov eax, dword [ebp - 8]
jne 0x563215
mov ecx, dword [eax + 0x26c]
mov dword [ebp - 0xc], ecx
jmp 0x56321c
mov dword [ebp - 0xc], 0x3f800000
fld dword [ebp - 0xc]
lea esi, [ebx + 0x23c]
fmul dword [eax + 0x264]
mov edx, esi
fmul dword [0x672b04]
fstp dword [ebp - 0x18]
fld dword [ebp - 0xc]
fmul dword [eax + 0x268]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
fmul dword [0x672f3c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
fstp dword [ebp - 0x14]
fld dword [0x672af8]
fld dword [ebp - 0x18]
fucompp
fnstsw ax
test ah, 0x44
jp 0x5632cf
fld dword [0x672af8]
fld dword [ebp - 0x14]
fucompp
fnstsw ax
test ah, 0x44
jp 0x5632cf
mov edi, dword [ebp + 8]
lea eax, [ebx + 0x230]
mov edx, dword [eax]
mov ecx, esi
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov ecx, edi
call fcn.005629a0
test al, al
je 0x5632ae
push 1
push esi
call fcn.00569bd0
add esp, 8
mov edx, dword [0x696714]
mov eax, dword [edx]
lea ecx, [ebx + 0x248]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
jmp 0x563370
mov al, byte [ebx + 0x2b6]
test al, al
je 0x56334d
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x60], 0x3f800000
call fcn.004f6b10
lea ecx, [ebp - 0x44]
add esp, 4
push ecx
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x5c]
call fcn.004052c0
mov edi, dword [0x6966f8]
mov edx, edi
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
push eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x18]
push ecx
mov dword [ebp - 0x30], edx
lea edx, [ebx + 0x2b8]
push edx
lea eax, [ebx + 0x248]
push eax
lea eax, [ebx + 0x23c]
lea ecx, [ebx + 0x230]
push eax
lea esi, [ebp - 0x60]
call fcn.00564f10
add esp, 0x14
jmp 0x563376
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push ecx
push edx
lea eax, [ebx + 0x248]
push eax
lea edi, [ebx + 0x230]
lea esi, [ebx + 0x23c]
call fcn.004cf570
add esp, 0xc
mov edi, dword [0x6966f8]
fld dword [0x672af8]
mov esi, dword [ebp - 8]
fld dword [esi + 0x264]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5633bd
lea ecx, [ebp - 0x24]
lea edx, [ebx + 0x23c]
call fcn.004cd530
fld dword [esi + 0x264]
fmul dword [0x672b04]
fdivp st(1)
fcom dword [0x672af8]
fnstsw ax
test ah, 5
jp 0x563468
fstp st(0)
fld dword [0x672af8]
fmul dword [0x672b98]
call fcn.006392c4
fld dword [ebp - 0xc]
mov byte [ebx + 0x323], al
fmul dword [esi + 0x270]
fmul dword [0x672b04]
fstp dword [ebp - 0x14]
fld dword [ebp - 0xc]
fmul dword [esi + 0x274]
fmul dword [0x672f3c]
fstp dword [ebp - 0x18]
fld dword [0x672af8]
fld dword [ebp - 0x14]
fucompp
fnstsw ax
test ah, 0x44
jp 0x563486
fld dword [0x672af8]
fld dword [ebp - 0x18]
fucompp
fnstsw ax
test ah, 0x44
jp 0x563486
mov edi, dword [ebp + 8]
lea eax, [ebx + 0x260]
lea ecx, [ebx + 0x254]
mov esi, dword [ecx]
mov edx, eax
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edx + 4], esi
push 0
push eax
mov dword [edx + 8], ecx
call fcn.00569bd0
mov eax, dword [0x696714]
mov ecx, dword [eax]
lea edx, [ebx + 0x26c]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
add esp, 8
mov dword [edx + 8], eax
jmp 0x56351f
fcom dword [0x672afc]
fnstsw ax
test ah, 0x41
jne 0x5633c3
fstp st(0)
fld dword [0x672afc]
jmp 0x5633c3
mov al, byte [ebx + 0x2b7]
test al, al
je 0x5634fc
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x60], 0x3f800000
call fcn.004f6b10
lea edx, [ebp - 0x44]
add esp, 4
push edx
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x5c]
call fcn.004052c0
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
push eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x14]
push ecx
mov dword [ebp - 0x30], edx
lea edx, [ebx + 0x2c8]
push edx
lea eax, [ebx + 0x26c]
push eax
lea edx, [ebx + 0x260]
lea ecx, [ebx + 0x254]
push edx
lea esi, [ebp - 0x60]
call fcn.00564f10
add esp, 0x14
jmp 0x56351f
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
lea edx, [ebx + 0x26c]
push edx
lea edi, [ebx + 0x254]
lea esi, [ebx + 0x260]
call fcn.004cf570
add esp, 0xc
mov al, byte [0x71c341]
test al, al
jne case.default.0x56353f
mov eax, dword [ebx + 0x208]
movsx ecx, byte [ebx + 0x28d]
shr eax, 0xd
and al, 1
cmp ecx, 3
ja case.default.0x56353f
jmp dword [ecx*4 + 0x563c80]
test al, al
je case.default.0x56353f
mov edi, dword [ebp + 8]
push 0
call fcn.0056e4b0
add esp, 4
jmp case.default.0x56353f
cmp word [ebx + 0xd2], 2
jl case.default.0x56353f
mov eax, dword [ebp + 8]
push eax
call fcn.0056e6b0
add esp, 4
jmp case.default.0x56353f
cmp byte [ebx + 0x2a3], 0x21
je case.default.0x56353f
test al, al
jne case.default.0x56353f
mov byte [ebx + 0x28d], al
jmp case.default.0x56353f
mov al, byte [ebx + 0x2a3]
inc word [ebx + 0x28e]
cmp al, 0x21
je case.default.0x56353f
mov ecx, dword [ebp + 8]
push 1
push ecx
call fcn.0056e870
add esp, 8
mov ax, word [ebx + 0x2f2]
cmp ax, 0xffff
je 0x5636fa
mov cl, byte [0x71c341]
test cl, cl
jne 0x5636fa
mov edx, dword [ebx + 0x284]
xor esi, esi
cmp ax, word [ebx + 0x2f4]
mov dword [ebp - 0x18], edx
jne 0x5636be
mov eax, dword [ebx + 0x210]
test eax, eax
jle 0x5635f5
mov eax, dword [ebx + 0x214]
test ah, 8
mov byte [ebp - 1], 1
jne 0x5635f9
mov byte [ebp - 1], 0
mov al, byte [ebp - 4]
test al, al
je 0x56360e
test byte [ebx + 0x208], 0x10
je 0x56360e
mov esi, 1
mov eax, dword [ebx + 0x208]
test ah, 8
je 0x56361c
or esi, 2
test ah, 0x10
je 0x563624
or esi, 4
mov eax, dword [ebx]
mov ecx, dword [0x87b7b4]
and eax, 0xffff
shl eax, 5
mov edx, dword [eax + ecx + 0x14]
test dword [edx + 0x17c], 0x800000
je 0x563672
mov eax, dword [ebx + 0x340]
mov ecx, dword [0x85ff50]
mov edx, dword [ecx + 0x34]
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + eax + 8]
mov cx, word [ecx + 0x2f2]
mov eax, dword [ebp + 8]
call fcn.00569da0
call fcn.004c2b70
add esp, 4
mov eax, dword [ebx + 0x208]
test ah, 4
je 0x563680
or esi, 8
lea ecx, [ebx + 0x298]
call fcn.00566090
test al, al
je 0x563699
mov al, byte [ebp - 1]
test al, al
jne 0x563699
or esi, 0x10
cmp word [ebx + 0xb4], 0
jne 0x5636b0
mov al, byte [ebx + 0x505]
test al, al
jle 0x5636b0
or esi, 0x10
cmp byte [ebx + 0x320], 0xff
je 0x5636c3
or esi, 0x40
jmp 0x5636c3
mov esi, 0x20
mov edx, dword [0x85ff50]
mov eax, dword [edx + 0x34]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [eax + ecx + 8]
mov dx, word [ecx + 0x2f2]
or eax, 0xffffffff
cmp dx, 0xffff
je 0x5636ed
movsx edx, dx
mov eax, dword [ecx + edx*4 + 0x2f8]
mov ecx, dword [ebp - 0x18]
push ecx
push esi
call fcn.004c29e0
add esp, 8
mov edi, dword [ebp - 8]
mov eax, dword [edi + 0x17c]
test ah, 8
jne 0x563883
test byte [ebx + 0x298], 2
je 0x56377d
mov eax, dword [ebp + 8]
call fcn.0056ec50
fld dword [ebx + 0x370]
fmul dword [0x672cc4]
fld dword [ebx + 0x364]
fmul dword [0x672cc8]
faddp st(1)
fstp dword [ebx + 0x364]
fld dword [ebx + 0x374]
fmul dword [0x672cc4]
fld dword [ebx + 0x368]
fmul dword [0x672cc8]
faddp st(1)
fstp dword [ebx + 0x368]
fld dword [ebx + 0x378]
fmul dword [0x672cc4]
fld dword [ebx + 0x36c]
fmul dword [0x672cc8]
faddp st(1)
fstp dword [ebx + 0x36c]
mov eax, dword [edi + 0x2cc]
xor edx, edx
test eax, eax
jle 0x563883
xor ecx, ecx
nop
mov eax, dword [edi + 0x2d0]
mov esi, ecx
imul esi, esi, 0x44
add esi, eax
test dx, dx
jne 0x5637b8
cmp dword [ebx + 0x324], 0xffffffff
jne 0x5637b4
test byte [ebx + 0x204], 1
je 0x5637cf
mov al, 1
jmp 0x5637d1
mov eax, dword [ebx + 0x328]
cmp eax, 0xffffffff
je 0x5637cf
cmp eax, dword [ebx + 0x324]
je 0x5637cf
mov al, 1
jmp 0x5637d1
xor al, al
test byte [ebx + 0x106], 4
jne 0x563826
test al, al
je 0x563826
cmp dword [ebx + ecx*4 + 0x338], 0x3f800000
je 0x563871
fld dword [esi + 4]
fmul dword [0x672b00]
fdivr dword [0x672afc]
fadd dword [ebx + ecx*4 + 0x338]
fst dword [ebx + ecx*4 + 0x338]
fcomp dword [0x672afc]
fnstsw ax
test ah, 0x41
jne 0x563871
mov dword [ebx + ecx*4 + 0x338], 0x3f800000
jmp 0x563871
fld dword [0x672af8]
fld dword [ebx + ecx*4 + 0x338]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x563871
fld dword [esi + 8]
fmul dword [0x672b00]
fdivr dword [0x672afc]
fsubr dword [ebx + ecx*4 + 0x338]
fst dword [ebx + ecx*4 + 0x338]
fcomp dword [0x672af8]
fnstsw ax
test ah, 5
jp 0x563871
mov dword [ebx + ecx*4 + 0x338], 0
mov eax, dword [edi + 0x2cc]
inc edx
movsx ecx, dx
cmp ecx, eax
jl 0x563790
xor eax, eax
mov ax, word [ebx + 0x406]
xor edi, edi
cmp ax, di
jle 0x5638e0
dec eax
cmp ax, di
mov word [ebx + 0x406], ax
jne 0x5638e0
mov edx, dword [ebx + 0x408]
mov ecx, dword [ebx + 0x40c]
mov esi, dword [ebp + 8]
xor eax, eax
mov ax, word [ebx + 0x404]
push 1
push edi
push edx
push eax
push ecx
push esi
call fcn.0042be40
add esp, 0x18
mov word [ebx + 0x404], di
mov dword [ebx + 0x40c], 0xffffffff
mov dword [ebx + 0x408], edi
jmp 0x5638e3
mov esi, dword [ebp + 8]
mov al, byte [0x71c341]
test al, al
jne 0x563926
push esi
call fcn.005700b0
mov al, byte [0x71c341]
add esp, 4
test al, al
jne 0x563926
mov eax, esi
call fcn.00561a50
mov al, byte [0x71c341]
test al, al
jne 0x563926
mov al, byte [ebp - 2]
test al, al
jne 0x56391e
cmp dword [ebx + 0x218], 0xffffffff
je 0x563926
mov edi, dword [ebp + 8]
call fcn.0056f090
mov al, byte [ebx + 0x28b]
test al, al
jbe 0x563954
mov cl, byte [0x71c341]
test cl, cl
jne 0x563c74
dec al
mov byte [ebx + 0x28b], al
jne 0x563961
mov edx, dword [ebp + 8]
push edx
call fcn.00570b50
add esp, 4
mov al, byte [0x71c341]
test al, al
jne 0x563c74
fld dword [ebx + 0x2e8]
fchs
fcom dword [0x673014]
fnstsw ax
test ah, 5
jp 0x563980
fstp st(0)
fld dword [0x673014]
jmp 0x563995
fcom dword [0x672be4]
fnstsw ax
test ah, 0x41
jne 0x563995
fstp st(0)
fld dword [0x672be4]
fadd dword [ebx + 0x2e8]
mov edi, 0x80000
fstp dword [ebx + 0x2e8]
mov eax, dword [ebx + 0x204]
test eax, 0x10000000
je 0x5639c9
test edi, eax
mov cl, 1
je 0x5639bc
mov cl, byte [ebp - 3]
and eax, 0xefffffff
mov dword [ebx + 0x204], eax
jmp 0x5639cc
mov cl, byte [ebp - 3]
mov eax, dword [ebx + 0x204]
test eax, 0x20000000
je 0x5639ea
test edi, eax
je 0x5639df
mov cl, 1
and eax, 0xdfffffff
mov dword [ebx + 0x204], eax
mov esi, dword [ebx + 0x208]
and esi, 0x10
jne 0x563a10
fld dword [ebx + 0x344]
fcomp dword [0x672af8]
fnstsw ax
test ah, 0x41
jnp 0x563a10
test cl, cl
je 0x563af8
mov al, byte [ebp - 4]
test al, al
jne 0x563a4a
mov eax, dword [ebx + 0x204]
test eax, 0x4000000
je 0x563a2f
and eax, 0xfbffffff
mov dword [ebx + 0x204], eax
mov eax, dword [ebx + 0x204]
test edi, eax
je 0x563af8
and eax, 0xfff7ffff
or eax, 0x10
jmp 0x563af2
mov ecx, dword [ebp + 8]
call fcn.00565f90
test al, al
je 0x563aa7
test esi, esi
je 0x563a9e
test dword [ebx + 0x204], 0x4000000
mov eax, dword [0x746ec0]
mov eax, dword [eax + 0x180]
je 0x563a76
mov ecx, dword [eax + 0x64]
jmp 0x563a79
mov ecx, dword [eax + 0x54]
cmp ecx, 0xffffffff
je 0x563a94
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call fcn.00450900
add esp, 0x18
xor dword [ebx + 0x204], 0x4000000
test byte [ebx + 0x208], 0x10
jne 0x563af8
test dword [ebx + 0x204], edi
jne 0x563ac2
fld dword [ebx + 0x344]
fcomp dword [0x672af0]
fnstsw ax
test ah, 0x41
jne 0x563af8
cmp dword [ebx + 0x11c], 0xffffffff
jne 0x563af8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x194]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call fcn.00450900
mov eax, dword [ebx + 0x204]
add esp, 0x18
xor eax, edi
mov dword [ebx + 0x204], eax
mov eax, dword [ebx + 0x204]
test edi, eax
je 0x563b7a
mov edx, dword [ebp - 8]
test dword [edx + 0x17c], 0x1000000
jne 0x563b23
fld dword [ebx + 0x344]
fsub dword [0x672f5c]
fstp dword [ebx + 0x344]
cmp dword [ebx + 0x11c], 0xffffffff
jne 0x563b35
test byte [ebx + 0x106], 4
je 0x563b40
and eax, 0xfff7ffff
mov dword [ebx + 0x204], eax
mov eax, dword [ebx + 0x340]
mov ecx, 0x3f800000
cmp eax, ecx
je 0x563bdd
fld dword [ebx + 0x340]
fadd dword [0x672cb0]
fst dword [ebx + 0x340]
fcomp dword [0x672afc]
fnstsw ax
test ah, 0x41
jne 0x563bdd
mov dword [ebx + 0x340], ecx
jmp 0x563bdd
fld dword [ebx + 0x344]
fcomp dword [0x672afc]
fnstsw ax
test ah, 5
jp 0x563b9f
fld dword [ebx + 0x344]
fadd dword [0x672f3c]
fstp dword [ebx + 0x344]
fld dword [0x672af8]
fld dword [ebx + 0x340]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x563bdd
fld dword [ebx + 0x340]
fsub dword [0x67329c]
fst dword [ebx + 0x340]
fcomp dword [0x672af8]
fnstsw ax
test ah, 5
jp 0x563bdd
mov dword [ebx + 0x340], 0
mov ecx, dword [ebp + 8]
call fcn.00565f90
test al, al
je 0x563c74
test dword [ebx + 0x204], 0x4000000
je 0x563c36
mov eax, dword [ebx + 0x348]
mov ecx, 0x3f800000
cmp eax, ecx
je 0x563c74
fld dword [ebx + 0x348]
fadd dword [0x672f1c]
fst dword [ebx + 0x348]
fcomp dword [0x672afc]
fnstsw ax
test ah, 0x41
jne 0x563c74
mov dword [ebx + 0x348], ecx
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fld dword [0x672af8]
fld dword [ebx + 0x348]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x563c74
fld dword [ebx + 0x348]
fsub dword [0x67329c]
fst dword [ebx + 0x348]
fcomp dword [0x672af8]
fnstsw ax
test ah, 5
jp 0x563c74
mov dword [ebx + 0x348], 0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret