Function at 0x495f10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x545628]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0xc], 0x49
mov byte [ebp - 0xb], 0x44
mov byte [ebp - 0xa], 0x41
mov byte [ebp - 9], 0x54
mov byte [ebp - 8], 0
mov byte [ebp - 0x58], 0x66
mov byte [ebp - 0x57], 0x64
mov byte [ebp - 0x56], 0x41
mov byte [ebp - 0x55], 0x54
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x30], 0x49
mov byte [ebp - 0x2f], 0x45
mov byte [ebp - 0x2e], 0x4e
mov byte [ebp - 0x2d], 0x44
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xff
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x20], 0xff
mov dword [ebp - 0x1c], 0x33
mov dword [ebp - 0x18], 0xff
mov dword [ebp - 0x14], 0x55
mov dword [ebp - 0x10], 0xff
mov dword [ebp - 0x4c], 0x80
mov dword [ebp - 0x48], 8
mov dword [ebp - 0x44], 0x88
mov dword [ebp - 0x40], 0x22
mov dword [ebp - 0x3c], 0xaa
mov dword [ebp - 0x38], 0x55
mov dword [ebp - 0x34], 0xff
cmp dword [ebp + 8], 0
jne 0x495fc9
jmp 0x496706
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x60]
and ecx, 0x40
jne 0x495fe0
mov edx, dword [ebp + 8]
push edx
call fcn.004a5140
add esp, 4
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x117]
test edx, edx
je case.default.0x49601b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x64]
and ecx, 2
je case.default.0x49601b
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x118]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 6
ja case.default.0x49601b
mov ecx, dword [ebp - 0x60]
jmp dword [ecx*4 + 0x496714]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd8]
and eax, 7
je 0x496066
cmp dword [ebp + 0x10], 0
je 0x496055
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x118]
mov eax, dword [ebp + edx*4 - 0x28]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004a3d80
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.004a4c60
add esp, 4
jmp 0x496706
jmp case.default.0x49601b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd8]
and edx, 7
jne 0x496085
mov eax, dword [ebp + 8]
cmp dword [eax + 0xbc], 5
jae 0x4960bb
cmp dword [ebp + 0x10], 0
je 0x4960aa
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x118]
mov eax, dword [ebp + edx*4 - 0x28]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004a3d80
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.004a4c60
add esp, 4
jmp 0x496706
jmp case.default.0x49601b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd8]
and edx, 7
cmp edx, 4
je 0x496115
cmp dword [ebp + 0x10], 0
je 0x496104
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd8]
and ecx, 4
je 0x496104
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x118]
mov ecx, dword [ebp + eax*4 - 0x28]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004a3d80
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a4c60
add esp, 4
jmp 0x496706
jmp case.default.0x49601b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd8]
and eax, 3
jne 0x496134
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xbc], 3
jae 0x49616a
cmp dword [ebp + 0x10], 0
je 0x496159
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x118]
mov ecx, dword [ebp + eax*4 - 0x28]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004a3d80
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a4c60
add esp, 4
jmp 0x496706
jmp case.default.0x49601b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd8]
and eax, 3
cmp eax, 2
je 0x4961c4
cmp dword [ebp + 0x10], 0
je 0x4961b3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd8]
and edx, 2
je 0x4961b3
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x118]
mov edx, dword [ebp + ecx*4 - 0x28]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a3d80
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.004a4c60
add esp, 4
jmp 0x496706
jmp case.default.0x49601b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd8]
and ecx, 1
jne 0x4961e0
mov edx, dword [ebp + 8]
cmp dword [edx + 0xbc], 2
jae 0x496216
cmp dword [ebp + 0x10], 0
je 0x496205
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x118]
mov edx, dword [ebp + ecx*4 - 0x28]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a3d80
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.004a4c60
add esp, 4
jmp 0x496706
jmp case.default.0x49601b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd8]
and ecx, 1
jne case.default.0x49601b
mov edx, dword [ebp + 8]
push edx
call fcn.004a4c60
add esp, 4
jmp 0x496706
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
and ecx, 4
jne 0x496253
push str.Invalid_attempt_to_read_row_data
mov edx, dword [ebp + 8]
push edx
call fcn.00499580
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xe0]
mov dword [eax + 0x74], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd0]
mov dword [eax + 0x78], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6c], 0
jne 0x496405
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x100], 0
je 0x49629b
cmp dword [ebp - 0x5c], 0
je 0x49638f
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004a2ee0
add esp, 8
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a2e00
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x100], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1bc], 0
jne 0x496305
push 4
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x110
push edx
call fcn.004d74f7
add esp, 0xc
test eax, eax
je 0x496300
push str.Not_enough_image_data
mov eax, dword [ebp + 8]
push eax
call fcn.00499580
add esp, 8
jmp 0x49638a
push 4
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x110
push edx
call fcn.004d74f7
add esp, 0xc
test eax, eax
jne 0x496332
push str.Not_enough_image_data
mov eax, dword [ebp + 8]
push eax
call fcn.00499580
add esp, 8
push 4
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x110
push edx
call fcn.004d74f7
add esp, 0xc
test eax, eax
je 0x49635f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x100]
mov dword [ebp - 0x5c], ecx
jmp 0x496285
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x100]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a3b60
add esp, 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x100]
sub eax, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x100], eax
jmp 0x496285
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
mov dword [edx + 0x6c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa0]
mov dword [edx + 0x68], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0xa4]
cmp ecx, dword [eax + 0x100]
jbe 0x4963d0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x100]
mov dword [edx + 0x6c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa0]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004a2ea0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x100]
sub eax, dword [edx + 0x6c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x100], eax
push 1
mov edx, dword [ebp + 8]
add edx, 0x68
push edx
call fcn.00490710
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jne 0x496483
mov eax, dword [ebp + 8]
cmp dword [eax + 0x78], 0
jne 0x49643d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x6c], 0
jne 0x49643d
mov edx, dword [ebp + 8]
cmp dword [edx + 0x100], 0
je 0x49644e
push str.Extra_compressed_data
mov eax, dword [ebp + 8]
push eax
call fcn.00499580
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x5c]
or edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x5c], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
or edx, 0x20
mov eax, dword [ebp + 8]
mov dword [eax + 0x60], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1bc]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x1bc], edx
jmp 0x4964c7
cmp dword [ebp - 0x50], 0
je 0x4964ba
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x4964a3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x64], eax
jmp 0x4964aa
mov dword [ebp - 0x64], str.Decompression_error
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00499580
add esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax + 0x78], 0
jne 0x496271
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x11a]
mov byte [ecx + 0xfc], al
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd4]
mov dword [ecx + 0xf4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x11e]
mov byte [ecx + 0xfe], al
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x11b]
mov byte [ecx + 0xfd], al
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x11d]
mov byte [ecx + 0xff], al
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0xff]
cmp edx, 8
jl 0x49654c
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xff]
shr ecx, 3
mov edx, dword [ebp + 8]
imul ecx, dword [edx + 0xf4]
mov dword [ebp - 0x68], ecx
jmp 0x496569
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xff]
mov edx, dword [ebp + 8]
imul ecx, dword [edx + 0xf4]
add ecx, 7
shr ecx, 3
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x68]
mov dword [eax + 0xf8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xe0]
movzx ecx, byte [eax]
test ecx, ecx
je 0x4965c1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xe0]
movzx ecx, byte [eax]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xdc]
add eax, 1
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xe0]
add edx, 1
push edx
mov eax, dword [ebp + 8]
add eax, 0xf4
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a48b0
add esp, 0x14
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xcc]
add eax, 1
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xe0]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xdc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004a2cb0
add esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax + 0x64], 0
jne 0x496605
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
and edx, 0x400000
je 0x496611
mov eax, dword [ebp + 8]
push eax
call fcn.00496f80
add esp, 4
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x117]
test edx, edx
je 0x496691
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x64]
and ecx, 2
je 0x496691
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x118]
cmp eax, 6
jge 0x496645
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a4210
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x49666a
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x118]
mov ecx, dword [ebp + eax*4 - 0x28]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004a3d80
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x49668f
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x118]
mov eax, dword [ebp + edx*4 - 0x4c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004a3d80
add esp, 0xc
jmp 0x4966c7
cmp dword [ebp + 0xc], 0
je 0x4966ac
push 0xff
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a3d80
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x4966c7
push 0xff
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004a3d80
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a4c60
add esp, 4
mov edx, dword [ebp + 8]
cmp dword [edx + 0x160], 0
je 0x496706
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x118]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd8]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x160]
call eax
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d158d
mov esp, ebp
pop ebp
ret