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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519fc7
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x79b0b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xe0], esi
mov eax, dword [ebp + 0x20]
lea edx, [esi + 0x1c]
mov dword [ebp - 0x114], eax
lea ecx, [ebp + 0x18]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xd8], eax
mov eax, dword [edx]
cmp eax, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
cmovl ecx, edx
mov dword [ebp - 0xd4], edi
lea edx, [ebp + 0x1c]
mov eax, dword [ecx]
lea ecx, [esi + 0x20]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xf8], eax
mov eax, dword [ecx]
cmp eax, dword [ebp + 0x1c]
cmovl edx, ecx
mov eax, dword [edx]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0xc]
cdq
mov ecx, edx
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xe4], ecx
test ecx, ecx
ja 0x4a714a
jb 0x4a82c2
cmp eax, 0x58
jb 0x4a82c2
movups xmm0, xmmword [edi]
lea edx, [ebp - 0x18]
mov dword [ebp - 0xd0], 0xb
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [edi + 0x40]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [edi + 0x50]
lea edi, [ebp - 0x70]
mov eax, edi
movq qword [ebp - 0x20], xmm0
sub edx, eax
mov dword [ebp - 0xc4], edx
mov eax, dword [edi]
lea edi, [edi + 8]
mov ecx, dword [edi - 4]
mov dword [edx + edi - 4], ecx
mov dword [edx + edi - 8], eax
movzx eax, byte [ebp - 0x11]
cdq
mov ecx, eax
mov esi, edx
movzx eax, byte [ebp - 0x12]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebp - 0x13]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebp - 0x14]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebp - 0x15]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebp - 0x16]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebp - 0x17]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebp - 0x18]
shld esi, ecx, 8
cdq
or esi, edx
shl ecx, 8
mov edx, dword [ebp - 0xc4]
or ecx, eax
sub edx, 8
mov dword [edi - 8], ecx
sub dword [ebp - 0xd0], 1
mov dword [edi - 4], esi
mov dword [ebp - 0xc4], edx
jne 0x4a7195
mov esi, dword [ebp - 0x48]
add esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x44]
mov ecx, edi
adc ecx, dword [ebp - 0x4c]
add esi, dword [ebp - 0x58]
mov eax, dword [ebp - 0xd4]
adc ecx, dword [ebp - 0x54]
add esi, dword [ebp - 0x60]
mov edx, esi
adc ecx, dword [ebp - 0x5c]
add eax, 0x58
mov dword [ebp - 0xc0], eax
add edx, 0x58
mov eax, ecx
mov dword [ebp - 0xf4], ecx
mov ecx, dword [ebp - 0xe4]
adc eax, 0
cmp ecx, eax
jb 0x4a82bb
mov eax, dword [ebp - 0xcc]
ja 0x4a7297
cmp eax, edx
jb 0x4a82bb
cmp ecx, dword [ebp - 0x5c]
jb 0x4a82bb
ja 0x4a72ab
cmp eax, dword [ebp - 0x60]
jb 0x4a82bb
cmp ecx, dword [ebp - 0x54]
jb 0x4a82bb
mov edx, dword [ebp - 0x58]
ja 0x4a72c1
cmp eax, edx
jb 0x4a82bb
cmp ecx, dword [ebp - 0x4c]
jb 0x4a82bb
ja 0x4a72d5
cmp eax, dword [ebp - 0x50]
jb 0x4a82bb
cmp ecx, edi
jb 0x4a82bb
mov ecx, dword [ebp - 0x48]
ja 0x4a72ea
cmp eax, ecx
jb 0x4a82bb
cmp dword [ebp - 0x64], 0
jl 0x4a82b4
jg 0x4a7300
cmp dword [ebp - 0x68], 0
jb 0x4a82b4
cmp dword [ebp - 0x5c], 0
jl 0x4a82b4
jg 0x4a7316
cmp dword [ebp - 0x60], 0
jb 0x4a82b4
cmp dword [ebp - 0x54], 0
jl 0x4a82b4
jg 0x4a732a
test edx, edx
jb 0x4a82b4
cmp dword [ebp - 0x4c], 0
jl 0x4a82b4
jg 0x4a7340
cmp dword [ebp - 0x50], 0
jb 0x4a82b4
test edi, edi
jl 0x4a82b4
jg 0x4a7352
test ecx, ecx
jb 0x4a82b4
cmp dword [ebp - 0x3c], 0
jl 0x4a82b4
jg 0x4a7368
cmp dword [ebp - 0x40], 0
jb 0x4a82b4
cmp dword [ebp - 0x34], 0
jl 0x4a82b4
jg 0x4a737e
cmp dword [ebp - 0x38], 0
jb 0x4a82b4
cmp dword [ebp - 0x2c], 0
jl 0x4a82b4
jg 0x4a7394
cmp dword [ebp - 0x30], 0
jb 0x4a82b4
cmp dword [ebp - 0x24], 0
jl 0x4a82b4
mov edi, dword [ebp - 0x28]
jg 0x4a73ab
test edi, edi
jb 0x4a82b4
cmp dword [ebp - 0x6c], 0
ja 0x4a73cb
jb 0x4a73b9
cmp dword [ebp - 0x70], 2
jae 0x4a73cb
mov esi, dword [ebp - 0xe0]
mov ecx, esi
call fcn.004a5af0
jmp 0x4a7537
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 0
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.0049f040
mov edi, dword [ebp - 0xc4]
add esp, 8
cmp di, 2
jae 0x4a7401
push str.Error_uncompressing_DWA_data__corrupt_header_file_.
jmp 0x4a82c7
movzx eax, di
cdq
add eax, esi
adc edx, dword [ebp - 0xf4]
add eax, 0x58
mov dword [ebp - 0xd4], eax
adc edx, 0
cmp dword [ebp - 0xe4], edx
ja 0x4a743b
jb 0x4a7431
mov eax, dword [ebp - 0xcc]
cmp eax, dword [ebp - 0xd4]
jae 0x4a743b
push str.Error_uncompressing_DWA_data__truncated_file_.
jmp 0x4a82c7
mov esi, dword [ebp - 0xe0]
lea ecx, [esi + 0x44]
call fcn.004a1350
add edi, 0xfffe
mov dword [ebp - 0xc4], edi
test di, di
je 0x4a7534
nop
movzx eax, di
lea ecx, [ebp - 0x98]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.0049f460
mov edi, dword [esi + 0x48]
mov dword [ebp - 4], 0
cmp edi, dword [esi + 0x4c]
je 0x4a74b1
lea eax, [ebp - 0x98]
mov ecx, edi
push eax
call fcn.00428d00
mov eax, dword [ebp - 0x80]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x7c]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x78]
mov dword [edi + 0x20], eax
mov al, byte [ebp - 0x74]
mov byte [edi + 0x24], al
add dword [esi + 0x48], 0x28
jmp 0x4a74c1
lea ecx, [ebp - 0x98]
push ecx
push edi
lea ecx, [esi + 0x44]
call fcn.0049bc70
mov eax, dword [ebp - 0x88]
mov edi, dword [ebp - 0xc4]
add eax, 3
mov ecx, dword [ebp - 0x84]
sub edi, eax
movzx eax, di
movzx edi, di
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xc4], edi
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x4a752b
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a751b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a82e8
push ecx
push edx
call fcn.00462fc9
mov eax, dword [ebp - 0xd4]
add esp, 8
test ax, ax
jne 0x4a7460
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xd4], 0
push eax
mov ecx, esi
call fcn.004a4a30
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
imul eax, dword [esi + 0xc]
xor ecx, ecx
cmp ecx, dword [esi + 0x8c]
jb 0x4a75bc
ja 0x4a7570
cmp eax, dword [esi + 0x88]
jbe 0x4a75bc
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
imul eax, dword [esi + 0xc]
mov dword [esi + 0x8c], 0
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x80]
test eax, eax
je 0x4a75a0
push eax
call fcn.00462b3a
add esp, 4
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
imul eax, dword [esi + 0xc]
push eax
call fcn.004635cb
add esp, 4
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x50]
xor ecx, ecx
test eax, eax
cmovne ecx, eax
mov eax, dword [esi + 0x60]
mov dword [ebp - 0xe8], ecx
xor ecx, ecx
test eax, eax
cmovne ecx, eax
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0xc4], eax
add eax, dword [ebp - 0x50]
cmp dword [ebp - 0x6c], 0
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xd0], eax
ja 0x4a82ad
cmp dword [ebp - 0x70], 2
ja 0x4a82ad
push dword [ebp - 0xec]
mov ecx, esi
push dword [ebp - 0xdc]
push dword [ebp - 0xf8]
push dword [ebp - 0xd8]
call fcn.004a6f00
cmp dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x60]
ja 0x4a7637
test eax, eax
je 0x4a7692
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [esi + 0xa4]
jb 0x4a7659
ja 0x4a764f
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [esi + 0xa0]
jbe 0x4a765c
push str.Error_uncompressing_DWA_data_corrupt_header_.
jmp 0x4a82c7
mov ecx, dword [ebp - 0x68]
push 0
push ecx
push dword [esi + 0x90]
push eax
push dword [ebp - 0xc0]
call fcn.004cc250
add esp, 0x14
test eax, eax
je 0x4a7692
push str.Error_uncompressing_UNKNOWN_data.
lea ecx, [ebp - 0xac]
call fcn.004d4cd0
push 0x796724
jmp 0x4a82d7
cmp dword [ebp - 0x54], 0
ja 0x4a76a2
cmp dword [ebp - 0x58], 0
jbe 0x4a7767
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x4a764f
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
shld edx, eax, 1
add eax, eax
mov dword [ebp - 0xdc], edx
mov dword [ebp - 0xd4], eax
cmp edx, dword [esi + 0x5c]
ja 0x4a764f
jb 0x4a76cd
cmp eax, dword [esi + 0x58]
ja 0x4a764f
mov edx, dword [ebp - 0x20]
mov eax, edx
or eax, dword [ebp - 0x1c]
je 0x4a774e
cmp edx, 1
jne 0x4a7734
cmp dword [ebp - 0x1c], 0
jne 0x4a7734
lea eax, [ebp - 0xf4]
push eax
mov eax, dword [ebp - 0x30]
add eax, eax
push eax
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0xc0]
push ecx
push dword [ebp - 0x58]
push eax
call fcn.004cc250
add esp, 0x14
test eax, eax
je 0x4a7713
push str.Data_decompression__zlib__failed.
jmp 0x4a82c7
mov eax, dword [ebp - 0xd4]
cmp eax, dword [ebp - 0xf4]
jne 0x4a772a
cmp dword [ebp - 0xdc], 0
je 0x4a7767
push str.AC_data_corrupt.
jmp 0x4a82c7
push str.Unknown_AC_Compression
lea ecx, [ebp - 0xac]
call fcn.004d85e0
push 0x796cb8
jmp 0x4a82d7
push dword [ebp - 0x30]
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0xc0]
push ecx
push dword [ebp - 0x58]
push eax
call fcn.004c7270
add esp, 0x10
cmp dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x50]
ja 0x4a7793
test ecx, ecx
jne 0x4a7793
or edi, dword [ebp - 0x24]
je 0x4a77de
push str.DC_data_corrupt.
lea ecx, [ebp - 0xac]
call fcn.004d4cd0
push 0x796724
jmp 0x4a82d7
mov eax, dword [ebp - 0x24]
shld eax, edi, 1
add edi, edi
mov dword [ebp - 0xd4], eax
cmp eax, dword [esi + 0x6c]
jb 0x4a77bc
ja 0x4a764f
cmp edi, dword [esi + 0x68]
jbe 0x4a77bc
push str.Error_uncompressing_DWA_data_corrupt_header_.
jmp 0x4a82c7
push dword [esi + 0x60]
push ecx
push dword [ebp - 0xc4]
mov ecx, dword [esi + 0xb8]
call fcn.004991f0
cdq
cmp eax, edi
jne 0x4a7779
cmp edx, dword [ebp - 0xd4]
jne 0x4a7779
mov ecx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
test ecx, ecx
jne 0x4a77f0
test edi, edi
je 0x4a789d
mov eax, dword [ebp - 0x3c]
cmp eax, dword [esi + 0x7c]
ja 0x4a764f
mov eax, dword [ebp - 0x40]
jb 0x4a780a
cmp eax, dword [esi + 0x78]
ja 0x4a764f
cmp ecx, dword [esi + 0xb4]
ja 0x4a764f
jb 0x4a7824
cmp edi, dword [esi + 0xb0]
ja 0x4a764f
lea ecx, [ebp - 0xd4]
push ecx
push eax
push dword [esi + 0x70]
push dword [ebp - 0x48]
push dword [ebp - 0xd0]
call fcn.004cc250
add esp, 0x14
test eax, eax
je 0x4a785e
push str.Error_uncompressing_RLE_data.
lea ecx, [ebp - 0xac]
call fcn.004d4cd0
push 0x796724
jmp 0x4a82d7
mov eax, dword [ebp - 0x40]
xor ecx, ecx
cmp dword [ebp - 0xd4], eax
jne 0x4a8296
cmp ecx, dword [ebp - 0x3c]
jne 0x4a8296
push dword [esi + 0x98]
push dword [esi + 0x70]
push edi
push eax
call fcn.004c7ac0
cdq
add esp, 0x10
cmp eax, edi
jne 0x4a8296
cmp edx, dword [ebp - 0x34]
jne 0x4a8296
mov ecx, dword [esi + 0x30]
mov eax, 0x51eb851f
sub ecx, dword [esi + 0x2c]
imul ecx
lea ecx, [ebp - 0xf9]
sar edx, 5
mov eax, edx
shr eax, 0x1f
push ecx
add eax, edx
lea ecx, [ebp - 0x124]
push eax
call fcn.0049f220
mov ecx, dword [esi + 0x30]
mov eax, 0x51eb851f
sub ecx, dword [esi + 0x2c]
imul ecx
mov eax, 0
mov dword [ebp - 4], 1
sar edx, 5
mov edi, edx
mov dword [ebp - 0x10c], eax
shr edi, 0x1f
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0x104], eax
add edi, edx
je 0x4a7968
cmp edi, 0x15555555
ja 0x4a82e3
push edi
lea ecx, [ebp - 0x10c]
call fcn.004a0630
lea ecx, [edi + edi*2]
mov dword [ebp - 0x10c], eax
lea ecx, [eax + ecx*4]
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0x104], ecx
nop word [eax + eax]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
add eax, 0xc
sub edi, 1
jne 0x4a7940
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x108], eax
mov edi, dword [esi + 0x2c]
xor ecx, ecx
mov dword [ebp - 0xcc], ecx
mov eax, 0x51eb851f
mov ecx, dword [esi + 0x30]
mov dword [ebp - 0xc0], ecx
sub ecx, edi
imul ecx
mov byte [ebp - 4], 2
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4a79f4
nop word [eax + eax]
mov edi, dword [ebp - 0xcc]
mov ecx, edi
mov eax, dword [ebp - 0x124]
shr ecx, 5
lea edx, [eax + ecx*4]
mov ecx, edi
and ecx, 0x1f
mov eax, 1
shl eax, cl
inc edi
not eax
mov dword [ebp - 0xcc], edi
and dword [edx], eax
mov eax, dword [esi + 0x30]
mov ecx, eax
mov edi, dword [esi + 0x2c]
sub ecx, edi
mov dword [ebp - 0xc0], eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xcc], eax
jb 0x4a79a0
mov eax, dword [esi + 0x80]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xf8]
mov esi, eax
mov dword [ebp - 0xd0], eax
cmp eax, dword [ebp - 0xec]
jg 0x4a7b6a
mov eax, dword [ebp - 0xc0]
xor ecx, ecx
mov dword [ebp - 0xcc], ecx
mov ecx, eax
sub ecx, edi
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc0], eax
je 0x4a7b57
mov dword [ebp - 0xc8], edi
xor ecx, ecx
mov edi, dword [ebp - 0x10c]
mov dword [ebp - 0xd8], ecx
add edi, 4
nop word [eax + eax]
mov eax, dword [ebp - 0xc8]
add eax, ecx
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xc4], eax
mov esi, dword [eax + 0x20]
test ecx, ecx
js 0x4a7a94
mov eax, ecx
cdq
idiv esi
mov ecx, eax
jmp 0x4a7aaa
mov eax, esi
test esi, esi
js 0x4a7a9f
sub eax, ecx
dec eax
jmp 0x4a7aa3
not eax
sub eax, ecx
cdq
idiv esi
mov ecx, eax
neg ecx
imul ecx, esi
mov esi, dword [ebp - 0xd0]
mov eax, esi
sub eax, ecx
jne 0x4a7afe
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x4a7acd
mov ecx, dword [ebp - 0xe4]
mov dword [eax], ecx
add dword [edi], 4
jmp 0x4a7add
lea ecx, [ebp - 0xe4]
push ecx
push eax
lea ecx, [edi - 4]
call fcn.0049bb60
mov eax, dword [ebp - 0xc4]
push dword [eax + 0x24]
call fcn.004b28c0
mov ecx, dword [ebp - 0xc4]
add esp, 4
imul eax, dword [ecx + 0x2c]
add dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe0]
add edi, 0xc
inc dword [ebp - 0xcc]
add dword [ebp - 0xd8], 0x64
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc0], ecx
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
mov ecx, dword [ebp - 0xd8]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xcc], eax
jb 0x4a7a70
mov edi, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc0]
inc esi
mov dword [ebp - 0xd0], esi
cmp esi, dword [ebp - 0xec]
jle 0x4a7a20
mov edi, dword [ebp - 0xe0]
xor ecx, ecx
mov dword [ebp - 0xd0], ecx
mov eax, 0x2aaaaaab
mov ecx, dword [edi + 0x3c]
mov esi, dword [edi + 0x38]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4a7d57
xor ecx, ecx
mov dword [ebp - 0xcc], ecx
nop
mov eax, dword [esi + ecx]
mov edx, dword [esi + ecx + 4]
mov esi, dword [esi + ecx + 8]
mov ecx, dword [edi + 0x2c]
mov dword [ebp - 0xc4], eax
imul eax, eax, 0x64
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0x100], esi
cmp dword [eax + ecx + 0x18], 1
lea edi, [eax + ecx]
mov dword [ebp - 0xc0], edi
jne 0x4a7e32
imul eax, edx, 0x64
add eax, ecx
mov dword [ebp - 0xd8], eax
cmp dword [eax + 0x18], 1
jne 0x4a7e32
imul eax, esi, 0x64
add eax, ecx
mov dword [ebp - 0xdc], eax
cmp dword [eax + 0x18], 1
jne 0x4a7e32
mov ecx, dword [ebp - 0x10c]
lea eax, [esi + esi*2]
lea esi, [ecx + eax*4]
lea eax, [edx + edx*2]
lea edx, [ecx + eax*4]
mov eax, dword [ebp - 0xc4]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0xdc]
push dword [eax + 0x24]
mov eax, dword [ebp - 0xd8]
push dword [eax + 0x24]
mov eax, edi
mov edi, dword [ebp - 0x30]
push dword [eax + 0x24]
push dword [eax + 0x30]
push dword [eax + 0x2c]
mov eax, dword [ebp - 0xe8]
push 0x54f020
push dword [ebp - 0xf0]
lea eax, [eax + edi*2]
push eax
push dword [ebp - 0xe8]
push esi
push edx
push ecx
lea ecx, [ebp - 0x170]
call fcn.0049fa40
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 3
call fcn.004a2d20
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0xe8]
mov byte [ebp - 4], 2
lea ecx, [ecx + eax*2]
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0xe8], ecx
mov ecx, dword [ebp - 0xf0]
lea ecx, [ecx + eax*2]
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0xf0], ecx
mov ecx, dword [ebp - 0xc4]
mov edx, ecx
shr edx, 5
and ecx, 0x1f
lea edx, [eax + edx*4]
mov eax, 1
shl eax, cl
or dword [edx], eax
mov ecx, dword [ebp - 0xc8]
mov edx, ecx
mov eax, dword [ebp - 0x124]
and ecx, 0x1f
shr edx, 5
lea edx, [eax + edx*4]
mov eax, 1
shl eax, cl
or dword [edx], eax
mov ecx, dword [ebp - 0x100]
mov edx, ecx
mov eax, dword [ebp - 0x124]
and ecx, 0x1f
shr edx, 5
lea edx, [eax + edx*4]
mov eax, 1
shl eax, cl
lea ecx, [ebp - 0x170]
or dword [edx], eax
mov dword [ebp - method.Imf_3_2::DwaCompressor::LossyDctDecoderCsc.virtual_0], vtable.Imf_3_2::DwaCompressor::LossyDctDecoderCsc.0
call fcn.004a00d0
mov edi, dword [ebp - 0xe0]
mov eax, 0x2aaaaaab
inc dword [ebp - 0xd0]
add dword [ebp - 0xcc], 0xc
mov ecx, dword [edi + 0x3c]
mov esi, dword [edi + 0x38]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
mov ecx, dword [ebp - 0xcc]
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xd0], eax
jb 0x4a7ba0
mov esi, dword [edi + 0x2c]
mov eax, 0x51eb851f
mov ecx, dword [edi + 0x30]
sub ecx, esi
mov dword [ebp - 0xcc], 0
imul ecx
mov dword [ebp - 0xc0], esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4a7fa8
mov eax, dword [ebp - 0x10c]
xor ecx, ecx
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xd8], eax
nop
mov edx, dword [ebp - 0x124]
mov eax, 1
shr ecx, 5
shl ecx, 2
add edx, ecx
mov dword [ebp - 0x110], ecx
mov ecx, dword [ebp - 0xcc]
and ecx, 0x1f
shl eax, cl
mov dword [ebp - 0x14], ecx
test dword [edx], eax
jne 0x4a7f67
mov eax, dword [ebp - 0xc8]
push dword [eax + esi + 0x24]
call fcn.004b28c0
mov ecx, dword [ebp - 0xc8]
add esp, 4
mov dword [ebp - 0xdc], eax
mov eax, dword [ecx + esi + 0x18]
sub eax, 0
je 0x4a8141
sub eax, 1
je 0x4a802b
sub eax, 1
jne 0x4a8241
mov eax, dword [ebp - 0xf8]
mov edi, eax
mov dword [ebp - 0xc4], eax
cmp eax, dword [ebp - 0xec]
jg 0x4a7f4b
mov dword [ebp - 0xd0], 0
jmp 0x4a7e56
push str.Bad_DWA_compression_type_detected
lea ecx, [ebp - 0xac]
call fcn.004d4cd0
push 0x796724
jmp 0x4a82d7
mov ecx, dword [ebp - 0xc8]
mov esi, dword [ecx + esi + 0x20]
test edi, edi
js 0x4a7e67
mov eax, edi
cdq
idiv esi
mov ecx, eax
jmp 0x4a7e7d
mov eax, esi
test esi, esi
js 0x4a7e72
sub eax, edi
dec eax
jmp 0x4a7e76
not eax
sub eax, edi
cdq
idiv esi
mov ecx, eax
neg ecx
imul ecx, esi
mov eax, edi
mov esi, dword [ebp - 0xc0]
sub eax, ecx
jne 0x4a7f38
mov eax, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xdc]
mov eax, dword [eax]
mov edx, dword [edx + eax]
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + esi + 0x2c]
cmp ecx, 2
jne 0x4a7ee2
push eax
mov eax, dword [ebp - 0xc8]
push dword [eax + esi + 0x50]
push dword [eax + esi + 0x4c]
push edx
call fcn.004a6500
mov ecx, dword [ebp - 0xc8]
add esp, 0x10
mov eax, dword [ecx + esi + 0x2c]
add dword [ecx + esi + 0x4c], eax
add dword [ecx + esi + 0x50], eax
jmp 0x4a7f31
xor edi, edi
test eax, eax
jle 0x4a7f2b
mov eax, dword [ebp - 0xc8]
nop
test ecx, ecx
jle 0x4a7f24
add esi, 0x4c
add eax, esi
mov esi, ecx
nop dword [eax + eax]
mov ecx, dword [eax]
lea eax, [eax + 4]
mov cl, byte [ecx]
mov byte [edx], cl
inc edx
inc dword [eax - 4]
sub esi, 1
jne 0x4a7f00
mov ecx, dword [ebp - 0xdc]
mov esi, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xc8]
inc edi
cmp edi, dword [eax + esi + 0x2c]
jl 0x4a7ef0
mov edi, dword [ebp - 0xc4]
add dword [ebp - 0xd0], 4
inc edi
mov dword [ebp - 0xc4], edi
cmp edi, dword [ebp - 0xec]
jle 0x4a7e50
mov edi, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x110]
add ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx]
bts eax, edx
mov dword [ecx], eax
mov esi, dword [edi + 0x2c]
mov eax, 0x51eb851f
mov ecx, dword [edi + 0x30]
inc dword [ebp - 0xcc]
sub ecx, esi
add dword [ebp - 0xc8], 0x64
add dword [ebp - 0xd8], 0xc
imul ecx
mov ecx, dword [ebp - 0xcc]
sar edx, 5
mov eax, edx
mov dword [ebp - 0xc0], esi
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jb 0x4a7da0
mov ecx, dword [ebp - 0x114]
mov eax, dword [edi + 0x80]
mov esi, dword [ebp - 0xe4]
mov dword [ecx], eax
sub esi, dword [edi + 0x80]
mov edi, dword [ebp - 0x10c]
test edi, edi
je 0x4a826c
lea ecx, [ebp - 0x10c]
push ecx
push dword [ebp - 0xf4]
push edi
call fcn.0049baf0
mov ecx, dword [ebp - 0xd4]
mov eax, 0x2aaaaaab
sub ecx, edi
add esp, 0xc
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 2
cmp ecx, 0x1000
jb 0x4a8262
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a82e8
jmp 0x4a8262
push dword [ecx + esi + 0x30]
mov eax, dword [ecx + esi + 0x24]
xor edx, edx
push dword [ecx + esi + 0x2c]
cmp byte [ecx + esi + 0x28], dl
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xdc], eax
mov eax, 0x54f020
cmovne eax, edx
push eax
mov eax, dword [ebp - 0x30]
push dword [ebp - 0xf0]
lea eax, [ecx + eax*2]
push eax
push ecx
lea ecx, [ebp - 0xbc]
call fcn.0049f990
mov esi, dword [ebp - 0x90]
push dword [ebp - 0xd8]
mov byte [ebp - 4], 4
mov dword [ebp - 0xbc], vtable.Imf_3_2::DwaCompressor::LossyDctDecoder.0
push esi
cmp esi, dword [ebp - 0x8c]
je 0x4a80ae
lea eax, [ebp - 0x94]
push eax
call fcn.0049cb00
add esp, 0xc
add esi, 0xc
mov dword [ebp - 0x90], esi
jmp 0x4a80b9
lea ecx, [ebp - 0x94]
call fcn.0049bf00
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x80]
je 0x4a80d7
mov ecx, dword [ebp - 0x100]
mov dword [eax], ecx
add eax, 4
mov dword [ebp - 0x84], eax
jmp 0x4a80ea
lea ecx, [ebp - 0xdc]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.0049c0d0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 5
call fcn.004a2d20
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xe8]
mov byte [ebp - 4], 2
mov dword [ebp - 0xbc], vtable.Imf_3_2::DwaCompressor::LossyDctDecoder.0
lea ecx, [ecx + eax*2]
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xe8], ecx
mov ecx, dword [ebp - 0xf0]
lea ecx, [ecx + eax*2]
mov dword [ebp - 0xf0], ecx
lea ecx, [ebp - 0xbc]
call fcn.004a00d0
jmp 0x4a7f51
push dword [ecx + esi + 0x24]
call fcn.004b28c0
mov edx, dword [ebp - 0xc8]
add esp, 4
imul eax, dword [edx + esi + 0x2c]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xf8]
mov esi, eax
cmp eax, dword [ebp - 0xec]
jg 0x4a7f51
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], 0
mov ecx, dword [edx + ecx + 0x20]
test esi, esi
js 0x4a8191
mov eax, esi
cdq
idiv ecx
jmp 0x4a81a5
mov eax, ecx
test ecx, ecx
js 0x4a819c
sub eax, esi
dec eax
jmp 0x4a81a0
not eax
sub eax, esi
cdq
idiv ecx
neg eax
imul ecx, eax
mov eax, esi
sub eax, ecx
jne 0x4a8223
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xdc]
mov eax, dword [ecx + eax + 0x38]
mov ecx, dword [edi + 0xa0]
add eax, edx
add ecx, dword [edi + 0x90]
cmp eax, ecx
ja 0x4a825b
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc8]
push edx
push dword [ecx + eax + 0x38]
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xc4]
mov eax, dword [eax]
push dword [ecx + eax]
call fcn.00464550
mov ecx, dword [ebp - 0xc0]
add esp, 0xc
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xdc]
add dword [edx + ecx + 0x38], eax
add dword [ebp - 0xc4], 4
jmp 0x4a822f
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xc8]
inc esi
cmp esi, dword [ebp - 0xec]
jle 0x4a8182
jmp 0x4a7f51
push str.Unhandled_compression_scheme_case
lea ecx, [ebp - 0xac]
call fcn.004d85e0
push 0x796cb8
jmp 0x4a82d7
push str.DWA_data_corrupt
jmp 0x4a82c7
push ecx
push edi
call fcn.00462fc9
add esp, 8
lea ecx, [ebp - 0x124]
call fcn.00492280
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462b2c
mov esp, ebp
pop ebp
ret 0x1c
push str.RLE_data_corrupted
lea ecx, [ebp - 0xac]
call fcn.004d4cd0
push 0x796724
jmp 0x4a82d7
push str.Invalid_version_of_compressed_data_block
jmp 0x4a82c7
push str.Error_uncompressing_DWA_data__corrupt_header_.
jmp 0x4a82c7
push str.Error_uncompressing_DWA_data_truncated_file_.
jmp 0x4a82c7
push str.Error_uncompressing_DWA_data_truncated_header_.
lea ecx, [ebp - 0xac]
call fcn.004d82f0
push 0x79555c
lea eax, [ebp - 0xac]
push eax
call fcn.004644df
call fcn.0043c810
call fcn.0046d997
int3