Function at 0x544bc0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1408
call fcn.005aa170
mov eax, dword [0x69e3d4]
xor eax, ebp
mov dword [ebp - 0xfe4], eax
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x18], ecx
push 0xff4f
call fcn.00540570
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0
jne 0x544c14
or eax, 0xffffffff
jmp 0x545572
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.00540410
add esp, 0xc
test eax, eax
je 0x544c53
push str.cannot_write_SOC_marker_n
call fcn.005a9da0
add eax, 0x40
push eax
call fcn.005a6c55
add esp, 8
or eax, 0xffffffff
jmp 0x545572
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push edx
call fcn.005405e0
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0
push 0xff51
call fcn.00540570
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 0
jne 0x544c90
or eax, 0xffffffff
jmp 0x545572
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
add ecx, 8
mov dword [ebp - 0x13fc], ecx
mov edx, dword [ebp - 0x13fc]
mov word [edx], 0
mov eax, dword [ebp - 0x13fc]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x13fc]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x13fc]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x13fc]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x13fc]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x13fc]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x13fc]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x13fc]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x13fc]
mov ecx, dword [ebp - 8]
mov dx, word [ecx + 0x30]
mov word [eax + 0x24], dx
mov eax, dword [ebp - 0x13fc]
movzx ecx, word [eax + 0x24]
shl ecx, 2
push ecx
call fcn.0052b880
add esp, 4
mov edx, dword [ebp - 0x13fc]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0x13fc]
cmp dword [eax + 0x28], 0
jne 0x544d75
push 0x3b3
push 0x697808
push str.siz__comps
call fcn.005ac698
add esp, 0xc
mov dword [ebp - 0xc], 0
jmp 0x544d87
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0x30]
cmp dword [ebp - 0xc], ecx
jge 0x544e26
mov edx, dword [ebp - 0xc]
imul edx, edx, 0xd8
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x34]
mov eax, dword [ebp - 0x13fc]
mov eax, dword [eax + 0x28]
mov esi, dword [ebp - 0xc]
mov cl, byte [ecx + edx + 4]
mov byte [eax + esi*4], cl
mov edx, dword [ebp - 0xc]
imul edx, edx, 0xd8
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x34]
mov eax, dword [ebp - 0x13fc]
mov eax, dword [eax + 0x28]
mov esi, dword [ebp - 0xc]
mov cl, byte [ecx + edx + 8]
mov byte [eax + esi*4 + 1], cl
mov edx, dword [ebp - 0xc]
imul edx, edx, 0xd8
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x34]
mov eax, dword [ebp - 0x13fc]
mov eax, dword [eax + 0x28]
mov esi, dword [ebp - 0xc]
mov cl, byte [edx + ecx]
mov byte [eax + esi*4 + 2], cl
mov edx, dword [ebp - 0xc]
imul edx, edx, 0xd8
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x34]
mov eax, dword [ebp - 0x13fc]
mov eax, dword [eax + 0x28]
mov esi, dword [ebp - 0xc]
mov cl, byte [ecx + edx + 1]
mov byte [eax + esi*4 + 3], cl
jmp 0x544d7e
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call fcn.00540410
add esp, 0xc
test eax, eax
je 0x544e65
push str.cannot_write_SIZ_marker_n
call fcn.005a9da0
add eax, 0x40
push eax
call fcn.005a6c55
add esp, 8
or eax, 0xffffffff
jmp 0x545572
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
call fcn.005405e0
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], 0
push 0xff64
call fcn.00540570
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0
jne 0x544ea2
or eax, 0xffffffff
jmp 0x545572
call fcn.00556b60
push eax
push str.Creator:_JasPer_Version__s
lea ecx, [ebp - 0x13e8]
push ecx
call fcn.005a5a2e
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
add eax, 8
mov dword [ebp - 0x13f4], eax
lea ecx, [ebp - 0x13e8]
push ecx
call fcn.005ab0c0
add esp, 4
mov edx, dword [ebp - 0x13f4]
mov word [edx + 2], ax
mov eax, dword [ebp - 0x13f4]
mov word [eax], 1
lea ecx, [ebp - 0x13e8]
push ecx
call fcn.00535380
add esp, 4
mov edx, dword [ebp - 0x13f4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x13f4]
cmp dword [eax + 4], 0
jne 0x544f18
call fcn.005acf68
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.00540410
add esp, 0xc
test eax, eax
je 0x544f57
push str.cannot_write_COM_marker_n
call fcn.005a9da0
add eax, 0x40
push eax
call fcn.005a6c55
add esp, 8
or eax, 0xffffffff
jmp 0x545572
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push edx
call fcn.005405e0
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 8]
add ecx, 0x38
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 8]
add edx, 0x48
mov dword [ebp - 0x34], edx
mov word [ebp - 0x30], 0
jmp 0x544f96
mov ax, word [ebp - 0x30]
add ax, 1
mov word [ebp - 0x30], ax
movzx ecx, word [ebp - 0x30]
mov edx, dword [ebp - 8]
movzx eax, word [edx + 0x30]
cmp ecx, eax
jge 0x545180
mov ecx, dword [ebp - 0x34]
movzx edx, byte [ecx + 1]
sub edx, 1
push edx
mov eax, dword [ebp - 0x34]
movzx ecx, byte [eax + 7]
push ecx
call fcn.0054f9d0
add esp, 8
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0xfe0]
push edx
mov eax, dword [ebp - 0x34]
movzx ecx, byte [eax + 1]
mov edx, 1
shl edx, cl
push edx
mov eax, dword [ebp - 0x34]
movzx ecx, byte [eax + 1]
mov edx, 1
shl edx, cl
push edx
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
call fcn.0054ef30
add esp, 0x18
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0054eac0
add esp, 4
movzx edx, word [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 6]
push ecx
call fcn.00551a50
add esp, 8
mov dword [ebp - 0x13f8], eax
mov edx, dword [ebp - 0x34]
movzx eax, byte [edx + 1]
imul eax, eax, 3
sub eax, 2
mov word [ebp - 0x13f0], ax
mov word [ebp - 4], 0
lea ecx, [ebp - 0xfe0]
mov dword [ebp - 0x14], ecx
jmp 0x54505d
mov dx, word [ebp - 4]
add dx, 1
mov word [ebp - 4], dx
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
movzx ecx, word [ebp - 4]
movzx edx, word [ebp - 0x13f0]
cmp ecx, edx
jge 0x54515f
movzx eax, word [ebp - 4]
test eax, eax
je 0x545092
movzx eax, word [ebp - 4]
sub eax, 1
cdq
mov ecx, 3
idiv ecx
add eax, 1
mov dword [ebp - 0x1404], eax
jmp 0x54509c
mov dword [ebp - 0x1404], 0
mov dx, word [ebp - 0x1404]
mov word [ebp - 0x3c], dx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
movzx edx, word [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x34]
movzx ecx, byte [eax + 1]
push ecx
mov edx, dword [ebp - 0x34]
movzx eax, byte [edx + 7]
push eax
call fcn.00549f60
add esp, 0x10
mov word [ebp - 0x10], ax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0
jne 0x54510c
movzx ecx, word [ebp - 0x10]
add ecx, 1
mov eax, 1
shl eax, cl
shl eax, 0xd
cdq
mov cl, 0xd
call fcn.005aefc0
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x24]
cdq
push edx
push eax
push esi
push ecx
call fcn.005af190
mov dword [ebp - 0x13ec], eax
jmp 0x545116
mov dword [ebp - 0x13ec], 0x2000
movzx eax, word [ebp - 0x30]
imul eax, eax, 0xd8
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x34]
movzx eax, byte [edx + eax + 4]
movzx ecx, word [ebp - 0x10]
add eax, ecx
push eax
mov edx, dword [ebp - 0x13ec]
push edx
call fcn.00545590
add esp, 8
movzx ecx, word [ebp - 0x30]
imul ecx, ecx, 0xd8
mov edx, dword [ebp - 8]
add ecx, dword [edx + 0x34]
movzx edx, word [ebp - 4]
mov word [ecx + edx*2 + 0xe], ax
jmp 0x545048
movzx eax, word [ebp - 0x30]
imul eax, eax, 0xd8
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x34]
mov cx, word [ebp - 0x13f0]
mov word [edx + eax + 0xc], cx
jmp 0x544f8a
push 0xff52
call fcn.00540570
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0
jne 0x5451a4
or eax, 0xffffffff
jmp 0x545572
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
add edx, 8
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x48]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x3c]
or ecx, eax
mov edx, dword [ebp - 0x2c]
mov byte [edx], cl
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x48]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x3c]
or ecx, eax
mov edx, dword [ebp - 0x2c]
mov byte [edx + 8], cl
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x49]
sub ecx, 1
mov edx, dword [ebp - 0x2c]
mov byte [edx + 9], cl
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x49]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x10], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + 0x3d]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
mov dx, word [ecx + 0x40]
mov word [eax + 2], dx
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0x4a]
sub ecx, 2
mov edx, dword [ebp - 0x2c]
mov byte [edx + 0xa], cl
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0x4c]
sub ecx, 2
mov edx, dword [ebp - 0x2c]
mov byte [edx + 0xb], cl
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + 0x4e]
mov byte [eax + 0xc], dl
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + 0x4f]
mov byte [eax + 0xd], dl
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x3e]
neg ecx
sbb ecx, ecx
neg ecx
mov edx, dword [ebp - 0x2c]
mov byte [edx + 4], cl
mov eax, dword [ebp - 0x34]
movzx ecx, byte [eax]
and ecx, 1
je 0x5452b9
mov word [ebp - 0x3c], 0
jmp 0x54527c
mov dx, word [ebp - 0x3c]
add dx, 1
mov word [ebp - 0x3c], dx
movzx eax, word [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
movzx edx, byte [ecx + 1]
cmp eax, edx
jge 0x5452b9
movzx eax, word [ebp - 0x3c]
movzx ecx, word [ebp - 0x3c]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
mov al, byte [esi + eax*2 + 8]
mov byte [edx + ecx*2 + 0x14], al
movzx ecx, word [ebp - 0x3c]
movzx edx, word [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
mov cl, byte [esi + ecx*2 + 0x4a]
mov byte [eax + edx*2 + 0x15], cl
jmp 0x545270
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call fcn.00540410
add esp, 0xc
test eax, eax
je 0x5452f8
push str.cannot_write_COD_marker_n
call fcn.005a9da0
add eax, 0x40
push eax
call fcn.005a6c55
add esp, 8
or eax, 0xffffffff
jmp 0x545572
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
call fcn.005405e0
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], 0
push 0xff5c
call fcn.00540570
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0
jne 0x545335
or eax, 0xffffffff
jmp 0x545572
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
add edx, 8
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x34]
movzx ecx, byte [eax + 7]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 2
mov edx, dword [ebp - 0x28]
mov byte [edx], cl
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x34]
movzx edx, word [ecx + 0xc]
mov eax, dword [ebp - 0x28]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
mov al, byte [edx + 0xd4]
mov byte [ecx + 0xc], al
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x34]
add edx, 0xe
mov eax, dword [ebp - 0x28]
mov dword [eax + 8], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.00540410
add esp, 0xc
test eax, eax
je 0x5453ae
or eax, 0xffffffff
jmp 0x545572
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 8], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
call fcn.005405e0
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 8]
add edx, 0x48
mov dword [ebp - 0x34], edx
mov word [ebp - 0x30], 1
jmp 0x5453ee
mov ax, word [ebp - 0x30]
add ax, 1
mov word [ebp - 0x30], ax
movzx ecx, word [ebp - 0x30]
mov edx, dword [ebp - 8]
movzx eax, word [edx + 0x30]
cmp ecx, eax
jge 0x5454e7
push 0xff5d
call fcn.00540570
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 0
jne 0x545425
or eax, 0xffffffff
jmp 0x545572
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
add ecx, 8
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov ax, word [ebp - 0x30]
mov word [edx], ax
mov ecx, dword [ebp - 0x34]
movzx edx, byte [ecx + 7]
neg edx
sbb edx, edx
and edx, 0xfffffffe
add edx, 2
mov eax, dword [ebp - 0x38]
mov byte [eax + 4], dl
movzx ecx, word [ebp - 0x30]
imul ecx, ecx, 0xd8
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x34]
movzx ecx, word [eax + ecx + 0xc]
mov edx, dword [ebp - 0x38]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + 0xd4]
mov byte [eax + 0x10], dl
movzx eax, word [ebp - 0x30]
imul eax, eax, 0xd8
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x34]
lea eax, [edx + eax + 0xe]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call fcn.00540410
add esp, 0xc
test eax, eax
je 0x5454bf
or eax, 0xffffffff
jmp 0x545572
mov edx, dword [ebp - 0x38]
mov dword [edx + 0xc], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
push ecx
call fcn.005405e0
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], 0
jmp 0x5453e2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x3c]
sub edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
add ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp dword [ecx + 0xd8], 0xffffffff
je 0x545566
mov edx, dword [ebp - 0x24]
add edx, 2
mov dword [ebp - 0x1400], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0xd8]
cmp edx, dword [ebp - 0x1400]
jb 0x54554e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0xd8]
sub edx, dword [ebp - 0x1400]
mov dword [ebp - 0x1408], edx
jmp 0x545558
mov dword [ebp - 0x1408], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 0x18], ecx
jmp 0x545570
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0xffffffff
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xfe4]
xor ecx, ebp
call fcn.005a58d9
mov esp, ebp
pop ebp
ret