Function at 0x496740
Capabilities:
Inspect section memory permissions
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6c05
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x4e400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
xor esi, esi
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], esi
push 1
mov dword [ebp - 0x74], esi
push str.data_pangya_gb.iff
mov dword [ebp - 0x2c], esi
call dword [sym.imp.zip.dll_zip_open]
add esp, 0xc
mov dword [ebp - 0x70], eax
test eax, eax
jne 0x49697f
push 0x1c
call fcn.004b544c
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x118]
mov edx, dword [ebp - 0x2c]
call fcn.00403dc0
mov edi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x100]
push str.data_pangya_gb.iff
mov dword [ebp - 0x68], 1
call fcn.004021f0
mov esi, eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x178]
push str.saveSpecialPrizeItem
mov dword [ebp - 0x68], 3
call fcn.004021f0
mov dword [ebp - 4], 3
mov edx, str._iff::writer::
push eax
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x68], 7
call fcn.0043d500
add esp, 4
mov dword [ebp - 4], 4
mov edx, eax
push str.__Error__nao_conseguiu_abrir_o_arquivo_zip_
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x68], 0xf
call fcn.0043d5b0
add esp, 4
mov dword [ebp - 4], 5
mov edx, eax
push esi
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x68], 0x1f
call fcn.00402700
add esp, 4
mov dword [ebp - 4], 6
mov edx, eax
push str._ErrCode:
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x68], 0x3f
call fcn.0043d5b0
mov dword [ebp - 4], 7
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x20], esp
mov edx, eax
mov dword [ebp - 0x68], 0x7f
push edi
call fcn.00402700
add esp, 4
mov dword [ebp - 4], 8
push 2
mov byte [ebp - 4], 7
mov ecx, ebx
call fcn.00443ab0
mov esi, eax
mov dword [ebp - 4], 0xf
call fcn.0043d6c0
push esi
mov ecx, eax
call fcn.0043d660
mov dword [ebp - 4], 0xe
mov esi, 0x7f
mov dword [ebp - 0x68], esi
lea ecx, [ebp - 0xd0]
and esi, 0xffffffbf
mov dword [ebp - 0x68], esi
call fcn.00401770
mov dword [ebp - 4], 0xd
and esi, 0xffffffdf
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x68], esi
call fcn.00401770
mov dword [ebp - 4], 0xc
and esi, 0xffffffef
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x68], esi
call fcn.00401770
mov dword [ebp - 4], 0xb
and esi, 0xfffffff7
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x68], esi
call fcn.00401770
mov dword [ebp - 4], 0xa
and esi, 0xfffffffb
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x68], esi
call fcn.00401770
mov dword [ebp - 4], 9
and esi, 0xfffffffd
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x68], esi
call fcn.00401770
mov dword [ebp - 4], 0xffffffff
and esi, 0xfffffffe
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x68], esi
call fcn.00401770
jmp 0x498251
push 8
push eax
call dword [sym.imp.zip.dll_zip_get_num_entries]
mov ebx, eax
mov edi, edx
push 0x38
lea eax, [ebp - 0x64]
mov dword [ebp - 0x78], ebx
push 0
push eax
mov dword [ebp - 0x20], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.zip.dll_zip_stat_init]
add esp, 4
xorps xmm0, xmm0
movlpd qword [ebp - 0x80], xmm0
test edi, edi
jb 0x496a4a
ja 0x4969c9
test ebx, ebx
je 0x496a4a
mov edi, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x80]
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb8], ebx
nop dword [eax + eax]
lea eax, [ebp - 0x64]
push eax
push 8
push edi
push ebx
push dword [ebp - 0x70]
call dword [sym.imp.zip.dll_zip_stat_index]
mov eax, dword [ebp - 0x5c]
add esp, 0x14
mov ecx, str.SpecialPrizeItem.iff
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x496a20
test dl, dl
je 0x496a1c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x496a20
add eax, 2
add ecx, 2
test dl, dl
jne 0x496a00
xor eax, eax
jmp 0x496a25
sbb eax, eax
or eax, 1
test eax, eax
je 0x496a5c
add ebx, 1
mov dword [ebp - 0xb8], ebx
adc edi, esi
mov dword [ebp - 0xb4], edi
cmp edi, dword [ebp - 0x20]
jb 0x4969e0
mov eax, dword [ebp - 0x78]
ja 0x496a5f
cmp ebx, eax
jb 0x4969e0
jmp 0x496a5f
mov edi, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x80]
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb8], ebx
mov eax, dword [ebp - 0x78]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
cmp edi, dword [ebp - 0x20]
ja 0x4974b0
jb 0x496a7a
cmp ebx, eax
jae 0x4974b0
push 8
push edi
push ebx
push dword [ebp - 0x70]
call dword [sym.imp.zip.dll_zip_fopen_index]
add esp, 0x10
mov dword [ebp - 0x78], eax
test eax, eax
je 0x4972b4
mov edx, dword [ebp - 0x4c]
xor ecx, ecx
or ecx, dword [ebp - 0x50]
mov dword [ebp - 0x7c], ecx
ja 0x496b99
cmp edx, 8
jae 0x496b99
push eax
call dword [sym.imp.zip.dll_zip_fclose]
add esp, 4
push dword [ebp - 0x70]
call dword [sym.imp.zip.dll_zip_close]
add esp, 4
push 0x1c
call fcn.004b544c
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0x42
lea ecx, [ebp - 0x100]
push str.saveSpecialPrizeItem
call fcn.004021f0
mov byte [ebp - 4], 0x43
mov edx, str._iff_writer::
push eax
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x68], 0x20000000
call fcn.0043d500
mov dword [ebp - 4], 0x44
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x20], esp
mov edx, eax
mov dword [ebp - 0x68], 0x60000000
push str.__Error__nao_e_um_arquivo_iff_valido.
call fcn.0043d5b0
add esp, 4
mov dword [ebp - 4], 0x45
push 2
mov byte [ebp - 4], 0x44
mov ecx, esi
call fcn.00443ab0
mov esi, eax
mov dword [ebp - 4], 0x47
call fcn.0043d6c0
push esi
mov ecx, eax
call fcn.0043d660
mov dword [ebp - 4], 0x46
mov esi, 0x60000000
mov dword [ebp - 0x68], esi
lea ecx, [ebp - 0x118]
and esi, 0xbfffffff
mov dword [ebp - 0x68], esi
call fcn.00401770
mov dword [ebp - 4], 0xffffffff
and esi, 0xdfffffff
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x68], esi
call fcn.00401770
jmp 0x498251
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push 8
push edi
push ebx
push dword [ebp - 0x70]
call dword [sym.imp.zip.dll_zip_file_get_external_attributes]
add esp, 0x18
test eax, eax
jns 0x496dc0
push 0x1c
call fcn.004b544c
mov ebx, eax
add esp, 4
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0x10
mov esi, dword [ebp - 0x70]
push esi
call dword [sym.imp.zip.dll_zip_strerror]
add esp, 4
lea ecx, [ebp - 0x98]
push eax
call fcn.004021f0
mov edi, eax
mov byte [ebp - 4], 0x11
push esi
mov dword [ebp - 0x68], 0x80
call dword [sym.imp.zip.dll_zip_get_error]
add esp, 4
lea ecx, [ebp - 0xb0]
mov edx, dword [eax]
call fcn.00403dc0
mov esi, eax
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0xe8]
push str.saveSpecialPrizeItem
mov dword [ebp - 0x68], 0x180
call fcn.004021f0
mov dword [ebp - 4], 0x13
mov edx, str._iff_writer::
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x68], 0x380
call fcn.0043d500
add esp, 4
mov dword [ebp - 4], 0x14
mov edx, eax
push str.__Error__zip_file_get_external_attributes__ErrCode:
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x68], 0x780
call fcn.0043d5b0
add esp, 4
mov dword [ebp - 4], 0x15
mov edx, eax
push esi
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x68], 0xf80
call fcn.00402700
add esp, 4
mov dword [ebp - 4], 0x16
mov edx, eax
push str._ErrMsg:
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x68], 0x1f80
call fcn.0043d5b0
mov dword [ebp - 4], 0x17
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x7c], esp
mov edx, eax
mov dword [ebp - 0x68], 0x3f80
push edi
call fcn.00402700
add esp, 4
mov dword [ebp - 4], 0x18
push 2
mov byte [ebp - 4], 0x17
mov ecx, ebx
call fcn.00443ab0
mov esi, eax
mov dword [ebp - 4], 0x1f
call fcn.0043d6c0
push esi
mov ecx, eax
call fcn.0043d660
mov dword [ebp - 4], 0x1e
mov esi, 0x3f80
mov dword [ebp - 0x68], esi
lea ecx, [ebp - 0x118]
and esi, 0xffffdfff
mov dword [ebp - 0x68], esi
call fcn.00401770
mov dword [ebp - 4], 0x1d
and esi, 0xffffefff
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x68], esi
call fcn.00401770
mov dword [ebp - 4], 0x1c
and esi, 0xfffff7ff
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x68], esi
call fcn.00401770
mov dword [ebp - 4], 0x1b
and esi, 0xfffffbff
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x68], esi
call fcn.00401770
mov dword [ebp - 4], 0x1a
and esi, 0xfffffdff
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x68], esi
call fcn.00401770
mov dword [ebp - 4], 0x19
and esi, 0xfffffeff
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x68], esi
call fcn.00401770
mov dword [ebp - 4], 0xffffffff
and esi, 0xffffff7f
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x68], esi
call fcn.00401770
push 0x1c
call fcn.004b544c
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x20
lea ecx, [ebp - 0x148]
mov edx, dword [ebp - 0x24]
call fcn.004019e0
mov ebx, eax
mov byte [ebp - 4], 0x21
or esi, 0x4000
mov dword [ebp - 0x68], esi
lea ecx, [ebp - 0x130]
movzx edx, byte [ebp - 0x28]
call fcn.00403dc0
mov edi, eax
mov dword [ebp - 4], 0x22
or esi, 0x8000
push str.SpecialPrizeItem.iff
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x68], esi
call fcn.004021f0
mov esi, eax
mov dword [ebp - 4], 0x23
lea ecx, [ebp - 0x98]
or dword [ebp - 0x68], 0x10000
push str.saveSpecialPrizeItem
call fcn.004021f0
mov dword [ebp - 4], 0x24
mov edx, str._iff_writer::
or dword [ebp - 0x68], 0x20000
lea ecx, [ebp - 0xb0]
push eax
call fcn.0043d500
add esp, 4
mov dword [ebp - 4], 0x25
mov edx, eax
or dword [ebp - 0x68], 0x40000
lea ecx, [ebp - 0xe8]
push str.__Log_
call fcn.0043d5b0
add esp, 4
mov dword [ebp - 4], 0x26
mov edx, eax
or dword [ebp - 0x68], 0x80000
lea ecx, [ebp - 0xd0]
push esi
call fcn.00402700
add esp, 4
mov dword [ebp - 4], 0x27
mov edx, eax
mov esi, dword [ebp - 0x68]
lea ecx, [ebp - 0x178]
or esi, 0x100000
push str._OPERATION_SYSTEM:
mov dword [ebp - 0x68], esi
call fcn.0043d5b0
add esp, 4
mov dword [ebp - 4], 0x28
or esi, 0x200000
push edi
mov edx, eax
mov dword [ebp - 0x68], esi
lea ecx, [ebp - 0x100]
call fcn.00402700
add esp, 4
mov dword [ebp - 4], 0x29
or esi, 0x400000
mov dword [ebp - 0x68], esi
mov edx, eax
push str._ATTR_FILE:
lea ecx, [ebp - 0x118]
call fcn.0043d5b0
mov dword [ebp - 4], 0x2a
sub esp, 0x14
or esi, 0x800000
mov ecx, esp
mov dword [ebp - 0x68], esi
mov edx, eax
mov dword [ebp - 0x7c], esp
push ebx
call fcn.00402700
add esp, 4
mov dword [ebp - 4], 0x2b
push 2
mov byte [ebp - 4], 0x2a
mov ecx, dword [ebp - 0x20]
call fcn.00443ab0
mov esi, eax
mov dword [ebp - 4], 0x35
call fcn.0043d6c0
push esi
mov ecx, eax
call fcn.0043d660
mov dword [ebp - 4], 0x34
mov ebx, dword [ebp - 0x68]
test ebx, 0x800000
je 0x496f85
and ebx, 0xff7fffff
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x68], ebx
call fcn.00401770
mov dword [ebp - 4], 0x33
test ebx, 0x400000
je 0x496fa8
and ebx, 0xffbfffff
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x68], ebx
call fcn.00401770
mov dword [ebp - 4], 0x32
test ebx, 0x200000
je 0x496fcb
and ebx, 0xffdfffff
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x68], ebx
call fcn.00401770
mov dword [ebp - 4], 0x31
test ebx, 0x100000
je 0x496fee
and ebx, 0xffefffff
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x68], ebx
call fcn.00401770
mov dword [ebp - 4], 0x30
test ebx, 0x80000
je 0x497011
and ebx, 0xfff7ffff
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x68], ebx
call fcn.00401770
mov dword [ebp - 4], 0x2f
test ebx, 0x40000
je 0x497034
and ebx, 0xfffbffff
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x68], ebx
call fcn.00401770
mov dword [ebp - 4], 0x2e
test ebx, 0x20000
je 0x497057
and ebx, 0xfffdffff
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x68], ebx
call fcn.00401770
mov dword [ebp - 4], 0x2d
test ebx, 0x10000
je 0x49707a
and ebx, 0xfffeffff
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x68], ebx
call fcn.00401770
mov dword [ebp - 4], 0x2c
test ebx, 0x8000
je 0x49709d
and ebx, 0xffff7fff
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x68], ebx
call fcn.00401770
mov dword [ebp - 4], 0xffffffff
test ebx, 0x4000
je 0x4970c0
and ebx, 0xffffbfff
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x68], ebx
call fcn.00401770
mov esi, dword [ebp - 0x78]
lea eax, [ebp - 0x18]
push 0
push 8
push eax
push esi
call dword [sym.imp.zip.dll_zip_fread]
push esi
call dword [sym.imp.zip.dll_zip_fclose]
add esp, 0x14
cmp dword [ebp - 0x14], 0xd
jne 0x497104
movzx eax, word [ebp - 0x18]
xor edx, edx
or edx, dword [ebp - 0x50]
xor esi, esi
lea eax, [eax + eax*2]
lea eax, [eax*4 + 8]
cmp eax, dword [ebp - 0x4c]
jne 0x497104
cmp esi, edx
je 0x4976e6
push 0x1c
call fcn.004b544c
mov edi, eax
add esp, 4
mov dword [ebp - 0x7c], edi
mov dword [ebp - 4], 0x36
lea ecx, [ebp - 0x100]
push str.SpecialPrizeItem.iff
call fcn.004021f0
mov esi, eax
mov byte [ebp - 4], 0x37
or ebx, 0x1000000
push str.saveSpecialPrizeItem
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x68], ebx
call fcn.004021f0
mov dword [ebp - 4], 0x38
or ebx, 0x2000000
push eax
mov edx, str._iff_writer::
mov dword [ebp - 0x68], ebx
lea ecx, [ebp - 0x160]
call fcn.0043d500
add esp, 4
mov dword [ebp - 4], 0x39
or ebx, 0x4000000
push str.__Error_
mov edx, eax
mov dword [ebp - 0x68], ebx
lea ecx, [ebp - 0x130]
call fcn.0043d5b0
add esp, 4
mov dword [ebp - 4], 0x3a
or ebx, 0x8000000
push esi
mov edx, eax
mov dword [ebp - 0x68], ebx
lea ecx, [ebp - 0x148]
call fcn.00402700
mov dword [ebp - 4], 0x3b
sub esp, 0x14
or ebx, 0x10000000
mov ecx, esp
mov dword [ebp - 0x68], ebx
mov edx, eax
mov dword [ebp - 0x1c], esp
push str._version_ou_file_count_element_size_esta_errado.
call fcn.0043d5b0
add esp, 4
mov dword [ebp - 4], 0x3c
push 2
mov byte [ebp - 4], 0x3b
mov ecx, edi
call fcn.00443ab0
mov esi, eax
mov dword [ebp - 4], 0x41
call fcn.0043d6c0
push esi
mov ecx, eax
call fcn.0043d660
mov dword [ebp - 4], 0x40
test ebx, 0x10000000
je 0x497224
and ebx, 0xefffffff
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x68], ebx
call fcn.00401770
mov dword [ebp - 4], 0x3f
test ebx, 0x8000000
je 0x497247
and ebx, 0xf7ffffff
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x68], ebx
call fcn.00401770
mov dword [ebp - 4], 0x3e
test ebx, 0x4000000
je 0x49726a
and ebx, 0xfbffffff
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x68], ebx
call fcn.00401770
mov dword [ebp - 4], 0x3d
test ebx, 0x2000000
je 0x49728d
and ebx, 0xfdffffff
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x68], ebx
call fcn.00401770
mov dword [ebp - 4], 0xffffffff
test ebx, 0x1000000
je 0x498245
and ebx, 0xfeffffff
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x68], ebx
jmp 0x498240
push 0x1c
call fcn.004b544c
mov ebx, eax
add esp, 4
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 4], 0x48
mov esi, dword [ebp - 0x70]
push esi
call dword [sym.imp.zip.dll_zip_strerror]
add esp, 4
lea ecx, [ebp - 0xd0]
push eax
call fcn.004021f0
mov edi, eax
mov byte [ebp - 4], 0x49
push esi
mov dword [ebp - 0x68], 0x80000000
call dword [sym.imp.zip.dll_zip_get_error]
add esp, 4
lea ecx, [ebp - 0x178]
mov edx, dword [eax]
call fcn.00403dc0
mov esi, eax
mov dword [ebp - 4], 0x4a
lea ecx, [ebp - 0x100]
push str.saveSpecialPrizeItem
mov dword [ebp - 0x6c], 1
call fcn.004021f0
mov dword [ebp - 4], 0x4b
mov edx, str._iff_writer::
push eax
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x6c], 3
call fcn.0043d500
add esp, 4
mov dword [ebp - 4], 0x4c
mov edx, eax
push str.__Error__nao_conseguiu_abrir_zip_fopen_index._ErrCode:
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x6c], 7
call fcn.0043d5b0
add esp, 4
mov dword [ebp - 4], 0x4d
mov edx, eax
push esi
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x6c], 0xf
call fcn.00402700
add esp, 4
mov dword [ebp - 4], 0x4e
mov edx, eax
push str._ErrMsg:
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x6c], 0x1f
call fcn.0043d5b0
mov dword [ebp - 4], 0x4f
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov edx, eax
mov dword [ebp - 0x6c], 0x3f
push edi
call fcn.00402700
add esp, 4
mov dword [ebp - 4], 0x50
push 2
mov byte [ebp - 4], 0x4f
mov ecx, ebx
call fcn.00443ab0
mov esi, eax
mov dword [ebp - 4], 0x57
call fcn.0043d6c0
push esi
mov ecx, eax
call fcn.0043d660
mov dword [ebp - 4], 0x56
mov esi, 0x3f
mov dword [ebp - 0x6c], esi
lea ecx, [ebp - 0x148]
and esi, 0xffffffdf
mov dword [ebp - 0x6c], esi
call fcn.00401770
mov dword [ebp - 4], 0x55
and esi, 0xffffffef
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x6c], esi
call fcn.00401770
mov dword [ebp - 4], 0x54
and esi, 0xfffffff7
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x6c], esi
call fcn.00401770
mov dword [ebp - 4], 0x53
and esi, 0xfffffffb
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x6c], esi
call fcn.00401770
mov dword [ebp - 4], 0x52
and esi, 0xfffffffd
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x6c], esi
call fcn.00401770
mov dword [ebp - 4], 0x51
and esi, 0xfffffffe
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x6c], esi
call fcn.00401770
mov dword [ebp - 4], 0xffffffff
mov eax, 0x80000000
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0xd0]
and eax, 0x7fffffff
mov dword [ebp - 0x68], eax
jmp 0x498240
push 0x1c
call fcn.004b544c
mov esi, eax
add esp, 4
mov dword [ebp - 0x7c], esi
mov dword [ebp - 4], 0x58
lea ecx, [ebp - 0xb0]
push 0x14
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
push str.SpecialPrizeItem.iff
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
call fcn.00402310
mov byte [ebp - 4], 0x59
lea ecx, [ebp - 0x98]
push 0x14
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
push str.saveSpecialPrizeItem
mov dword [ebp - 0x6c], 0x40
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
call fcn.00402310
mov dword [ebp - 4], 0x5a
lea eax, [ebp - 0x98]
push eax
mov edx, str._iff_writer::
mov dword [ebp - 0x6c], 0xc0
lea ecx, [ebp - 0x160]
call fcn.0043d500
add esp, 4
mov dword [ebp - 4], 0x5b
mov edx, eax
push str.__Log__nao_tinha_o_arquivo
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x6c], 0x1c0
call fcn.0043d5b0
add esp, 4
mov dword [ebp - 4], 0x5c
lea ecx, [ebp - 0xb0]
push ecx
mov edx, eax
mov dword [ebp - 0x6c], 0x3c0
lea ecx, [ebp - 0x148]
call fcn.00402700
mov dword [ebp - 4], 0x5d
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x20], esp
mov edx, eax
mov dword [ebp - 0x6c], 0x7c0
push str.__cria_um_novo.
call fcn.0043d5b0
add esp, 4
mov dword [ebp - 4], 0x5e
push 2
mov byte [ebp - 4], 0x5d
mov ecx, esi
call fcn.00443ab0
mov esi, eax
mov dword [ebp - 4], 0x63
call fcn.0043d6c0
mov edi, eax
mov dword [ebp - 0x20], esi
lea esi, [edi + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00443030
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [edi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WakeConditionVariable]
mov dword [ebp - 4], 0x62
mov ebx, 0x7c0
mov dword [ebp - 0x6c], ebx
lea ecx, [ebp - 0x148]
and ebx, 0xfffffbff
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0x61
and ebx, 0xfffffdff
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0x60
and ebx, 0xfffffeff
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0x5f
and ebx, 0xffffff7f
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0xffffffff
and ebx, 0xffffffbf
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 0x14], 0xd
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x24], 6
jmp 0x4976e9
mov ebx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x1c]
mov ax, word [ecx + 0x134]
mov word [ebp - 0x18], ax
mov eax, dword [ecx + 0x134]
lea eax, [eax + eax*2]
lea eax, [eax*4 + 8]
push eax
call fcn.004b54b2
mov ecx, dword [ebp - 0x18]
mov edi, eax
mov edx, dword [ebp - 0x14]
add esp, 4
mov esi, 8
mov dword [edi], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 4], edx
mov ecx, dword [ecx + 0x130]
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
jne 0x497796
lea edx, [edi + 8]
nop word [eax + eax]
movq xmm0, qword [ecx + 0x14]
lea edx, [edx + 0xc]
movq qword [edx - 0xc], xmm0
add esi, 0xc
mov eax, dword [ecx + 0x1c]
mov dword [edx - 4], eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x49777c
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x497778
cmp ecx, dword [eax + 8]
jne 0x497778
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x497768
mov ecx, eax
jmp 0x497790
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
jne 0x497790
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
je 0x497786
cmp byte [ecx + 0xd], 0
je 0x497740
push 0
push 0
push esi
mov esi, dword [ebp - 0x70]
push edi
push esi
call dword [sym.imp.zip.dll_zip_source_buffer]
add esp, 0x14
mov dword [ebp - 0x20], eax
test eax, eax
je 0x497a2a
push 0x2008
push eax
push str.SpecialPrizeItem.iff
push esi
call dword [sym.imp.zip.dll_zip_file_add]
push 0x1c
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
call fcn.004b544c
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x7c], esi
mov dword [ebp - 4], 0x80
lea ecx, [ebp - 0x98]
push 0x14
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
push str.SpecialPrizeItem.iff
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
call fcn.00402310
mov byte [ebp - 4], 0x81
or ebx, 0x1000000
mov dword [ebp - 0x6c], ebx
lea ecx, [ebp - 0xb0]
push 0x14
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
push str.saveSpecialPrizeItem
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
call fcn.00402310
mov dword [ebp - 4], 0x82
lea eax, [ebp - 0xb0]
or ebx, 0x2000000
lea ecx, [ebp - 0x160]
push eax
mov edx, str._iff_writer::
mov dword [ebp - 0x6c], ebx
call fcn.0043d500
add esp, 4
mov dword [ebp - 4], 0x83
or ebx, 0x4000000
push str.__Log__salvo_o_arquivo_source
mov edx, eax
mov dword [ebp - 0x6c], ebx
lea ecx, [ebp - 0x130]
call fcn.0043d5b0
add esp, 4
mov dword [ebp - 4], 0x84
lea ecx, [ebp - 0x98]
push ecx
or ebx, 0x8000000
lea ecx, [ebp - 0x148]
mov edx, eax
mov dword [ebp - 0x6c], ebx
call fcn.00402700
mov dword [ebp - 4], 0x85
sub esp, 0x14
or ebx, 0x10000000
mov ecx, esp
mov dword [ebp - 0x6c], ebx
mov edx, eax
mov dword [ebp - 0x1c], esp
push str._com_sucesso
call fcn.0043d5b0
add esp, 4
mov dword [ebp - 4], 0x86
push 2
mov byte [ebp - 4], 0x85
mov ecx, esi
call fcn.00443ab0
mov esi, eax
mov dword [ebp - 4], 0x8b
call fcn.0043d6c0
mov edi, eax
mov dword [ebp - 0x1c], esi
lea esi, [edi + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00443030
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [edi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WakeConditionVariable]
mov dword [ebp - 4], 0x8a
test ebx, 0x10000000
je 0x497995
and ebx, 0xefffffff
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0x89
test ebx, 0x8000000
je 0x4979b8
and ebx, 0xf7ffffff
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0x88
test ebx, 0x4000000
je 0x4979db
and ebx, 0xfbffffff
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0x87
test ebx, 0x2000000
je 0x4979fe
and ebx, 0xfdffffff
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0xffffffff
test ebx, 0x1000000
je 0x497f51
and ebx, 0xfeffffff
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
jmp 0x497f51
push 0x1c
call fcn.004b544c
mov edi, eax
add esp, 4
mov dword [ebp - 0x7c], edi
mov dword [ebp - 4], 0x64
push esi
call dword [sym.imp.zip.dll_zip_strerror]
mov edx, eax
mov dword [ebp - 0xd0], 0
mov ecx, edx
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
add esp, 4
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
lea eax, [ecx + 1]
mov byte [ebp - 0xd0], 0
mov dword [ebp - 0x1c], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x497a90
sub ecx, dword [ebp - 0x1c]
push ecx
push edx
lea ecx, [ebp - 0xd0]
call fcn.00402310
mov byte [ebp - 4], 0x65
or ebx, 0x800
push esi
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.zip.dll_zip_get_error]
add esp, 4
lea ecx, [ebp - 0x1c0]
mov edx, dword [eax]
call fcn.00403dc0
mov esi, eax
mov dword [ebp - 4], 0x66
or ebx, 0x1000
mov dword [ebp - 0x6c], ebx
lea ecx, [ebp - 0xe8]
push 0x12
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
push str.data_pangya_gb.iff
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0xf
mov byte [ebp - 0xe8], 0
call fcn.00402310
mov dword [ebp - 4], 0x67
or ebx, 0x2000
mov dword [ebp - 0x6c], ebx
lea ecx, [ebp - 0x98]
push 0x14
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
push str.SpecialPrizeItem.iff
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
call fcn.00402310
mov dword [ebp - 4], 0x68
or ebx, 0x4000
mov dword [ebp - 0x6c], ebx
lea ecx, [ebp - 0xb0]
push 0x14
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
push str.saveSpecialPrizeItem
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
call fcn.00402310
mov dword [ebp - 4], 0x69
lea eax, [ebp - 0xb0]
or ebx, 0x8000
lea ecx, [ebp - 0x1a8]
push eax
mov edx, str._iff_writer::
mov dword [ebp - 0x6c], ebx
call fcn.0043d500
add esp, 4
mov dword [ebp - 4], 0x6a
or ebx, 0x10000
push str.__Error__nao_conseguiu_adicionar_o_arquivo
mov edx, eax
mov dword [ebp - 0x6c], ebx
lea ecx, [ebp - 0x190]
call fcn.0043d5b0
add esp, 4
mov dword [ebp - 4], 0x6b
or ebx, 0x20000
mov dword [ebp - 0x6c], ebx
lea ecx, [ebp - 0x98]
mov edx, eax
push ecx
lea ecx, [ebp - 0x178]
call fcn.00402700
add esp, 4
mov dword [ebp - 4], 0x6c
or ebx, 0x40000
push str._para_o_arquivo_
mov edx, eax
mov dword [ebp - 0x6c], ebx
lea ecx, [ebp - 0x100]
call fcn.0043d5b0
add esp, 4
mov dword [ebp - 4], 0x6d
lea ecx, [ebp - 0xe8]
push ecx
or ebx, 0x80000
lea ecx, [ebp - 0x118]
mov edx, eax
mov dword [ebp - 0x6c], ebx
call fcn.00402700
add esp, 4
mov dword [ebp - 4], 0x6e
or ebx, 0x100000
push str.._ErrCode:
mov edx, eax
mov dword [ebp - 0x6c], ebx
lea ecx, [ebp - 0x160]
call fcn.0043d5b0
add esp, 4
mov dword [ebp - 4], 0x6f
or ebx, 0x200000
push esi
mov edx, eax
mov dword [ebp - 0x6c], ebx
lea ecx, [ebp - 0x130]
call fcn.00402700
add esp, 4
mov dword [ebp - 4], 0x70
or ebx, 0x400000
push str._ErrMsg:
mov edx, eax
mov dword [ebp - 0x6c], ebx
lea ecx, [ebp - 0x148]
call fcn.0043d5b0
mov dword [ebp - 4], 0x71
sub esp, 0x14
or ebx, 0x800000
lea edx, [ebp - 0xd0]
mov dword [ebp - 0x6c], ebx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edx
mov edx, eax
call fcn.00402700
add esp, 4
mov dword [ebp - 4], 0x72
push 2
mov byte [ebp - 4], 0x71
mov ecx, edi
call fcn.00443ab0
mov esi, eax
mov dword [ebp - 4], 0x7f
call fcn.0043d6c0
mov edi, eax
mov dword [ebp - 0x1c], esi
lea esi, [edi + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00443030
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [edi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WakeConditionVariable]
mov dword [ebp - 4], 0x7e
test ebx, 0x800000
je 0x497da1
and ebx, 0xff7fffff
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0x7d
test ebx, 0x400000
je 0x497dc4
and ebx, 0xffbfffff
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0x7c
test ebx, 0x200000
je 0x497de7
and ebx, 0xffdfffff
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0x7b
test ebx, 0x100000
je 0x497e0a
and ebx, 0xffefffff
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0x7a
test ebx, 0x80000
je 0x497e2d
and ebx, 0xfff7ffff
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0x79
test ebx, 0x40000
je 0x497e50
and ebx, 0xfffbffff
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0x78
test ebx, 0x20000
je 0x497e73
and ebx, 0xfffdffff
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0x77
test ebx, 0x10000
je 0x497e96
and ebx, 0xfffeffff
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0x76
test ebx, 0x8000
je 0x497eb9
and ebx, 0xffff7fff
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0x75
test ebx, 0x4000
je 0x497edc
and ebx, 0xffffbfff
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0x74
test ebx, 0x2000
je 0x497eff
and ebx, 0xffffdfff
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0x73
test ebx, 0x1000
je 0x497f22
and ebx, 0xffffefff
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0xffffffff
test ebx, 0x800
je 0x497f45
and ebx, 0xfffff7ff
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
push dword [ebp - 0x20]
call dword [sym.imp.zip.dll_zip_source_free]
add esp, 4
push dword [ebp - 0x24]
mov esi, dword [ebp - 0x70]
push dword [ebp - 0x28]
push 8
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
push esi
call dword [sym.imp.zip.dll_zip_file_set_external_attributes]
add esp, 0x18
test eax, eax
jns 0x498245
push 0x1c
call fcn.004b544c
mov edi, eax
add esp, 4
mov dword [ebp - 0x7c], edi
mov dword [ebp - 4], 0x8c
push esi
call dword [sym.imp.zip.dll_zip_strerror]
mov edx, eax
mov dword [ebp - 0xe8], 0
mov ecx, edx
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
add esp, 4
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0xf
lea eax, [ecx + 1]
mov byte [ebp - 0xe8], 0
mov dword [ebp - 0x1c], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x497fe0
sub ecx, dword [ebp - 0x1c]
push ecx
push edx
lea ecx, [ebp - 0xe8]
call fcn.00402310
mov byte [ebp - 4], 0x8d
or ebx, 0x20000000
push esi
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.zip.dll_zip_get_error]
add esp, 4
lea ecx, [ebp - 0x130]
mov edx, dword [eax]
call fcn.00403dc0
mov esi, eax
mov dword [ebp - 4], 0x8e
or ebx, 0x40000000
mov dword [ebp - 0x6c], ebx
lea ecx, [ebp - 0xd0]
push 0x14
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
push str.saveSpecialPrizeItem
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
call fcn.00402310
mov dword [ebp - 4], 0x8f
lea eax, [ebp - 0xd0]
or ebx, 0x80000000
lea ecx, [ebp - 0x148]
push eax
mov edx, str._iff_writer::
mov dword [ebp - 0x6c], ebx
call fcn.0043d500
add esp, 4
mov dword [ebp - 4], 0x90
mov edx, eax
push str.__Error__zip_file_set_external_attributes__ErrCode:
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x74], 1
call fcn.0043d5b0
add esp, 4
mov dword [ebp - 4], 0x91
mov edx, eax
push esi
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x74], 3
call fcn.00402700
add esp, 4
mov dword [ebp - 4], 0x92
mov edx, eax
push str._ErrMsg:
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x74], 7
call fcn.0043d5b0
mov dword [ebp - 4], 0x93
sub esp, 0x14
lea edx, [ebp - 0xe8]
mov dword [ebp - 0x1c], esp
mov ecx, esp
mov dword [ebp - 0x74], 0xf
push edx
mov edx, eax
call fcn.00402700
add esp, 4
mov dword [ebp - 4], 0x94
push 2
mov byte [ebp - 4], 0x93
mov ecx, edi
call fcn.00443ab0
mov esi, eax
mov dword [ebp - 4], 0x9b
call fcn.0043d6c0
mov edi, eax
mov dword [ebp - 0x1c], esi
lea esi, [edi + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00443030
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [edi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WakeConditionVariable]
mov dword [ebp - 4], 0x9a
mov esi, 0xf
mov dword [ebp - 0x74], esi
lea ecx, [ebp - 0x1c0]
and esi, 0xfffffff7
mov dword [ebp - 0x74], esi
call fcn.00401770
mov dword [ebp - 4], 0x99
and esi, 0xfffffffb
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x74], esi
call fcn.00401770
mov dword [ebp - 4], 0x98
and esi, 0xfffffffd
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x74], esi
call fcn.00401770
mov dword [ebp - 4], 0x97
and esi, 0xfffffffe
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x74], esi
call fcn.00401770
mov dword [ebp - 4], 0x96
test ebx, ebx
jns 0x4981ff
and ebx, 0x7fffffff
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0x95
test ebx, 0x40000000
je 0x498222
and ebx, 0xbfffffff
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
mov dword [ebp - 4], 0xffffffff
test ebx, 0x20000000
je 0x498245
and ebx, 0xdfffffff
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x6c], ebx
call fcn.00401770
push dword [ebp - 0x70]
call dword [sym.imp.zip.dll_zip_close]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b543e
mov esp, ebp
pop ebp
ret