Function at 0x450860
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [edx + 0x408], 0
push ebx
push esi
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], str.2023_N_Project
je 0x450d9c
mov al, byte [edx]
cmp al, 0x18
je 0x450891
cmp al, 0x20
jne 0x450d9c
cmp word [edx + 2], 0
je 0x450d9c
cmp word [edx + 4], 0
je 0x450d9c
sub esp, 8
call fcn.004548e0
mov esi, eax
add esp, 8
mov dword [ebp - 0xc], esi
test esi, esi
je 0x450d9c
mov eax, dword [esi + 0x254]
push 0x10c
test eax, eax
je 0x4508d6
push esi
call eax
add esp, 8
jmp 0x4508de
call fcn.004849cb
add esp, 4
mov edi, eax
test edi, edi
je 0x4508f4
push 0x10c
push 0
push edi
call fcn.0047ebc0
add esp, 0xc
mov dword [ebp - 8], edi
test edi, edi
jne 0x45090e
xor edx, edx
lea ecx, [ebp - 0xc]
call fcn.00454cf0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x450a26
mov dword [esi + 0x48], ecx
mov dword [esi + 0x44], esi
mov dword [esi + 0x40], 0x4c09d7
mov eax, dword [esi + 0x44]
push 0
push eax
call fcn.004c52f0
add esp, 8
test eax, eax
jne 0x450d91
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0xc]
movzx eax, word [esi + 2]
mov ecx, eax
shl ecx, 2
mov dword [ebp - 0x10], ecx
mov ecx, eax
test edi, edi
je 0x45095e
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x60], eax
movzx ecx, word [esi + 2]
movzx eax, word [esi + 4]
mov edx, dword [ebp - 8]
push 0
push 0
push 0
push 6
push 8
push eax
movzx eax, cx
mov ecx, edi
push eax
call fcn.00455f90
mov edx, dword [ebp - 0x14]
add esp, 0x1c
test edx, edx
je 0x450a6c
mov ecx, edx
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x450990
sub ecx, ebx
je 0x450a6c
mov ebx, edx
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x4509a4
push 9
sub ebx, ecx
mov dword [ebp - 0x3c], 0xffffffff
call fcn.004849cb
movq xmm0, qword [str.Copyright]
add esp, 4
mov dword [ebp - 0x38], eax
movq qword [eax], xmm0
mov cl, byte [0x4f1d14]
push ebx
mov byte [eax + 8], cl
call fcn.004849cb
add esp, 4
mov dword [ebp - 0x34], eax
push ebx
push dword [ebp - 0x14]
push eax
call fcn.004803e0
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x3c]
add esp, 8
mov dword [ebp - 0x30], 0
mov ecx, edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push eax
call fcn.00456760
add esp, 8
test eax, eax
jne 0x450da5
jmp 0x450a56
mov eax, dword [esi + 0x48]
test eax, eax
jne 0x450a3a
mov eax, 0x40
cmp ecx, esi
jne 0x450db1
cmp eax, 0x40
je 0x45091f
mov edx, str.Application_jmp_buf_size_changed
mov ecx, esi
call fcn.00454fe0
xor eax, eax
jmp 0x450929
push dword [ebp - 0x38]
call fcn.00484918
add esp, 4
push dword [ebp - 0x34]
call fcn.00484918
add esp, 4
movzx eax, word [esi + 4]
shl eax, 2
test edi, edi
je 0x450d91
test eax, eax
je 0x450dbd
mov ecx, dword [edi + 0x254]
push eax
test ecx, ecx
je 0x450a9b
push edi
call ecx
mov ebx, eax
add esp, 8
mov dword [ebp - 4], ebx
jmp 0x450aa8
call fcn.004849cb
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
test ebx, ebx
je 0x450dbd
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x450ae5
mov eax, dword [ecx + 0x108]
test eax, eax
je 0x450ad8
cmp eax, ebx
je 0x450ad8
push 0
mov edx, ecx
mov ecx, edi
push 0x40
call fcn.004579b0
mov ecx, dword [ebp - 8]
add esp, 8
or dword [ecx + 8], 0x8000
mov dword [ecx + 0x108], ebx
movzx eax, word [esi + 4]
shl eax, 2
push eax
push 0
push ebx
call fcn.0047ebc0
movzx eax, word [esi + 4]
xor ecx, ecx
add esp, 0xc
xor ebx, ebx
mov edx, eax
cmp cx, ax
jae 0x450b51
nop word [eax + eax]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x450dbd
mov eax, dword [edi + 0x254]
push ecx
test eax, eax
je 0x450b2e
push edi
call eax
add esp, 8
jmp 0x450b36
call fcn.004849cb
add esp, 4
test eax, eax
je 0x450dbd
mov ecx, dword [ebp - 4]
mov dword [ecx + ebx*4], eax
inc ebx
movzx eax, word [esi + 4]
mov edx, eax
cmp ebx, eax
jl 0x450b10
jmp 0x450b54
mov ecx, dword [ebp - 4]
movzx ebx, dx
xor eax, eax
mov dl, byte [esi]
cmp dl, 0x18
je 0x450bf2
cmp dl, 0x20
jne 0x450c6c
xor edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], edx
cmp ax, bx
jae 0x450beb
movzx edi, word [esi + 2]
nop
mov edx, dword [ecx + edx*4]
xor ebx, ebx
xor ecx, ecx
cmp cx, di
jae 0x450bd6
nop dword [eax]
mov ecx, dword [esi + 0x408]
lea edx, [edx + 4]
inc ebx
movzx ecx, byte [eax + ecx]
mov byte [edx - 4], cl
mov ecx, dword [esi + 0x408]
movzx ecx, byte [eax + ecx + 1]
mov byte [edx - 3], cl
mov ecx, dword [esi + 0x408]
movzx ecx, byte [eax + ecx + 2]
mov byte [edx - 2], cl
mov ecx, dword [esi + 0x408]
movzx ecx, byte [eax + ecx + 3]
add eax, 4
mov byte [edx - 1], cl
movzx edi, word [esi + 2]
cmp ebx, edi
jl 0x450b90
mov edx, dword [ebp - 0x10]
movzx ecx, word [esi + 4]
inc edx
cmp edx, ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 4]
jl 0x450b80
mov edi, dword [ebp - 0xc]
push str.PNG_Export32bpp_n
jmp 0x450c66
xor edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], edx
cmp ax, bx
jae 0x450c61
movzx edi, word [esi + 2]
mov edx, dword [ecx + edx*4]
xor ebx, ebx
xor ecx, ecx
cmp cx, di
jae 0x450c4c
nop
mov ecx, dword [esi + 0x408]
lea edx, [edx + 4]
inc ebx
movzx ecx, byte [eax + ecx]
mov byte [edx - 4], cl
mov ecx, dword [esi + 0x408]
movzx ecx, byte [eax + ecx + 1]
mov byte [edx - 3], cl
mov ecx, dword [esi + 0x408]
movzx ecx, byte [eax + ecx + 2]
add eax, 3
mov byte [edx - 2], cl
mov byte [edx - 1], 0xff
movzx edi, word [esi + 2]
cmp ebx, edi
jl 0x450c10
mov edx, dword [ebp - 0x10]
movzx ecx, word [esi + 4]
inc edx
cmp edx, ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 4]
jl 0x450c03
mov edi, dword [ebp - 0xc]
push str.PNG_Export24bpp_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x450d10
test dword [ebx + 8], 0x8000
mov ecx, edi
jne 0x450c9b
test dword [edi + 0x78], 0x400000
mov edx, str.no_rows_for_png_write_image_to_write
je 0x450db8
call fcn.00454fe0
jmp 0x450d10
mov edx, ebx
call fcn.004540c0
cmp byte [edi + 0x14c], 0
mov ecx, dword [ebx + 0x108]
mov dword [ebp - 0x20], ecx
je 0x450cbf
or dword [edi + 0x7c], 2
mov eax, 7
jmp 0x450cc4
mov eax, 1
mov dword [ebp - 0x10], eax
nop word [eax + eax]
xor ebx, ebx
mov esi, ecx
cmp dword [edi + 0x104], ebx
jbe 0x450cfb
nop dword [eax]
mov edx, dword [esi]
mov ecx, edi
call fcn.004549a0
inc ebx
lea esi, [esi + 4]
cmp ebx, dword [edi + 0x104]
jb 0x450ce0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
sub eax, 1
mov dword [ebp - 0x10], eax
jne 0x450cd0
mov edx, dword [ebp - 8]
mov ecx, edi
call fcn.004546b0
mov esi, dword [ebp - 0x18]
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 4]
jae 0x450d4e
nop word [eax + eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x450d45
mov ecx, dword [edi + 0x258]
push eax
test ecx, ecx
je 0x450d3d
push edi
call ecx
add esp, 8
jmp 0x450d45
call fcn.00484918
add esp, 4
movzx eax, word [esi + 4]
inc ebx
cmp ebx, eax
jl 0x450d20
mov eax, dword [edi + 0x258]
push dword [ebp - 4]
test eax, eax
je 0x450d75
push edi
call eax
add esp, 8
lea edx, [ebp - 8]
lea ecx, [ebp - 0xc]
call fcn.00454cf0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00484918
add esp, 4
lea edx, [ebp - 8]
lea ecx, [ebp - 0xc]
call fcn.00454cf0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 8]
lea ecx, [ebp - 0xc]
call fcn.00454cf0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, str.Insufficient_memory_to_store_text
mov ecx, edi
call fcn.00454e90
mov edx, str.Libpng_jmp_buf_still_allocated
mov ecx, esi
call fcn.00454e90
mov edx, str.Out_of_memory
mov ecx, edi
call fcn.00454e90
int3