Function at 0x4038e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x57b070]
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 0x403999
jmp 0x4040d6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x60]
and ecx, 0x40
jne 0x4039b0
mov edx, dword [ebp + 8]
push edx
call fcn.00407940
add esp, 4
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x117]
test edx, edx
je case.default.0x4039eb
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x64]
and ecx, 2
je case.default.0x4039eb
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x118]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 6
ja case.default.0x4039eb
mov ecx, dword [ebp - 0x60]
jmp dword [ecx*4 + 0x4040e4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd8]
and eax, 7
je 0x403a36
cmp dword [ebp + 0x10], 0
je 0x403a25
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.00406580
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.00407460
add esp, 4
jmp 0x4040d6
jmp case.default.0x4039eb
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd8]
and edx, 7
jne 0x403a55
mov eax, dword [ebp + 8]
cmp dword [eax + 0xbc], 5
jae 0x403a8b
cmp dword [ebp + 0x10], 0
je 0x403a7a
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.00406580
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.00407460
add esp, 4
jmp 0x4040d6
jmp case.default.0x4039eb
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd8]
and edx, 7
cmp edx, 4
je 0x403ae5
cmp dword [ebp + 0x10], 0
je 0x403ad4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd8]
and ecx, 4
je 0x403ad4
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.00406580
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.00407460
add esp, 4
jmp 0x4040d6
jmp case.default.0x4039eb
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd8]
and eax, 3
jne 0x403b04
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xbc], 3
jae 0x403b3a
cmp dword [ebp + 0x10], 0
je 0x403b29
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.00406580
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.00407460
add esp, 4
jmp 0x4040d6
jmp case.default.0x4039eb
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd8]
and eax, 3
cmp eax, 2
je 0x403b94
cmp dword [ebp + 0x10], 0
je 0x403b83
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd8]
and edx, 2
je 0x403b83
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.00406580
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.00407460
add esp, 4
jmp 0x4040d6
jmp case.default.0x4039eb
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd8]
and ecx, 1
jne 0x403bb0
mov edx, dword [ebp + 8]
cmp dword [edx + 0xbc], 2
jae 0x403be6
cmp dword [ebp + 0x10], 0
je 0x403bd5
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.00406580
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.00407460
add esp, 4
jmp 0x4040d6
jmp case.default.0x4039eb
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd8]
and ecx, 1
jne case.default.0x4039eb
mov edx, dword [ebp + 8]
push edx
call fcn.00407460
add esp, 4
jmp 0x4040d6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
and ecx, 4
jne 0x403c23
push str.Invalid_attempt_to_read_row_data
mov edx, dword [ebp + 8]
push edx
call fcn.00405180
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 0x403dd5
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x100], 0
je 0x403c6b
cmp dword [ebp - 0x5c], 0
je 0x403d5f
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004056e0
add esp, 8
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00405600
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x100], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1bc], 0
jne 0x403cd5
push 4
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x110
push edx
call fcn.004a663a
add esp, 0xc
test eax, eax
je 0x403cd0
push str.Not_enough_image_data
mov eax, dword [ebp + 8]
push eax
call fcn.00405180
add esp, 8
jmp 0x403d5a
push 4
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x110
push edx
call fcn.004a663a
add esp, 0xc
test eax, eax
jne 0x403d02
push str.Not_enough_image_data
mov eax, dword [ebp + 8]
push eax
call fcn.00405180
add esp, 8
push 4
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x110
push edx
call fcn.004a663a
add esp, 0xc
test eax, eax
je 0x403d2f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x100]
mov dword [ebp - 0x5c], ecx
jmp 0x403c55
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x100]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00406360
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 0x403c55
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 0x403da0
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.004056a0
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.004c91c0
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jne 0x403e53
mov eax, dword [ebp + 8]
cmp dword [eax + 0x78], 0
jne 0x403e0d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x6c], 0
jne 0x403e0d
mov edx, dword [ebp + 8]
cmp dword [edx + 0x100], 0
je 0x403e1e
push str.Extra_compressed_data
mov eax, dword [ebp + 8]
push eax
call fcn.00405180
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 0x403e97
cmp dword [ebp - 0x50], 0
je 0x403e8a
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x403e73
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x64], eax
jmp 0x403e7a
mov dword [ebp - 0x64], str.Decompression_error
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00405180
add esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax + 0x78], 0
jne 0x403c41
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 0x403f1c
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 0x403f39
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 0x403f91
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.004070b0
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.004054b0
add esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax + 0x64], 0
jne 0x403fd5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
and edx, 0x400000
je 0x403fe1
mov eax, dword [ebp + 8]
push eax
call fcn.00401260
add esp, 4
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x117]
test edx, edx
je 0x404061
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x64]
and ecx, 2
je 0x404061
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x118]
cmp eax, 6
jge 0x404015
mov ecx, dword [ebp + 8]
push ecx
call fcn.00406a10
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x40403a
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.00406580
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x40405f
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.00406580
add esp, 0xc
jmp 0x404097
cmp dword [ebp + 0xc], 0
je 0x40407c
push 0xff
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00406580
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x404097
push 0xff
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00406580
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.00407460
add esp, 4
mov edx, dword [ebp + 8]
cmp dword [edx + 0x160], 0
je 0x4040d6
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.004a35cb
mov esp, ebp
pop ebp
ret