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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x40], 0
lea esi, [esp + 0x44]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 6
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebx]
mov ebp, eax
test eax, eax
jne 0x6467e49c
cmp dword [esp + 0x44], 6
je 0x6467e4ac
mov ebp, 0x80004005
mov eax, ebp
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov al, byte [sym.allegro_5.0.10_monolith_mt.dll_k7zSignature]
cmp byte [esp + 0x48], al
jne 0x6467e52c
mov dl, byte [0x647dd375]
cmp byte [esp + 0x49], dl
jne 0x6467e52c
mov cl, byte [0x647dd376]
cmp byte [esp + 0x4a], cl
jne 0x6467e52c
mov al, byte [0x647dd377]
cmp byte [esp + 0x4b], al
jne 0x6467e52c
mov dl, byte [0x647dd378]
cmp byte [esp + 0x4c], dl
jne 0x6467e52c
mov cl, byte [0x647dd379]
cmp byte [esp + 0x4d], cl
jne 0x6467e52c
mov dword [esp + 0xc], esi
mov dword [esp + 8], 1
lea edi, [esp + 0x3b]
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [ebx]
test eax, eax
jne 0x6467e51b
cmp dword [esp + 0x44], 1
je 0x6467e53e
mov eax, 0x80004005
mov ebp, eax
mov eax, ebp
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, 6
mov eax, ebp
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [esp + 0x3b], 0
jne 0x6467e52c
mov dword [esp + 0xc], esi
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [ebx]
test eax, eax
jne 0x6467e51b
cmp dword [esp + 0x44], 1
jne 0x6467e516
mov dword [esp + 0xc], esi
mov dword [esp + 8], 1
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebx]
test eax, eax
jne 0x6467e51b
cmp dword [esp + 0x44], 1
jne 0x6467e516
movzx edi, byte [esp + 0x60]
mov eax, dword [esp + 0x40]
mov ecx, edi
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + sym.allegro_5.0.10_monolith_mt.dll_g_CrcTable]
mov dword [esp + 0x40], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], 1
lea edx, [esp + 0x60]
mov dword [esp + 4], edx
mov dword [esp], ebx
call dword [ebx]
test eax, eax
jne 0x6467e51b
mov eax, 0x80004005
cmp dword [esp + 0x44], 1
jne 0x6467e51b
movzx ecx, byte [esp + 0x60]
mov edx, ecx
shl edx, 8
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x40]
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + sym.allegro_5.0.10_monolith_mt.dll_g_CrcTable]
mov dword [esp + 0x40], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], 1
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp], ebx
call dword [ebx]
test eax, eax
jne 0x6467e51b
mov eax, 0x80004005
cmp dword [esp + 0x44], 1
jne 0x6467e51b
movzx eax, byte [esp + 0x60]
mov ecx, eax
shl ecx, 0x10
or ecx, edi
or ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x40]
xor eax, edi
and eax, 0xff
shr edi, 8
xor edi, dword [eax*4 + sym.allegro_5.0.10_monolith_mt.dll_g_CrcTable]
mov dword [esp + 0x40], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], 1
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 0x28], ecx
call dword [ebx]
test eax, eax
mov ecx, dword [esp + 0x28]
jne 0x6467e51b
mov eax, 0x80004005
cmp dword [esp + 0x44], 1
jne 0x6467e51b
movzx edx, byte [esp + 0x60]
shl edx, 0x18
or edx, ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x40], 0xffffffff
lea edi, [esp + 0x40]
mov dword [esp + 8], edi
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym.allegro_5.0.10_monolith_mt.dll_SafeReadDirectUInt64
test eax, eax
jne 0x6467e51b
mov dword [esp + 8], edi
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym.allegro_5.0.10_monolith_mt.dll_SafeReadDirectUInt64
test eax, eax
jne 0x6467e51b
mov dword [esp + 8], edi
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym.allegro_5.0.10_monolith_mt.dll_SafeReadDirectUInt32
test eax, eax
jne 0x6467e51b
mov eax, dword [esp + 0xa4]
mov dword [eax + 0x20], 0x20
mov dword [eax + 0x24], 0
mov eax, dword [esp + 0x40]
not eax
cmp eax, dword [esp + 0x2c]
jne 0x6467e52c
mov eax, dword [esp + 0x5c]
or eax, dword [esp + 0x58]
je 0x6467e49c
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
add eax, 0x20
adc edx, 0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ebx
call dword [ebx + 4]
mov ebp, eax
test eax, eax
jne 0x6467e49c
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
lea edi, [esp + 0x68]
mov dword [esp], edi
call sym.allegro_5.0.10_monolith_mt.dll_SzByteBufferCreate
test eax, eax
je 0x6467e7cf
mov ebp, dword [esp + 0x58]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebx]
test eax, eax
jne 0x6467e7aa
mov eax, 0x80004005
cmp ebp, dword [esp + 0x44]
je 0x6467e7d9
mov ecx, dword [esp + 0xac]
mov edx, dword [ecx + 4]
mov dword [esp + 4], edx
mov dword [esp], edi
mov dword [esp + 0x28], eax
call sym.allegro_5.0.10_monolith_mt.dll_SzByteBufferFree
mov eax, dword [esp + 0x28]
mov ebp, eax
jmp 0x6467e49c
mov ebp, 0x8007000e
jmp 0x6467e49c
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_CrcCalc
cmp eax, dword [esp + 0x3c]
je 0x6467e7fa
mov eax, 6
jmp 0x6467e7aa
lea esi, [esp + 0x70]
lea ebp, [esp + 0x78]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x74], eax
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp], esi
call sym.allegro_5.0.10_monolith_mt.dll_SzReadNumber
test eax, eax
jne 0x6467e7aa
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov ecx, edx
xor ecx, 1
or ecx, eax
je 0x6467e89d
xor edx, 0x17
or edx, eax
jne 0x6467e7f3
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xa4]
mov eax, dword [ecx + 0x20]
mov edx, dword [ecx + 0x24]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym.allegro_5.0.10_monolith_mt.dll_SzReadAndDecodePackedStreams
test eax, eax
jne 0x6467e8cb
mov edx, dword [esp + 0xac]
mov eax, dword [edx + 4]
mov dword [esp + 4], eax
mov dword [esp], edi
call sym.allegro_5.0.10_monolith_mt.dll_SzByteBufferFree
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x68], eax
jmp 0x6467e802
mov eax, dword [esp + 0xac]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
mov edx, dword [esp + 0xa4]
mov dword [esp + 4], edx
mov dword [esp], esi
call sym.allegro_5.0.10_monolith_mt.dll_SzReadHeader
jmp 0x6467e7aa
mov ecx, dword [esp + 0xac]
mov edx, dword [ecx + 4]
mov dword [esp + 4], edx
mov dword [esp], ebp
mov dword [esp + 0x28], eax
call sym.allegro_5.0.10_monolith_mt.dll_SzByteBufferFree
mov eax, dword [esp + 0x28]
jmp 0x6467e7aa