Function at 0x5796b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x7c
mov eax, dword [0x680f10]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [esi]
test al, 2
push ebx
je 0x5796f8
cmp dword [esi + 0x30], 0x100
je 0x5796f8
push str.LUT8_needs_256_entries_on_prelinearization
push 0x3000
call fcn.0057d3b0
add esp, 8
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0044abb9
mov esp, ebp
pop ebp
ret
test al, 8
je 0x579729
cmp dword [esi + 0x34], 0x100
je 0x579729
push 0x643f20
push 0x3000
call fcn.0057d3b0
add esp, 8
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0044abb9
mov esp, ebp
pop ebp
ret
push 0x6d667431
mov ecx, edi
call fcn.00578260
add esp, 4
test eax, eax
je 0x5796e6
test byte [esi], 1
mov al, byte [esi + 0x38]
mov cl, byte [esi + 0x28]
mov dl, byte [esi + 0x2c]
mov byte [esp + 0x52], al
mov byte [esp + 0x50], cl
mov byte [esp + 0x51], dl
je 0x5798f6
mov eax, dword [esi + 4]
mov dword [esp + 0x40], eax
mov cl, byte [esp + 0x41]
movzx edx, byte [esp + 0x42]
mov byte [esp + 0x42], cl
movzx ecx, byte [esp + 0x43]
mov byte [esp + 0x41], dl
mov byte [esp + 0x40], cl
mov byte [esp + 0x43], al
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 8]
mov dword [esp + 0x40], eax
mov cl, byte [esp + 0x41]
mov dword [esp + 0x54], edx
movzx edx, byte [esp + 0x42]
mov byte [esp + 0x42], cl
movzx ecx, byte [esp + 0x43]
mov byte [esp + 0x41], dl
mov byte [esp + 0x40], cl
mov byte [esp + 0x43], al
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x40], eax
mov cl, byte [esp + 0x41]
mov dword [esp + 0x58], edx
movzx edx, byte [esp + 0x42]
mov byte [esp + 0x42], cl
movzx ecx, byte [esp + 0x43]
mov byte [esp + 0x41], dl
mov byte [esp + 0x40], cl
mov byte [esp + 0x43], al
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x40], eax
mov cl, byte [esp + 0x41]
mov dword [esp + 0x5c], edx
movzx edx, byte [esp + 0x42]
mov byte [esp + 0x42], cl
movzx ecx, byte [esp + 0x43]
mov byte [esp + 0x41], dl
mov byte [esp + 0x40], cl
mov byte [esp + 0x43], al
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x40], eax
mov cl, byte [esp + 0x41]
mov dword [esp + 0x60], edx
movzx edx, byte [esp + 0x42]
mov byte [esp + 0x42], cl
movzx ecx, byte [esp + 0x43]
mov byte [esp + 0x41], dl
mov byte [esp + 0x40], cl
mov byte [esp + 0x43], al
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x40], eax
mov cl, byte [esp + 0x41]
mov dword [esp + 0x64], edx
movzx edx, byte [esp + 0x42]
mov byte [esp + 0x42], cl
movzx ecx, byte [esp + 0x43]
mov byte [esp + 0x41], dl
mov byte [esp + 0x40], cl
mov byte [esp + 0x43], al
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x40], eax
mov cl, byte [esp + 0x41]
mov dword [esp + 0x68], edx
movzx edx, byte [esp + 0x42]
mov byte [esp + 0x42], cl
movzx ecx, byte [esp + 0x43]
mov byte [esp + 0x41], dl
mov byte [esp + 0x40], cl
mov byte [esp + 0x43], al
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x40], eax
mov cl, byte [esp + 0x41]
mov dword [esp + 0x6c], edx
movzx edx, byte [esp + 0x42]
mov byte [esp + 0x42], cl
movzx ecx, byte [esp + 0x43]
mov byte [esp + 0x41], dl
mov byte [esp + 0x40], cl
mov byte [esp + 0x43], al
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 0x24]
mov dword [esp + 0x40], eax
mov cl, byte [esp + 0x41]
mov dword [esp + 0x70], edx
movzx edx, byte [esp + 0x42]
mov byte [esp + 0x42], cl
movzx ecx, byte [esp + 0x43]
mov byte [esp + 0x41], dl
mov byte [esp + 0x40], cl
mov byte [esp + 0x43], al
mov edx, dword [esp + 0x40]
mov dword [esp + 0x74], edx
xor ebx, ebx
jmp 0x579a2a
xor ebx, ebx
mov eax, 0x10000
mov dword [esp + 0x40], eax
movzx ecx, byte [esp + 0x43]
mov byte [esp + 0x40], cl
mov byte [esp + 0x41], 1
mov byte [esp + 0x42], 0
mov byte [esp + 0x43], 0
mov edx, dword [esp + 0x40]
mov dword [esp + 0x40], ebx
movzx ecx, byte [esp + 0x43]
mov byte [esp + 0x40], cl
mov dword [esp + 0x54], edx
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov edx, dword [esp + 0x40]
mov dword [esp + 0x40], ebx
movzx ecx, byte [esp + 0x43]
mov byte [esp + 0x40], cl
mov dword [esp + 0x58], edx
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov edx, dword [esp + 0x40]
mov dword [esp + 0x40], ebx
movzx ecx, byte [esp + 0x43]
mov byte [esp + 0x40], cl
mov dword [esp + 0x5c], edx
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov edx, dword [esp + 0x40]
mov dword [esp + 0x40], eax
movzx ecx, byte [esp + 0x43]
mov byte [esp + 0x40], cl
mov dword [esp + 0x60], edx
mov byte [esp + 0x41], 1
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov edx, dword [esp + 0x40]
mov dword [esp + 0x40], ebx
movzx ecx, byte [esp + 0x43]
mov byte [esp + 0x40], cl
mov dword [esp + 0x64], edx
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov edx, dword [esp + 0x40]
mov dword [esp + 0x40], ebx
movzx ecx, byte [esp + 0x43]
mov byte [esp + 0x40], cl
mov dword [esp + 0x68], edx
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov edx, dword [esp + 0x40]
mov dword [esp + 0x40], ebx
movzx ecx, byte [esp + 0x43]
mov byte [esp + 0x40], cl
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x40], eax
mov al, byte [esp + 0x43]
mov byte [esp + 0x41], 1
mov byte [esp + 0x42], bl
mov byte [esp + 0x40], al
mov byte [esp + 0x43], bl
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov eax, dword [edi + 0x84c]
lea edx, [esp + 0x50]
push edx
push 0x28
push edi
call eax
add esp, 0xc
cmp dword [esi + 0x28], ebx
mov dword [esp + 0x40], ebx
jbe 0x579ae7
lea ecx, [esi + 0x3c]
mov dword [esp + 0x4c], ecx
test byte [esi], 2
je 0x579aaa
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
movzx ecx, word [eax + ebx*2]
mov dword [esp + 0x44], ecx
sub esp, 8
fild dword [esp + 0x4c]
fdiv qword [0x643f18]
fadd qword [0x659f30]
fstp qword [esp]
call fcn.005ba270
fnstcw word [esp + 0x4c]
movzx eax, word [esp + 0x4c]
add esp, 8
or eax, 0xc00
mov dword [esp + 0x48], eax
fldcw word [esp + 0x48]
fistp dword [esp + 0x48]
mov dl, byte [esp + 0x48]
fldcw word [esp + 0x44]
mov byte [esp + 0x44], dl
jmp 0x579aae
mov byte [esp + 0x44], bl
mov ecx, dword [edi + 0x84c]
lea eax, [esp + 0x44]
push eax
push 1
push edi
call ecx
add ebx, 1
add esp, 0xc
cmp ebx, 0x100
jb 0x579a51
mov eax, dword [esp + 0x40]
add dword [esp + 0x4c], 4
add eax, 1
xor ebx, ebx
cmp eax, dword [esi + 0x28]
mov dword [esp + 0x40], eax
jb 0x579a51
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
mov eax, 1
jbe 0x579b02
mov edx, dword [esi + 0x38]
mov ebx, edx
imul eax, ebx
sub ecx, 1
jne 0x579af6
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
imul ecx, eax
test ecx, ecx
mov dword [esp + 0x4c], ecx
jbe 0x579b7b
mov edx, dword [esi + 0xbc]
movzx eax, word [edx + ebx*2]
mov dword [esp + 0x48], eax
sub esp, 8
fild dword [esp + 0x50]
fdiv qword [0x643f18]
fadd qword [0x659f30]
fstp qword [esp]
call fcn.005ba270
fnstcw word [esp + 0x4c]
movzx eax, word [esp + 0x4c]
or eax, 0xc00
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x84c]
lea edx, [esp + 0x4c]
fldcw word [esp + 0x50]
push edx
push 1
push edi
fistp dword [esp + 0x5c]
mov cl, byte [esp + 0x5c]
fldcw word [esp + 0x58]
mov byte [esp + 0x58], cl
call eax
add ebx, 1
add esp, 0x14
cmp ebx, dword [esp + 0x4c]
jb 0x579b10
cmp dword [esi + 0x2c], 0
mov dword [esp + 0x40], 0
jbe 0x579c2a
lea ecx, [esi + 0x7c]
mov dword [esp + 0x4c], ecx
xor ebx, ebx
test byte [esi], 8
je 0x579bef
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
movzx ecx, word [eax + ebx*2]
mov dword [esp + 0x48], ecx
sub esp, 8
fild dword [esp + 0x50]
fdiv qword [0x643f18]
fadd qword [0x659f30]
fstp qword [esp]
call fcn.005ba270
fnstcw word [esp + 0x4c]
movzx eax, word [esp + 0x4c]
add esp, 8
or eax, 0xc00
mov dword [esp + 0x48], eax
fldcw word [esp + 0x48]
fistp dword [esp + 0x48]
mov dl, byte [esp + 0x48]
fldcw word [esp + 0x44]
mov byte [esp + 0x44], dl
jmp 0x579bf3
mov byte [esp + 0x44], bl
mov ecx, dword [edi + 0x84c]
lea eax, [esp + 0x44]
push eax
push 1
push edi
call ecx
add ebx, 1
add esp, 0xc
cmp ebx, 0x100
jb 0x579b96
mov eax, dword [esp + 0x40]
add dword [esp + 0x4c], 4
add eax, 1
cmp eax, dword [esi + 0x2c]
mov dword [esp + 0x40], eax
jb 0x579b94
mov ecx, dword [esp + 0x7c]
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0044abb9
mov esp, ebp
pop ebp
ret