Function at 0x439640
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x47af2b
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x536400]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x64]
push esi
xor ebx, ebx
push 0x10
push ebx
push ebx
mov ecx, ebp
mov byte [eax], 0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0043a2e0
mov edi, eax
cmp edi, ebx
jne 0x4396ad
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push str.Failed_to_read_Zip__11_
mov ecx, esi
call eax
jmp 0x439d52
mov eax, dword [edi]
cmp eax, 0x4034b50
je 0x439792
cmp eax, 0x2014b50
je 0x439792
cmp eax, 0x6054b50
je 0x439792
mov eax, dword [edi + 4]
add edi, 4
cmp eax, 0x4034b50
je 0x439786
cmp eax, 0x2014b50
je 0x439786
cmp eax, 0x6054b50
je 0x439786
mov eax, dword [edi + 4]
add edi, 4
cmp eax, 0x4034b50
je 0x43977c
cmp eax, 0x2014b50
je 0x43977c
cmp eax, 0x6054b50
je 0x43977c
mov eax, dword [edi + 4]
add edi, 4
cmp eax, 0x4034b50
je 0x439772
cmp eax, 0x2014b50
je 0x439772
cmp eax, 0x6054b50
je 0x439772
push 0x4034b50
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], 1
call fcn.0043a170
mov edi, eax
cmp edi, ebx
jne 0x439792
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push str.Zip_file_is_corrupt__1_
mov ecx, esi
call eax
mov ecx, ebp
call fcn.0043a010
jmp 0x439d52
mov dword [esp + 0x1c], 0xc
jmp 0x43978e
mov dword [esp + 0x1c], 8
jmp 0x43978e
mov dword [esp + 0x1c], 4
mov dword [esp + 0x20], ebx
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
push 1
push str.ZipStructure
mov ecx, esi
call eax
mov eax, dword [edi]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
push eax
push str.FirstSignature
mov ecx, esi
call edx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push ecx
push edx
push str.FirstSigAddr
mov ecx, esi
call eax
cmp byte [esp + 0x80], bl
je 0x4397e4
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
push 1
push str.LocalFileHeaders
mov ecx, esi
call eax
mov eax, dword [edi]
cmp eax, 0x4034b50
je 0x43982c
cmp eax, 0x2014b50
je 0x439820
cmp eax, 0x6054b50
je 0x439820
add dword [esp + 0x14], 1
push 0x2014b50
push 0x4034b50
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.0043a220
mov edi, eax
test edi, edi
je 0x4398d0
cmp dword [edi], 0x4034b50
jne 0x4398da
push 0x120
call fcn.00462aa2
add esp, 4
mov dword [esp + 0x68], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x5c], edi
je 0x439850
mov ecx, eax
call fcn.00435db0
mov edi, eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x14]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x24]
push esi
push edi
lea edx, [esp + 0x30]
push edx
push ebp
mov dword [esp + 0x78], 0xffffffff
call fcn.004386e0
test al, al
je 0x439d28
mov ecx, dword [esp + 0x6c]
push edi
call fcn.0041df50
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push esi
push 4
push eax
push ecx
mov ecx, ebp
add ebx, 1
call fcn.0043a2e0
mov edi, eax
test edi, edi
jne 0x4397e4
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push ecx
push edx
push str.curAddr64
mov ecx, esi
call eax
push str.Failed_to_read_Zip__10_
jmp 0x439d2d
push str.Zip_file_is_corrupt__2_
jmp 0x439d2d
cmp byte [esp + 0x80], 0
je 0x4398ed
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
push ebx
push str.NumFileHeaders
mov ecx, esi
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
push eax
push ecx
push str.CentralDirAddr
mov ecx, esi
call edx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push esi
push 4
push ecx
mov dword [esp + 0x34], ecx
push eax
mov ecx, ebp
mov dword [esp + 0x34], eax
call fcn.0043a2e0
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x439954
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push str.Failed_to_read_Zip__12_
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
jmp 0x439d52
cmp byte [esp + 0x80], 0
mov dword [esp + 0x68], ebx
je 0x439972
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
push 1
push str.CentralDirectory
mov ecx, esi
call edx
cmp dword [edi], 0x2014b50
jne 0x4399e0
lea ebx, [ebx]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
push eax
push ecx
mov ecx, dword [esp + 0x74]
push edx
push esi
lea eax, [esp + 0x78]
push eax
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x34]
push edx
push ebp
call fcn.00439190
test al, al
je 0x439d36
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push esi
push 4
push eax
push ecx
mov ecx, ebp
add ebx, 1
call fcn.0043a2e0
test eax, eax
je 0x439b18
add dword [esp + 0x68], 1
cmp dword [eax], 0x2014b50
je 0x439980
cmp byte [esp + 0x80], 0
je 0x4399f3
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
push ebx
push str.NumCentralDirRecords
mov ecx, esi
call eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sbb ecx, dword [esp + 0x28]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
push ecx
push eax
push str.CentralDirSize
mov ecx, esi
call edx
lea ecx, [esp + 0x2c]
call fcn.00420130
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push esi
push 4
push eax
push ecx
mov ecx, ebp
call fcn.0043a2e0
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
mov edi, eax
mov eax, dword [edi]
push eax
push str.PeekSig1
mov ecx, esi
call edx
cmp dword [edi], 0x6064b50
jne 0x439aa4
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Processing_Zip64_End_of_Central_Dir_Record
mov ecx, esi
call edx
push esi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push ebp
call fcn.00438f40
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push esi
push 4
push edx
push eax
mov ecx, ebp
call fcn.0043a2e0
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
mov edi, eax
mov eax, dword [edi]
push eax
push str.PeekSig2
mov ecx, esi
call edx
cmp dword [edi], 0x7064b50
jne 0x439aca
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Processing_Zip64_End_of_Central_Dir_Locator
mov ecx, esi
call edx
mov ecx, dword [esp + 0x18]
push esi
lea eax, [esp + 0x20]
push eax
push ebp
call fcn.004390c0
mov bl, byte [esp + 0x80]
test bl, bl
je 0x439aed
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
push eax
push ecx
push str.EndOfDirAddr
mov ecx, esi
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push esi
push 0x16
push eax
push ecx
mov ecx, ebp
call fcn.0043a2e0
test eax, eax
jne 0x439b22
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push str.Failed_to_get_end_of_directory_record.
mov ecx, esi
call eax
jmp 0x439d49
push str.Failed_to_read_Zip__13_
jmp 0x439d2d
add dword [esp + 0x1c], 0x16
mov edi, dword [esp + 0x74]
push eax
adc dword [esp + 0x24], 0
mov ecx, edi
call fcn.0041f890
mov eax, dword [esp + 0x38]
test eax, eax
je 0x439b43
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x439b4e
mov dword [edi + 8], eax
cmp dword [edi], 0x6054b50
jne 0x439cfc
test bl, bl
je 0x439c13
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
push 1
push str.EndOfDir
mov ecx, esi
call eax
mov eax, dword [edi]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
push eax
push str.signature
mov ecx, esi
call edx
movzx ecx, word [edi + 4]
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ecx
push str.diskNum
mov ecx, esi
call edx
movzx ecx, word [edi + 6]
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ecx
push str.dirDiskNum
mov ecx, esi
call edx
mov ecx, dword [edi + 8]
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ecx
push str.numDirEntriesOnDisk
mov ecx, esi
call edx
mov ecx, dword [edi + 0xc]
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ecx
push str.numDirEntries
mov ecx, esi
call edx
mov ecx, dword [edi + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ecx
push str.dirSize
mov ecx, esi
call edx
mov ebx, dword [esi]
mov ecx, edi
add ebx, 0x34
call fcn.0041f240
push eax
mov eax, dword [ebx]
push str.dirOffset
mov ecx, esi
call eax
movzx eax, word [edi + 0x14]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
push eax
push str.commentLen
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
movzx eax, word [edi + 0x14]
test ax, ax
je 0x439cdc
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push esi
movzx eax, ax
push eax
push ecx
push edx
mov ecx, ebp
call fcn.0043a2e0
mov ebx, eax
test ebx, ebx
je 0x439cdc
mov ebp, dword [esp + 0x70]
mov ecx, ebp
call fcn.00408220
movzx eax, word [edi + 0x14]
push eax
push ebx
mov ecx, ebp
call fcn.004087a0
mov ecx, ebp
call fcn.0040a520
push eax
push str.zipFileComment
mov ecx, esi
call fcn.00431870
mov eax, dword [esp + 0x78]
cmp eax, 0x1b5
mov dword [esp + 0x80], eax
jne 0x439c89
mov dword [esp + 0x80], 0x4e4
mov eax, dword [esp + 0x80]
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
push eax
push str.commentCodePage
mov ecx, esi
call edx
mov eax, dword [esp + 0x80]
push 0xfde9
push eax
mov ecx, ebp
call fcn.00409980
mov ecx, ebp
call fcn.0040a510
test eax, eax
jne 0x439cdc
movzx ecx, word [edi + 0x14]
push ecx
push ebx
mov ecx, ebp
call fcn.004087a0
push 0xfde9
push 0x1b5
mov ecx, ebp
call fcn.00409980
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
push eax
push str.scanCount
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
mov al, 1
jmp 0x439d54
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.End_of_Dir_signature_is_unexpected.
mov ecx, esi
call edx
mov ecx, dword [edi]
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ecx
push str.signature
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
mov al, 1
jmp 0x439d54
push str.Failed_to_read_Zip__9_
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
cmp byte [esp + 0x80], 0
je 0x439d49
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
xor al, al
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x20