Function at 0x53d1e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1408
call fcn.005a28e0
mov eax, dword [0x6963f4]
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.00538b90
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0
jne 0x53d234
or eax, 0xffffffff
jmp 0x53db92
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.00538a30
add esp, 0xc
test eax, eax
je 0x53d273
push str.cannot_write_SOC_marker_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 8
or eax, 0xffffffff
jmp 0x53db92
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push edx
call fcn.00538c00
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0
push 0xff51
call fcn.00538b90
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 0
jne 0x53d2b0
or eax, 0xffffffff
jmp 0x53db92
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.00523ea0
add esp, 4
mov edx, dword [ebp - 0x13fc]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0x13fc]
cmp dword [eax + 0x28], 0
jne 0x53d395
push 0x3b3
push 0x68f7e8
push str.siz__comps
call fcn.005a4e08
add esp, 0xc
mov dword [ebp - 0xc], 0
jmp 0x53d3a7
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 0x53d446
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 0x53d39e
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.00538a30
add esp, 0xc
test eax, eax
je 0x53d485
push str.cannot_write_SIZ_marker_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 8
or eax, 0xffffffff
jmp 0x53db92
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
call fcn.00538c00
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], 0
push 0xff64
call fcn.00538b90
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0
jne 0x53d4c2
or eax, 0xffffffff
jmp 0x53db92
call fcn.0054f180
push eax
push str.Creator:_JasPer_Version__s
lea ecx, [ebp - 0x13e8]
push ecx
call fcn.0059e1a7
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.005a3830
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.0052d9a0
add esp, 4
mov edx, dword [ebp - 0x13f4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x13f4]
cmp dword [eax + 4], 0
jne 0x53d538
call fcn.005a56d8
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.00538a30
add esp, 0xc
test eax, eax
je 0x53d577
push str.cannot_write_COM_marker_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 8
or eax, 0xffffffff
jmp 0x53db92
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push edx
call fcn.00538c00
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 0x53d5b6
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 0x53d7a0
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.00547ff0
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.00547550
add esp, 0x18
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.005470e0
add esp, 4
movzx edx, word [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 6]
push ecx
call fcn.0054a070
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 0x53d67d
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 0x53d77f
movzx eax, word [ebp - 4]
test eax, eax
je 0x53d6b2
movzx eax, word [ebp - 4]
sub eax, 1
cdq
mov ecx, 3
idiv ecx
add eax, 1
mov dword [ebp - 0x1404], eax
jmp 0x53d6bc
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.00542580
add esp, 0x10
mov word [ebp - 0x10], ax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0
jne 0x53d72c
movzx ecx, word [ebp - 0x10]
add ecx, 1
mov eax, 1
shl eax, cl
shl eax, 0xd
cdq
mov cl, 0xd
call fcn.005a7730
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.005a7900
mov dword [ebp - 0x13ec], eax
jmp 0x53d736
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.0053dbb0
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 0x53d668
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 0x53d5aa
push 0xff52
call fcn.00538b90
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0
jne 0x53d7c4
or eax, 0xffffffff
jmp 0x53db92
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 0x53d8d9
mov word [ebp - 0x3c], 0
jmp 0x53d89c
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 0x53d8d9
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 0x53d890
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.00538a30
add esp, 0xc
test eax, eax
je 0x53d918
push str.cannot_write_COD_marker_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 8
or eax, 0xffffffff
jmp 0x53db92
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
call fcn.00538c00
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], 0
push 0xff5c
call fcn.00538b90
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0
jne 0x53d955
or eax, 0xffffffff
jmp 0x53db92
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.00538a30
add esp, 0xc
test eax, eax
je 0x53d9ce
or eax, 0xffffffff
jmp 0x53db92
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 8], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
call fcn.00538c00
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 0x53da0e
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 0x53db07
push 0xff5d
call fcn.00538b90
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 0
jne 0x53da45
or eax, 0xffffffff
jmp 0x53db92
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.00538a30
add esp, 0xc
test eax, eax
je 0x53dadf
or eax, 0xffffffff
jmp 0x53db92
mov edx, dword [ebp - 0x38]
mov dword [edx + 0xc], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
push ecx
call fcn.00538c00
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], 0
jmp 0x53da02
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 0x53db86
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 0x53db6e
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 0x53db78
mov dword [ebp - 0x1408], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 0x18], ecx
jmp 0x53db90
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.0059e0c2
mov esp, ebp
pop ebp
ret